Re: App loading speed

2010-04-14 Thread Stephen Price
Know what you mean there. I was implementing Prism by looking at the source code and writing my own bits with the same names that they used in Prism. Prism was in alpha at the time. Switching over was fairly easy (mainly because of my choice of copying that which we ended up using.) Heck, it's all

RE: App loading speed

2010-04-14 Thread Greg Keogh
Stephen, Prism would divert and solve my whole loading problem. Trouble is that I started this app when Prism was still in nappies and I decided to write my own mini-CAB which used the View-Controller pattern. I spent several weeks writing a demo in CAB and it was monstrous overkill for a team of o

Re: App loading speed

2010-04-13 Thread Stephen Price
Another option is to look at Prism. We're using that. Shell downloads and then modules download as required or when available (after the initial shell has downloaded). It comes with some other stuff such as publish/subscribe to enable communication between parts of the app. Its more a pattern than

RE: App loading speed

2010-04-13 Thread Greg Keogh
Hi Asheesh, My first test of moving the images to "site of origin" worked nicely, as no code changes are needed. The XAP file reduced from about 2MB to 800KB and you can feel the loading speed improvement. However, I have noticed that some later controls load more slowly first time as new T

Re: App loading speed

2010-04-13 Thread Asheesh Soni
Link for MEF: http://mef.codeplex.com/wikipage?title=DeploymentCatalog&referringTitle=Using%20Catalogs On Wed, Apr 14, 2010 at 3:05 PM, Asheesh Soni wrote: > 1. Remove the images from the XAP and web-depl

Re: App loading speed

2010-04-13 Thread Asheesh Soni
1. Remove the images from the XAP and web-deploy them. You'd have to move your XAP outside the clientbin (one level up) 2. Use MEF On Wed, Apr 14, 2010 at 2:33 PM, Greg Keogh wrote: > I’ve finally hit the point where the loading speed of the SL3 app is > becoming an issue. On my LAN it takes 3-