ASP.Net Authentication with MVC2--how to integrate with DB?

Posted by alchemical on Stack Overflow See other posts from Stack Overflow or by alchemical
Published on 2010-04-15T10:21:45Z Indexed on 2010/04/15 10:23 UTC
Read the original article Hit count: 1424

I'm trying to understand the authentication section sample project that opens in a new MVC2 project in VS2010. It essentially lets you register, login, etc. I looked through the code that implements this briefly, it looked fairly complicated. (10 tables, 40 sprocs, 10 views, 4 models, 1 model, 1 controller, etc.)

Is it best to utilize this provided framework for authentication? If so, how would I integrate this with my own database models (which has user and role tables, etc.). Also, if I use their framework, are there any performance issues at higher traffic volumes (like SO for example), do I need to become responsible for maintaining the authentication DB as well in this case?

© Stack Overflow or respective owner

Related posts about asp.net-authentication

Related posts about asp.net-mvc2