380 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