DEV Community

loading...

Dependency Injection in .NET Console Application

jtenos profile image Joe Enos ・1 min read

ASP.NET comes built-in with Dependency Injection, so you can easily inject lots of different things, either your own stuff or built-in from the framework.

With console applications, you have to do just a little bit more work yourself. Here's how to do it:

Discussion (0)

Forem Open with the Forem app