YHYogeshkumar HadiyaYH
  • Home
  • Blog
  • .NET
  • C#
  • SQL Server
  • Azure
  • MongoDB
  • D3 DevTools

Tag

#dependency-injection

2 article(s)

Understanding Singleton Design Pattern in .NET cover
.NETJul 11, 2026

Understanding Singleton Design Pattern in .NET

A practical guide to the Singleton Design Pattern in .NET, including thread-safe implementations with lock and Lazy<T>, plus when to use container-managed AddSingleton in ASP.NET Core.
  • #design-patterns
  • #singleton
  • #dotnet
  • #dependency-injection
Stop Injecting IEnumerable Just to Pick One Service cover
.NETJun 19, 2026

Stop Injecting IEnumerable Just to Pick One Service

Learn how Keyed Dependency Injection lets you register multiple implementations of the same service and resolve the right one by key in .NET and ASP.NET Core.
  • #dependency-injection
  • #keyed-dependency-injection
  • #dotnet
  • #aspnetcore

Social

  • C#

Categories


  • .NET(7)
  • Azure(4)
  • C#(2)
  • MongoDB(2)
  • SQL Server(1)
  • Entity Framework(1)

Created with ♥ by Yogeshkumar Hadiya

© 2026 All rights reserved.