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 2689 dni, 22 minuty temu 78 pokaż kod licznika zwiń
Podobne artykuły:
- InvalidOperationException: Unable to resolve service for type [INazwa] while attempting to activate [MojKontroler]
- 🔊 ASP .NET Core + Verify + Wiremock + Testcontainer + Test Builder
- JIRA integration with C# and REST API
- Entity Framework Core – database initialization with Unit Test – Dawid’s blog
- How to use Entity Framework Core with Akka.NET
- Creating health check dashboard using Warden
- [EN] ASP.NET Core - API versioning by convention
- Scale&load test a .NET Core Microservice&Sharded DB | ITNEXT
- Configuring ASP.NET Core middleware
- [EN] Introduction to MiSeCo – Michał Dymel – DevBlog
- ASP.NET Core Utils - nuget package available