Back to list
Views:   8.3K
Replies:  1
Archived

Membership implementation in Design Pattern Framework

I want to confirm in which layer it is best to implement the API for ASP.NET Membership.  In the Design Pattern Framework you have performed all operations using SOA, but my question is should it be added to the Service Layer or to the ASP.NET Presentation Layer?
Mohit Jangra, Jul 30, 2010
Reply 1
Mohit:

The proper place is to add it in the Service Layer (just like we have done in the Design Pattern Framework, with Login, Logout, etc).
However, you probably still want to add some extra code in the Presentation layer, to manage authentication cookies, by including calls to FormAuthentication methods, such as, FormsAuthentication.SignOut.

Hope this helps.
Dan McMillan, Aug 05, 2010


Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.2.2