Skip to content

Example for reading configurations from appsettings.json in a console app.

Notifications You must be signed in to change notification settings

reiugit/ConfigurationsInConsoleApp

Repository files navigation

Example for reading configurations
from 'appsettings.json' in a console app

1.) Using the options pattern (strongly typed configuration):

* via options object

2.) Reading the configuration-section directly:

* via GetSection(key).Value
* via GetValue(key)
* via Indexer

About

Example for reading configurations from appsettings.json in a console app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages