toddmo
toddmo

Reputation: 22396

Getting Started with Dependency Injection in Asp.Net Mvc 5.2.3

I'm having trouble getting started setting up dependency injection in my project.

Is there Microsoft provided functionality to do dependency injection with Mvc 5.2.3? If so where is it because I can't find it.

All the articles I can find are about the DI functionality in Core. According to Wikipedia that is the next version of Mvc. I'd rather just use what is built in to my version.

If nothing is built in, then I'll go do research myself on third party solutions.

Upvotes: 0

Views: 309

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038710

There's no built-in DI functionality in ASP.NET MVC 5.2.3. You will need to use a third party DI container or write your own. If you are looking for one written by Microsoft you may checkout Unity.

Upvotes: 1

Related Questions