0

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.

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Although written by Microsoft, Unity isn't maintained anymore by Microsoft.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.