Improve Your .NET
& Software Architecture

Join 46,000+ subscribers accelerating their skills every week

One practical tip every Saturday

.NET best practices and actionable advice

Software Architecture deep dives and fresh ideas

Profile picture
Profile picture
Profile picture
Profile picture
Profile picture
Profile picture
Profile picture
Profile picture

Join thousands of software engineers

Previous issues of The .NET Weekly

A Clever Way To Implement Pessimistic Locking in EF Core

April 13, 2024

Sometimes, especially in high-traffic scenarios, you absolutely need to ensure that only one process can modify a piece of data at a time. Entity Fram...

Master Claims Transformation for Flexible ASP.NET Core Authorization

April 06, 2024

Claims-based authorization mechanisms are central to modern authorization in ASP.NET Core. However, the access tokens issued by your Identity Provider...

Horizontally Scaling ASP.NET Core APIs With YARP Load Balancing

March 30, 2024

When a single server reaches its limits, performance degrades, leading to slow response times, errors, or complete downtime. We'll dive into load bala...

Fast SQL Bulk Inserts With C# and EF Core

March 23, 2024

Explore various methods for fast bulk inserts in SQL with C# and EF Core, highlighting techniques like Dapper, EF Core optimizations, EF Core Bulk Ext...

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...