0

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?

btevfik
  • 3,391
  • 3
  • 27
  • 39

1 Answers1

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).

  1. Follow the first half of Scott Hanselman's tutorial (second half is for MVC)
  2. 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.

Community
  • 1
  • 1
Win
  • 61,100
  • 13
  • 102
  • 181