authentication - Stop ApplicationDbContext creating a database -


is there way can stop in .net 4.5, mvc5 application applicationdbcontext creating authentication database me. i'm on shared hosting it's not option.

right i'm quite happy have 2 database's running, 1 production , 1 authentication, sorting out later. need working on seo , put authentication database manually.

i'm guessing mean re-writing code?

public class applicationdbcontext : identitydbcontext<applicationuser> {     public applicationdbcontext()         : base("defaultconnection", throwifv1schema: false)     {     }      public static applicationdbcontext create()     {         return new applicationdbcontext();     } } 

the site ready go bar issue, can done?

got it!

kind of tricked it, long use same database name wont try , re-create , it's working now. seo now!


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -