MVC4 Template already contains SimpleMembershipProvider

Sep 10, 2013 at 8:42 PM
What is the recommended way to use this provider? I created a default Web application but it already contains a SimpleMembershipProvider, and when I try to visit the manage account page I get an error related to some OAuth features.

I guess my question is what is the simplest approach to create a very basic application just for learning purposes. The AccountController.cs class that gets created by default (before installing CodeFirstMembership) contains a lot of stuff that I don't need in my application!
Coordinator
Sep 10, 2013 at 8:57 PM
Hi,

this membership provider is now deprecated, or at least I intended to deprecate it when MVC5 was out, but since you asked.

the new membership in MVC5 is brand new, seriously. hard to believe that they finally wiped out something good. has federation, oauth and all that stuff.

http://www.asp.net/mvc/tutorials/mvc-5/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on

Anyway I'm now involved in non Microsoft stuff so I haven't had the chance to deep dive.

But I believe you can finally use your POCO's to extend membership.

Read about Microsoft.AspNet.Identity, Owin, Katana etc...