数据库文件需要的文件"/>
Asp.Net Core 2.0 生成操作数据库文件需要的文件
开发环境
VS2017 + Win7 x64
生成操作数据库文件需要配置或添加的文件
1、Startup.cs
public IConfiguration Configuration { get; }// 为了引入配置文件。默认的配置文件为"AppSettings.json"。
public Startup(IConfiguration configuration)
{Configuration = configuration;
}// This method gets called by the runtime. Use this method to add services to the container.
// For more information on how to configure your application, visit /?LinkID=398940
public void ConfigureServices(IServiceCollection services)
{
更多推荐
Asp.Net Core 2.0 生成操作数据库文件需要的文件
发布评论