我已经在我appsettings.json的数据库连接字符串,webapi位置等内容中定义了一些值,这些值对于开发,登台和实时环境是不同的.
appsettings.json
有没有办法有多个appsettings.json文件(如appsettings.live.json,等等),并让asp.net应用程序'知道'根据它运行的构建配置使用哪一个?
appsettings.live.json
c# appsettings asp.net-core
appsettings ×1
asp.net-core ×1
c# ×1