Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

asp.net mvc and custom membership and role providers

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.

like image 655
dtc Avatar asked Apr 09 '09 19:04

dtc


1 Answers

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

like image 115
Nick DeVore Avatar answered Nov 15 '22 02:11

Nick DeVore