ASP.NET Boilerplate Zero启动方式

1、打开解决方案还原nuget包

2、设置 ModuleZeroSampleProject.Web 为启动项目【带有有数据库连接字符串的项目】

3、重启vs后、打开  视图》其他窗口》程序包管理器控制台

4、运行两次  update-database -Force 命令

5、修改Configuration.cs  设置 

AutomaticMigrationsEnabled = true;
AutomaticMigrationDataLossAllowed = true;

完成

原文地址:https://www.cnblogs.com/morang/p/4560939.html