Configuring Dependency Injection in .NET Core Console Applications

Configuring DI in .net core console applications

.NET Core console applications do not have a startup file to register the dependencies. In this post, we’ll see how we can create a dependency injection setup in .net core console applications. A use case for this post For this post, let’s create two services one that gives a message (MessageService) and the other to … Read more