In ASP.NET MVC w开发者_开发问答e dont have Login controls of webform, then still make sense use Membership Provider? It is a good practice?
Membership Provider is agnostic of Web Forms or any other classes where it will be used, so the least I can say is its not a bad idea.
The Membership Provider is just a data store, use it as you wish. There just happen to be ASP.NET forms controls that also know how to use it.
Yes, it still makes sense. Take a look a the default project created by Visual Studio (not the empty one), to see how it can be used with ASP.NET MVC and unit tests.
精彩评论