asp.net mvc - How do I expose built-in security and user management to a MVC application? -
I have created an MVC website on IIS 6. I used the built-in ASP.NET security without membership, the way it was implemented in the template solution. It is easy to protect a contoller or action, but now I need to administer the user management to log on to the site. I understand that the builtin ASP controls are not "best practice" to do this and if there is a dog to work, what is the best practice to offer user management through an ASP.NET MVC application?
I considered using the unit framework and enclosed it till myriad of stored procs. But it seems weird to get an option for the Account Membership Service and Forms Authentication Service. This is what the current project uses the account controller. But, I'm not either with either.
I can not help, but it seems that this project should have already been from the template. This is the fundamental part of any website and you have been given 15%, why not balance? As far as I can tell you, as your membership provider implementation, SqlMembershipProvider I can strongly suggest that you receive membership user and subscription provider sections (such as CreateUser , etc.) have a look at some methods. You are trying instead to work with the built-in database tables used for implementation. You can also see about ASP.NET membership, roles, and a deep introduction to the profile provider.
Comments
Post a Comment