code first membership provider
How can I integrate EF 5.0 with membership provider using code first? I have my own database schema which I want to use for registration of users etc. You should take a look at the SimpleMembershipProvider It is very easy to use it together with EF. Update For MVC4 I would start with the blank template. you need WebSecurity.InitializeDatabaseConnection to set up the database. WebSecurity.InitializeDatabaseConnection("DefaultConnection", "Users", "Id", "UserName", true); It takes as parameters a name of a connectionstring, the table, a unique identifier column and the username-column. The model