Sharing appsettings.json configuration files between projects in ASP.NET Core

added by DotNetKicks
2/6/2018 9:29:26 AM

2 Kicks, 119 Views

A pattern that's common for some apps is the need to share settings across multiple projects. For example, imagine you have both an ASP.NET Core RazorPages app and an ASP.NET Core Web API app in the same solution: Each of the apps will have its own distinct configuration settings, but it's likely that there will also be settings common to both, like a connection string or logging settings for example.


0 comments