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.

Źródło: tpodolak.com
Dziel się z innymi:
[EN] ASP.NET Core - passing command-line arguments to Startup class

Web 2284 dni, 3 godziny, 4 minuty temu nocturn 78 pokaż kod licznika zwiń

Wczytywanie artykułów...

Najaktywniejsi w tym miesiącu