开发者

Is a good idea use Membership Provider with ASP.NET MVC

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜