Using Scoped Services From Singletons in ASP.NET Core
Did you ever need to inject a scoped service into a singleton service? I'll explain how you can solve this problem and safely use scoped services from...
Page 15 of 22. Practical .NET and software architecture lessons.
Did you ever need to inject a scoped service into a singleton service? I'll explain how you can solve this problem and safely use scoped services from...
The applications you build serve your users (customers), to help them solve some problems. It's a common requirement that you will need to know who th...
EF Core is a fantastic ORM if you're building .NET applications. Today, I'll show you a simple idea I used to get an almost 4x performance improvement...
A URL shortener is a simple yet powerful tool that converts long URLs into more manageable, shorter versions. Today, I'll guide you through the design...
Cross-cutting concerns are application-level functionalities that affect the entire application and span several layers. Centralizing them in one loca...
Delegating handlers are like ASP.NET Core middleware. Except they work with the HttpClient. I'll show you how to work with delegating handlers
MassTransit is an open-source distributed application framework for .NET. It provides a messaging abstraction on top of the supported message transpor...
API versioning allows your API to evolve independently from the clients using it. I'll show you how to implement API versioning in ASP.NET Core.
Value Objects are one of the building blocks of Domain-Driven Design. Today, I'll show you some best practices for implementing Value Objects.
Serilog is a structured logging library for .NET. It's also my preferred logging library in the projects I'm developing. I want to share 5 practical t...
Join 66,000+ readers of The .NET Weekly for practical tips and resources to improve your .NET and software architecture skills.