asp.net mvc and custom membership and role provide

2019-06-17 03:31发布

My question, is it possible to build customer membership and role providers (overriding the asp.net providers) when using asp.net mvc?

I am guessing it is possible but have not seen any information about it.

Would it be done the same way as in asp.net? Just changing the web.config to point to a new provider and then providing the override methods?

I have found many articles discussing changing the data source of the membership and role providers but I don't like the tables that asp.net uses so I usually use my own table structure.

If you have any articles or links that talk about this that would be great.

1条回答
2楼-- · 2019-06-17 04:24

Yep, the providers are exactly the same and work just like they do in "regular" asp.net.

查看更多
登录 后发表回答