How to get started with ASP.NET Core and gRPC

#572 – August 31, 2025

a high-performance framework that uses HTTP/2 and protocol buffers

How to get started with ASP.NET Core and gRPC
37 minutes by Isaiah Clifford Opoku

gRPC is a high-performance framework that uses HTTP/2 and Protocol Buffers for fast service communication. It's up to 8 times faster than REST APIs with JSON and provides strongly-typed contracts. This guide shows how to build a complete product management system with gRPC and ASP.NET Core, including CRUD operations and testing with Postman.

Mastering async in C#: A deep dive into TAP
20 minutes by Riddhi Shah

C# has evolved from complex callback patterns to the Task-based Asynchronous Pattern. TAP uses simple async methods that return Task objects, making code cleaner and easier to read. The pattern includes naming rules like adding Async to method names, built-in cancellation support, and progress reporting features.

Specification pattern in EF Core
11 minutes by Anton Martyniuk

The repository pattern often becomes problematic as .NET projects grow. Repositories either become too large with many methods or split into too many small classes. The specification pattern offers a better solution. It uses small, reusable classes that describe what data you want from your database. You can combine these specifications to build complex queries while keeping your code clean and testable. Since EF Core already implements repository and unit of work patterns, you can apply specifications directly to DbContext without needing additional repository layers.

AutoMapper vs. manual mapping in .NET
4 minutes by Vitor Gomes

AutoMapper is convenient for object mapping in .NET but comes with performance costs. A benchmark test comparing AutoMapper to manual mapping across classes, records, and record structs showed manual mapping is 3-10 times faster and uses less memory. Manual mapping with record structs performed best, taking only 8.5 nanoseconds versus AutoMapper's 96 nanoseconds, with zero heap allocations. Choose AutoMapper for maintainability or manual mapping for high-performance scenarios.

Rate limiting in ASP.NET Core
7 minutes by Adrian Bailador

Learn how to implement rate limiting in ASP.NET Core to protect your APIs from abuse, DDoS attacks, and excessive usage. Includes native .NET 7+ features, custom implementations, Redis distributed scenarios, and benchmarks.

And the most popular article from the last issue was:

newsletters