Feb 15, 2012 at 3:33 AM
Edited Feb 16, 2012 at 5:50 AM
OK, so this is my user story.
I have a main module, this loads the main menu (Silverlight Navigation) from configured modules (MEF). It also takes care of the security and roles (ASPNET Membership), the logged on user (Entity) gets exported (MEF) along with all his roles and meta data.
This can be imported by all subsequent modules that are downloaded / activated (MEF).
All the Silverlight projects uses Telerik controls and some of them are hefty items.
If possible I would like to setup the following scenario, and this might be ambitious
Have solution run offline
Have all the modules compile to reduced sizes; ie have references as zip files in ClientBin
When module requires references it gets downloaded to client from the ClientBin if not yet downloaded by another module
Ability to store data offline and when connectivity is detected sync via WCF service(s)
Also, a pet hate is the Service Configuration file in each module; is it possible to use MEF to export a service to all modules and not have the service reference in each library?
Thank you in advance for the time spent to answer my questions
From: jeremylikness [email removed]
Sent: 05 February 2012 05:52 PM
To: [email removed]
Subject: Re: MEF + Offline [Jounce:289925]
Unfortunately not a common enough pattern to come out of the box.
Different people want to handle it in different ways, i.e. as part of a bigger update/check vs. versioning the XAPs individually, storing in isolated vs. OOB where it is in the file system, etc. so not generic enough to implement as a core solution.
On Sun, Feb 5, 2012 at 6:53 AM, [email removed] wrote:
> From: jacodv
> Thank you, I will have a look at the link. Was rather hoping it came
> out the box…
> From: jeremylikness [email removed]
> Sent: 02 February 2012 02:18 PM
> To: [email removed]
> Subject: Re: MEF + Offline [Jounce:289925]
> From: jeremylikness
> Yes, it's possible and I've engineered it for customers in the past.
> The key is to provide your own catalog implementation that is smart
> enough to download dynamically online when connected, then cache the
> XAP to isolated storage and load it from the cache when offline. I
> wrote about this in my upcoming book and also have a blog post here:
> Read the full discussion online.
> To add a post to this discussion, reply to this email ([email
> To start a new discussion for this project, email [email removed]
> You are receiving this email because you subscribed to this discussion
> on CodePlex. You can unsubscribe or change your settings on codePlex.com.
> Please note: Images and attachments will be removed from emails. Any
> posts to this discussion will also be available online at codeplex.com
MCP - WPF, MCTS – Silverlight, Microsoft Silverlight MVP
Sterling Database for Silverlight: http://sterling.codeplex.com/ Jounce MVVM+MEF Framework: