简体   繁体   中英

ASP.NET MVC deployment with multiple migrations

I've been practicing on MVC programming and now I've reached a place to deploy my web application.

I've tried deploying on local IIS and the only error I found was because of my localDB (probably connection string, that I don't really know what to do about it)

I'd like to know how to edit the connection string and my database for deployment, and by the way, to know if it's possible to deploy web application with more than one DB migration configs or not? if yes, how? (what should be considered while deploying?

Here I found the best solution for my problem. by Anthony Chu

Multiple DB Contexts in the Same DB and Application in EF 6 and Code First Migrations

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM