I usually pass configuration to my web API via JSON files, but recently I needed to pass them also via command-line arguments. As the solution for ASP.NET Core 2.x is quite different than for ASP.NET Core 1.x I decided to describe both methods in here.
Web 2521 dni, 7 godzin, 42 minuty temu 78 pokaż kod licznika zwiń