Friday, February 24, 2017

ASP.NET Core: Load configuration subsection

ASP.NET Core has a lot of configuration options out of the box. One of the added possibilities is to store your configuration settings inside a JSON document.

Nice advantage of using a JSON document is that you can logically group the related configuration settings in separate sections inside your document:

To read values from a subsection, you specify the subsection name and the property name separated by a colon:

No comments: