Implementing Autofac in ASP.NET

by Miguel Castro

Autofac is one of the more powerful yet easy to use DI containers out there. But you still need to know how to properly implement it in your applications. This course will help you get there.

What you'll learn

Learning how Dependency Injection (DI) works and setting it up in sample console apps is good and necessary, but it is only half the battle. You need to know how to implement it into the app you are writing. Though DI with Autofac is usable in any kind of application, the web represents a large portion of the apps developers are writing, and not everyone has the luxury of jumping on ASP Core. In this course, Implementing Autofac in ASP.NET, you'll learn how to implement Autofac in an ASP.NET application. First, you'll get started from the installation with every branch of ASP.NET, this includes, MVC, Web API, OWIN, and even Web Forms. Next, you'll learn how to get Autofac up and running in your ASP.NET application, no matter what kind. Finally, you'll review some implementation patterns and scenarios that extend beyond just using it in a controller. When you're finished with this course, you'll have the skills to reap the benefits of DI with Autofac in ASP.NET together and have some good geeky programming fun along the way.

Table of contents

Course Overview
2mins

About the author

Whether playing on the local Radio Shack's TRS-80 or designing systems for clients around the globe, Miguel has been writing software since he was 12 years old. He keeps himself heavily involved in every aspect, layer, nook, and cranny of app development and would not have it any other way.

Ready to upskill? Get started