---
title: "Discussion on \"AutofacServiceProviderFactory in ASP.NET Core – Problems With Dependency Injection (Part 1)\" | Hashnode"
description: "Discussion on \"AutofacServiceProviderFactory in ASP.NET Core – Problems With Dependency Injection (Part 1)\". Learn how to use AutofacServiceProviderFactory in ASP.NET Core for dependency injection! This article explains how to set it up along with the pros and cons"
url: "https://hashnode.com/posts/autofacserviceproviderfactory-in-aspnet-core-problems-with-dependency-injection-part-1/663a17f436850415a647d63e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [AutofacServiceProviderFactory in ASP.NET Core – Problems With Dependency Injection (Part 1)](https://hashnode.devleader.ca/autofacserviceproviderfactory-in-aspnet-core-problems-with-dependency-injection-part-1?utm_source=hashnode&utm_medium=feed)

Learn how to use AutofacServiceProviderFactory in ASP.NET Core for dependency injection! This article explains how to set it up along with the pros and cons

May 7, 2024 · 9 min read · hashnode.devleader.ca  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#coding](https://hashnode.com/tag/coding)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#dependency-injection](https://hashnode.com/tag/dependency-injection)
-   [#aspnet-core](https://hashnode.com/tag/aspnet-core)

## Written by

[Dev Leader](https://hashnode.com/@devleader)

@devleader · Seattle, Washington

  
[View profile](https://hashnode.com/@devleader)

Bridging the gap between development and leadership roles

I'm a software engineering professional with over a decade of hands-on experience creating software and managing engineering teams. I graduated from the University of Waterloo in Honours Computer Engineering in 2012. I started blogging at https://www.devleader.ca in order to share my experiences about leadership, managing engineers, and 20+ years of programming. I'm the author of Dev Leader Weekly, which you can find here: https://devleaderweekly.substack.com And I create YouTube videos here: https://www.youtube.com/@DevLeader

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
