The .NET Weekly archive
Page 14 of 22. Practical .NET and software architecture lessons.
Get the next issue by email →Newsletter issues on page 14

Implementing Soft Delete With EF Core
March 16, 2024
A soft delete is a data persistence strategy that prevents the permanent deletion of records from your database. Today, we'll dive into the details of...

What Is a Modular Monolith?
March 09, 2024
Modular monoliths blend the simplicity and robustness of traditional monolithic applications with the flexibility and scalability of microservices. To...

Lightweight In-Memory Message Bus Using .NET Channels
March 02, 2024
Suppose you're building a modular monolith, a type of software architecture where different components are organized into loosely coupled modules. Or ...

Automatically Register Minimal APIs in ASP.NET Core
February 24, 2024
In ASP.NET Core applications using Minimal APIs, registering each API endpoint with app.MapGet, app.MapPost, etc. can introduce repetitive code. Today...

Using Scoped Services From Singletons in ASP.NET Core
February 17, 2024
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...

Getting the Current User in Clean Architecture
February 10, 2024
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...

How I Made My EF Core Query 3.42x Faster With Batching
February 03, 2024
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...

How to Build a URL Shortener With .NET
January 27, 2024
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...

Balancing Cross-Cutting Concerns in Clean Architecture
January 20, 2024
Cross-cutting concerns are application-level functionalities that affect the entire application and span several layers. Centralizing them in one loca...

Extending HttpClient With Delegating Handlers in ASP.NET Core
January 13, 2024
Delegating handlers are like ASP.NET Core middleware. Except they work with the HttpClient. I'll show you how to work with delegating handlers
Subscribe to the Newsletter
Join 66,000+ readers of The .NET Weekly for practical tips and resources to improve your .NET and software architecture skills.