Configuring Dependency Injection in .NET Core Console Applications

added by DotNetKicks
5/18/2020 3:28:52 PM

376 Views

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. For this post, let's create two services one that gives a message ( MessageService) and the other to print a message ( PrinterService).


0 comments