7

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.

4

1 回答 1

9

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

于 2009-04-09T19:22:58.503 回答