I have looked at some tutorials and they all seem to use Web Application Model for membership providers. How can I create membership in an existing website that uses Website model? Or is it not possible/not preferred?
Asked
Active
Viewed 250 times
0
-
Are you referring to legacy ASP.Net Website? http://stackoverflow.com/a/398049/296861 – Win Mar 27 '13 at 20:20
-
@Win yes. when you do File->New Web Site instead of File->New Project – btevfik Mar 27 '13 at 22:05
1 Answers
0
ASP.NET Membership is available long before Web Application.
However, you want to try New ASP.NET Universal Providers (updated version of legacy Membership Provider).
- Follow the first half of Scott Hanselman's tutorial (second half is for MVC)
- Follow Examining ASP.NET's Membership, Roles, and Profile - Part 1 for legacy ASP.Net.
Note: I didn't really test New ASP.NET Universal Providers
in ASP.Net Web Site, because all of our sites are Web Application.
If it new one doesn't work, you can follow through the step 2 all the way. Only different is that New ASP.NET Universal Providers
uses Entity Framework.