I have an existing ASP.NET application with many users and a large database. Now I want to have it in MVC 2. I do not want to migrate, I do it more or less from scratch. I want to save the database and not touch it too much.
I already have my database tables, and I also want to save LINQ to SQL-Layer. I did not use MemberhipProvider in my current implementation (in ASP.NET 1.0, which was not strongly supported).
So either I am writing my own Memberhipprovider to meet the needs of my database and application, or I am not using a membership provider at all.
I would like to understand the implications if I do not use a membership provider. What is the reason for this? I understand that ASP.NET Login-Controls are associated with a provider. The AccountModel function, which is automatically generated using MVC2, can be easily modified to support my existing logic.
What happens when a user authenticates with AuthCookie? Does MVC use MemberhipProvider?
Am I missing something? I have the same questions regarding RoleProvider.
Input is welcome.
source share