Weekly digest: the best articles, once a week, no spam.
Articles tagged #Dependency Injection
4 article(s)
-
Implement Repository Pattern with ASP.NET Core Web API
Implement the Repository Pattern with ASP.NET Core Web API on .NET 10 — EF Core 10, DTO mapping with extension methods, async CRUD operations, and the built-in OpenAPI support with Scalar.
@llaxmikant · Jul 13, 2026 -
AutoMapper in ASP.NET Core Web API — and the Modern Alternatives
AutoMapper usage in ASP.NET Core Web API, its 2025 commercial licensing change, and the modern alternatives — hand-written mapping extension methods and the Mapperly source generator.
@llaxmikant · Jun 12, 2026 -
.NET Dependency Injection Object Lifetimes
The built-in .NET dependency injection container ships three service lifetimes: Transient (a new instance on every resolution), Scoped (one instance per…
@llaxmikant · Dec 14, 2025 -
How to Implement Dependency Injection in .NET Core
To implement dependency injection in .NET Core, register your services in the built-in container (IServiceCollection) with a lifetime, then declare each…
@llaxmikant · Sep 1, 2025