IOT Virtual Conference - Register now to book your ticket and get updates
x
CONGRATULATIONS! C# Corner Q1, 2021 MVPs Announced
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
TECHNOLOGIES
ANSWERS
LEARN
NEWS
BLOGS
VIDEOS
INTERVIEW PREP
BOOKS
EVENTS
CAREER
MEMBERS
JOBS
About Autofac
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Gaurav Gahlot (11)
Andrea Angella (1)
Saillesh Pawar (1)
El Mahdi Archane (1)
Sourav Kayal (1)
Related resources for Autofac
No resource found
Introduction To Dependency Injection In C# Using Autofac
10/8/2018 1:16:03 AM.
In this video tutorial, we will take a sample application and learn how to use Dependency Injection using Autofac. Also, we will see how to wire up dependencies, both explicitly and implicitly.
Replace If With Polymorphism With AutoFac DI Container
7/26/2018 9:03:29 AM.
As the title specify we will be Replacing the conditional if and Switch statement with the help of Polymorphism using DI container and talk about the benefits of doing the same in this article. Oops g
Composed Relationship Types - Func<Owned<T>>
4/10/2018 10:40:56 AM.
It's the beauty of relationship types, that they can work in conjunction with one another. Therefore, we can compose relationship types to solve a particular problem.
Func<T> - Dynamic Instantiation
3/8/2018 10:50:34 PM.
The article talks about scenarios where we want more than one instance of a given service
Owned<T> - Controlled Lifetime In Dependency Injection With Autofac
2/16/2018 11:22:35 AM.
Generally speaking, an owned dependency corresponds to some unit of work performed by the dependent component.
Dependency Injection - Part Five - Using A DI Container (Autofac)
2/13/2018 11:04:02 PM.
A DI container takes the responsibility of instantiating and providing the dependency instances, irrespective of the level of dependencies. As a result, it is a container that manages the scope of the
Direct Dependencies And Enumeration
2/13/2018 10:17:30 PM.
In this post, we will be talking about the two most commonly used types of relationships, namely, direct dependency relationship and enumeration.
Using Lazy<T, TMetadata> In Dependency Injection
2/13/2018 10:16:49 PM.
Lazy<T,TMetadata> is a type provided by MEF to hold indirect references to exports. Here, in addition to the exported object itself, you also get export metadata, or information that describes t
Why "Service Locator" is an "Anti-Pattern" for Dependency Injection
2/13/2018 10:13:57 PM.
The Service Locator is used as a replacement for the new operator. The problem with service pattern is that it hides a class's dependencies and is a bonafide anti-pattern. In fact, it takes away a
Dependency Injection - Part 7 - Service Locator Pattern
2/13/2018 10:12:51 PM.
Service locator pattern is one of the most commonly used patterns. In general, this pattern is used along with other patterns like Adapter Pattern, Observer Pattern, Dependency Injection Principles an
Dependency Injection - Part Six - Autofac's "AsImplementedInterfaces"
2/13/2018 10:11:29 PM.
While I was exploring Autofac, I found AsImplementedInterfaces quite interesting. Not only because it is useful, but also because if we are not careful with its use, we may end up with unexpected appl
Leveraging Lazy Instantiation In Our Application
12/18/2017 12:24:43 AM.
In this video, I have talked about optimizing an application by using Lazy Initialization in an application that is using dependency injection and is therefore loosely coupled.Enjoy the video.
Dependency Injection Using Autofac
9/25/2017 2:00:55 AM.
In this video, I have talked about dependency injection using Autofac.
Using Autofac With Web API
3/20/2017 2:25:08 PM.
This article helps you to understand how to use AutoFac with Web API.
Implement Dependency Injection Using Autofac IoC Container
6/9/2014 4:39:30 PM.
This article provides a basic understanding of de-coupled architecture and the concept of Inversion of Control.