I’m using ASP.NET MVC 3 to built my site (former PHP programmer), using Entity Framework and I wish to integrate the built-in membership support.
Although I’ve read lot of questions and tutorials I couldn’t figure out wish approach should I use when using MVC and EF.
I read about the MembershipProvider but it seems like a ASP.NET web-forms related…
Which technique should I use in order to integrate membership (with many properties, even different sign on ways: FB, twitter etc.) to my site and be able to integrate it with my currently Entity framework data. Note: I’ve used code-first approach but I don’t mind to rewrite it since I didn’t got anything special yet.
It looks like you will need to implement your own membership provider. Not very easy, but doable. See the
MembershipProviderclass. This implementation might help you as well.