JHilmarch / CoreConfig

Configuration in .NET Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoreConfig

An example how to use configuration in .NET Core

  • Build1.ps1 installs .NET Version Manager (DNVM) with latest .NET runtime (DNX) and restore the application (dnu restore)
  • RunWithJsonFile.cmd => appsettings.json is the default configuration source
  • RunWithConsolArguments.cmd => Console Arguments override appsettings.json
  • RunWithEnvironmentVariables.cmd => Environment Variables override all configurations

About

Configuration in .NET Core


Languages

Language:C# 62.2%Language:PowerShell 27.3%Language:Batchfile 10.4%