Skip to content

Instantly share code, notes, and snippets.

@kenstone
Created August 21, 2012 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenstone/3419509 to your computer and use it in GitHub Desktop.
Save kenstone/3419509 to your computer and use it in GitHub Desktop.
MVC 4 Application Start Code
@{
if (!WebSecurity.Initialized)
{
WebSecurity.InitializeDatabaseConnection("DefaultConnection", "UserProfile", "UserId",
"UserName", autoCreateTables: true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment