.NETJul 11, 2026Understanding Singleton Design Pattern in .NETA 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
.NETJun 19, 2026Stop Injecting IEnumerable Just to Pick One ServiceLearn 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
.NETJun 1, 2026Understanding Singleton, Scoped, and Transient in .NETA practical guide to DI lifetimes in ASP.NET Core: what Singleton, Scoped, and Transient mean, common pitfalls, and concise guidance for choosing the correct lifetime in production systems.#dependencyinjection#aspnetcore#dotnet
.NETMay 31, 2026Create ASP.NET Core Web API with Entity Framework Core Code First ApproachBuild a simple ASP.NET Core Web API with Entity Framework Core Code First, including the model, DbContext, service layer, controller actions, and Swagger testing.#aspnetcore#entityframeworkcore#webapi#swagger#crud
.NETMay 31, 2026Fixing OpenAPI Transform for Scalar to Add a Global Auth Token in .NET 10Fix the OpenAPI transform breakage that appears after upgrading to .NET 10 when using Scalar UI with a global JWT auth token.#aspnetcore#openapi#scalar#jwt#dotnet10
.NETC#May 31, 2026Generate QR Code in ASP.NET Core MVCBuild an ASP.NET Core MVC app that generates QR codes for websites, bookmarks, SMS, WhatsApp, email, and WiFi using the QRCoder package.#aspnetcore#mvc#qrcode#qrcoder#dotnet
.NETMay 31, 2026Implement Scalar in .NET APISet up Scalar in a .NET 9 API, configure OpenAPI support, and add JWT authentication options to the UI using an OpenAPI document transformer.#aspnetcore#scalar#openapi#jwt#dotnet9