This video shows how you can easily add dependency injection in a .NET Core console app and include the IConfiguration into the service container. Once you done the steps you can easily read appsettings.json from anywhere the application using constructor dependency injeciton.
Contact me: twileloop@outlook.com
I upload videos every Sunday.
21 авг 2024