Improve Your .NET
& Software Architecture

Join 42,000+ subscribers to the .NET weekly. Every Saturday morning, you will get 1 practical tip on .NET & software architecture that you can easily implement.

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

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 software aspects that affect the entire application. These are your common application-level functionalities that span seve...

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

Using MassTransit with RabbitMQ and Azure Service Bus

January 06, 2024

MassTransit is an open-source distributed application framework for .NET. It provides a messaging abstraction on top of the supported message transpor...

API Versioning in ASP.NET Core

December 30, 2023

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 in .NET (DDD Fundamentals)

December 23, 2023

Value Objects are one of the building blocks of Domain-Driven Design. Today, I'll show you some best practices for implementing Value Objects....