【发布时间】:2019-08-06 16:08:13
【问题描述】:
我根据this教程创建了脚手架项目
有写
For local development, the ASP.NET Core configuration system reads the connection string from the appsettings.json file.
将此本地数据库(*.mdf 文件)更改为“全局”数据库(例如安装在网络上的 MSSQL 服务器)的正确程序是什么?
【问题讨论】:
-
对你来说全局是指不在你正在开发的同一台电脑上的远程电脑?
-
@AntoniosKatopodis 不在同一台电脑上。与本地数据库文件(mdf 扩展名)相反。例如MSSQL Server 或 Mysql 或 PostgreSQL 中的数据库
标签: asp.net-core asp.net-core-mvc scaffolding localdb mdf