Click here to Skip to main content
15,867,686 members
Everything / Autofac

Autofac

Autofac

Great Reads

by DotNetSteve
A gentle introduction for DI and IOC in the first program most of us have written - Hello World
by Fiyaz Hasan
Learn how dependency injection mechanism has evolved from ASP.NET to ASP.NET Core
by Mark Olbert
An Autofac-based chained/declarative approach to creating an IHostBuilder/IHost and a generalized dependency injection resolver
by levelnis
Send a success message to a View using TempData

Latest Articles

by Mark Olbert
An Autofac-based chained/declarative approach to creating an IHostBuilder/IHost and a generalized dependency injection resolver
by Mark Pelf
We explain DI Pattern, DIP, IoC, DI Container
by Sunny Makode
This is an introductory article about creating an Odata Rest API in collaboration with Entity Framework. We are also going to use Autofac as our IOC container. Also, Repository and Unit of Work pattern will be used for cleaner access of persistence model through our ORM (Entity Framework).
by Sunny Makode
There are several contents available on the internet that talk about injecting dependencies through .svc file's markup [in WCF service application] and it's easy when you have a WCF service application. But, it is equally easy to do that even in your WCF Library project (without .svc).

All Articles

Sort by Score

Autofac 

26 Feb 2016 by DotNetSteve
A gentle introduction for DI and IOC in the first program most of us have written - Hello World
28 Dec 2016 by Fiyaz Hasan
Learn how dependency injection mechanism has evolved from ASP.NET to ASP.NET Core
8 Jan 2023 by Mark Olbert
An Autofac-based chained/declarative approach to creating an IHostBuilder/IHost and a generalized dependency injection resolver
8 Dec 2019 by Sunny Makode
This is an introductory article about creating an Odata Rest API in collaboration with Entity Framework. We are also going to use Autofac as our IOC container. Also, Repository and Unit of Work pattern will be used for cleaner access of persistence model through our ORM (Entity Framework).
6 Jun 2018 by Gunnar S
Third article in a series of three regarding NServiceBus, WebAPI and Azure Service Fabric
18 Aug 2014 by Sul Aga
Using Autofac IoC container in MVC application to resolve dependencies. Scenarios included: controller, custom filter and view dependency injection
9 Aug 2022 by Mark Pelf
We explain DI Pattern, DIP, IoC, DI Container
15 Aug 2017 by Vaibhav M Nalwad
Resolving Dependencies via Attributes and Reflection