Feb 2, 2010 at 12:08 PM
Edited Feb 2, 2010 at 12:09 PM
Prism does not provide any out of the box authentication service, so you would need to implement your own service and register it in the container to use it. The WCF service should be referenced in the project
that is going to make use of it, so it should be in any of your module projects or the Shell (all Silverlight projects). You should take
this into account when configuring your service.
A common approach would be registering the authentication service in your application’s
Bootstrapper (ConfigureContainer method) and authenticating the user before the modules are loaded (so you can determine which modules should be loaded).
This thread deals with a scenario that might be useful for you.
Take into account that Prism-v2 was shipped before Visual Studio 2010 and Silverlight 4, so there is no specific guidance for them (yet). The common way to create a Prism solution
for Silverlight is explained
Please let me know if this helps.