Views: 8.3K
Replies: 1
Archived
|
Membership implementation in Design Pattern FrameworkI 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 1Mohit:
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
|