Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Nested AppSettings.jsons with ASP.NET Core

$
0
0

Nested AppSettings.jsons with ASP.NET Core

My company is exploring ASP.NET Core. We currently use ASP.NET Web API 2 & MVC 5.2.2. We deploy our applications under IIS using the following configuration:

VirtualDirectory1 (web.config with connection string and other non-specific information)
- App1 (app specific web.config)
- App2 (app specific web.config)
- Api1 (api specific web.config)
- Api2 (api specific web.config)
VirtualDirectory2 (web.config with connection string and other non-specific information)
- App1 (app specific web.config)
- App2 (app specific web.config)
- Api1 (api specific web.config)
- Api2 (api specific web.config)

As you know, each application or API inherits configuration from the parent web.config under IIS, so each inherits the parent connection string. We use a single copy of each application on the server. Can we deploy ASP.NET Core applications the same way?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>