Tag: modularization

Silverlight Prism Application with authentication module

I’m currently redesigning an application to be Silverlight-based and implemented by using Prism. I’ve opted to use RIA Services to connect to the Entity Framework model, hosted by an ASP.NET Web application. However, to modularize it with Prism, I needed to remove the coupling between the ASP.NET Web app (Silverlight host) and the consumer, my Silverlight app, and I used Colin Blair’s idea, http://www.riaservicesblog.net/Blog/post/RIA-Services-Enterprise-Business-Application-Attempt-Part-One.aspx, as inspiration, not to mention copy much of the example code. šŸ˜‰

Now, what I’m not so sure about, is whether to have the application services, including authentication (ASP.NET authentication), as a separate Prism module, or to have it as a shared assembly, tightly coupled/referenced from the Silverlight application.

Currently I am creating a Prism module for theĀ horizontal application services, beginning with the authentication service, even if that takes a little more development. What do you think, should I opt for the shared assembly instead?