开发者

ASPNET MVC3: Can I use my user/roles tables to handle user authentication?

I'm building an A开发者_运维问答SPNET MVC3 app; I have built, on the SQLServer DB, my users, roles and user_roles tables andI would like to use them instead of the aspnet_* tables built by using aspnet_regsql.exe.

Do you know if is this possible and, if so, in which way I can authenticate my users towards my tables?


You just need to implement your own Membership and Role providers.

see How do I create a custom membership provider for ASP.NET MVC 2?


Yes, you will need to build a custom memberShip provider

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜