Skip to content
Topic

ASP.NET Core Dependency Injection

6 posts about ASP.NET Core Dependency Injection by 4 contributors.

Know ASP.NET Core Dependency Injection? Share what you know with developers who are learning it.

Articles
5
Blogs
1
Contributors
4

Everything about ASP.NET Core Dependency Injection

  1. Article · ASP.NET Core

    Interface or Concrete Class in DI Registration: A Small Choice That Decides Whether Your Code Can Be Tested

    Learn how ASP.NET Core dependency injection interfaces improve unit testing, dependency substitution, and maintainability compared with direct concrete class registration.

    dhana gani2,2971,000
  2. Article · ASP.NET Core

    ASP.NET Core Dependency Injection Lifetimes: Avoiding Shared State Bugs

    Learn how ASP.NET Core dependency injection lifetimes affect concurrency, shared mutable state, and request safety, with practical Singleton vs Scoped guidance in production.

    dhana gani3,1661,000
  3. Blog · .NET Core

    Dependency Injection in.NET Core

    Learn Dependency Injection in .NET and ASP.NET Core, including IoC, service lifetimes, constructor injection, testing, anti-patterns, and best practices.

    Chirag Bhatt2,652250
  4. Article · .NET

    Scrutor Common Dependency Injection Pitfalls and How to Avoid Them

    Learn the most common Dependency Injection pitfalls when using Scrutor in .NET and ASP.NET Core. This in-depth guide explains real-world DI issues, assembly scanning mistakes, lifetime mismatches, decorator pitfalls, and best practices to build scalable and maintainable .NET applications.

    Raghunath Bhukan1,3351,000
  5. Article · ASP.NET Core

    Using Implementation Factories To Register Dependencies In ASP.NET Core Dependency Injection

    In this article, you will learn how to use implementation factories to register dependencies in ASP.NET Core dependency injection.

    Kasun KodagodaKasun Kodagoda41,2091,000
  6. Article · ASP.NET Core

    Register And Use Multiple Implementations Of A Dependency In ASP.NET Core Dependency Injection

    In this article, we will look into how to register multiple implementations of the same dependency in ASP.NET Core and how to use these dependencies in your classes by injecting them.

    Kasun KodagodaKasun Kodagoda28,5901,000