user295541
user295541

Reputation: 1015

SimpleMembershipProvider in Database

I would like to use SimpleMembershipProvider in my ASP.NET MVC 4 application but I could not find any useful information how I can store the user information in a MSSQL database?

Anybody can help me?

Upvotes: 0

Views: 176

Answers (1)

Neil Thompson
Neil Thompson

Reputation: 6425

If you change the connection strings to point to the new database and just go to a SimpleMembership page(view) that uses the AccountController it should make the appropriate tables for you.

The AccountController should have the [InitializeSimpleMembership] filter applied - which is where the magic happens.

Upvotes: 1

Related Questions