eidias Switzerland | eidias Poland
eidias
  • architecture
  • azure
  • code
  • infrastructure
  • licensing
  • security
  • tools
  • web

Implement Microsoft DI container in ASP.NET MVC 5

Dependency injection is very important mechanism in web applications. There are many third party packages that serves dependency injection in ASP.NET MVC 5, like Autofac or Unity. However, there is also Microsoft solution, which is already part of ASP.NET Core framework. In this post We’ll implement it in ASP.NET MVC 5 application.

By Mirek on 1/3/2024 (tags: ASP.NET MVC, dependency injection, mvc 5, categories: architecture, code, web)

Like that? really?

So I found this. Please don’t do that. Do something better, it’s easy and less complicated. I’ll show you how.

By eidias on 3/12/2014 (tags: ASP.NET, dependency injection, categories: tools, web)

Categories

  • architecture
  • azure
  • code
  • infrastructure
  • licensing
  • security
  • tools
  • web

Archive

  • January 2024
  • March 2023
  • January 2023
  • December 2022
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • March 2022
  • November 2021
more

Tags

  • .net
  • ASP.NET
  • asp.net Core
  • ASP.NET MVC
  • authentication
  • azure
  • build
  • c#
  • Code First
  • core
  • css
  • ef core
  • Entity Framework
  • enums
  • fuzzy search
  • IoC
  • javascript
  • mvc
  • mvvm
  • OData
  • Powershell
  • SQL Server
  • tfs
  • WCF
  • WPF
more