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

Read appsettings.json from Class Library

$
0
0

I have a .NET CORE Class Library which is referenced by ASP.NET CORE Web Applications.

I know how to read and assign the values to a class in a CORE Web Application, but I want to be able to read a section in the appsettings.json file that belongs to the project that references the Class Library.

Any ideas??


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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