Blog posts

2026

Native AOT for ASP.NET Core APIs: Trimming, Source Generation, Containers, and Trade-offs

5 minute read

Published:

Native Ahead-of-Time compilation publishes a .NET application as a platform-specific native executable. For suitable ASP.NET Core APIs, it can reduce startup time, memory use, and deployment size. Those benefits come with constraints: runtime code generation and unbounded reflection do not fit the model, some ASP.NET Core features are unsupported, and every dependency must be compatible with trimming and AOT analysis.

Modern Resilience in .NET: Resilience Pipelines, Standard HTTP Handlers, Hedging, and Telemetry

5 minute read

Published:

The modern .NET resilience stack is built around Microsoft.Extensions.Resilience and Microsoft.Extensions.Http.Resilience, both powered by Polly. These packages replace older integrations that attached individual Polly policies to HttpClient. The newer model composes strategies into observable pipelines with safer defaults for timeouts, retries, circuit breakers, and hedging.

Modern Caching in .NET: HybridCache, Output Caching, Stampede Protection, and Invalidation

5 minute read

Published:

Modern .NET applications can use HybridCache to coordinate in-process and distributed caching through one API. It adds stampede protection, configurable serialization, and tag-based invalidation while retaining the low latency of a local cache. ASP.NET Core output caching solves a different problem by caching complete HTTP responses. A production design should choose the right layer, define acceptable staleness, and make invalidation observable.

EF Core 10 Advanced Data Patterns: Named Query Filters, JSON, Complex Types, and Vector Search

5 minute read

Published:

EF Core 10 is an LTS data-access release aligned with .NET 10. It extends familiar relational modeling with named query filters, richer complex types and JSON support, and vector operations for AI-assisted search. These capabilities are useful when they make domain and query intent clearer. They do not remove the need to inspect generated SQL, design indexes, and test migrations against production-sized data.

Modern ASP.NET Core 10 APIs: OpenAPI 3.1, Validation, ProblemDetails, and Server-Sent Events

5 minute read

Published:

ASP.NET Core 10 modernizes several API fundamentals that previously required more third-party setup. Built-in OpenAPI generation produces OpenAPI 3.1 documents, Minimal APIs can validate inputs automatically, ProblemDetails can shape consistent failures, and Server-Sent Events provide a simple option for one-way real-time updates. These features work best when they are treated as parts of one stable API contract.

Upgrading from .NET 8 to .NET 10 LTS: C# 14, Breaking Changes, and a Safe Migration Plan

5 minute read

Published:

.NET 10 is the current Long Term Support release, while .NET 8 reaches the end of support in November 2026. An upgrade should be treated as an engineering change, not a search-and-replace operation. The safest approach separates framework migration, package updates, language adoption, and production rollout so that each source of risk can be verified independently.

Building Production-Ready .NET Systems: A Practical Roadmap

5 minute read

Published:

The previous articles built the individual skills needed for modern .NET services: APIs, data access, testing, security, messaging, observability, performance, deployment, and maintainable architecture. Production readiness is where those capabilities become one operating system for the application. A service is not production-ready because it runs in a container. It is ready when the team can deploy it safely, detect failure quickly, protect its data, and restore normal service predictably.

Real-Time Systems in .NET: SignalR Architecture and Scaling

1 minute read

Published:

This post covers real-time systems in .NET using SignalR. SignalR lets servers push messages to connected clients over WebSockets and fallback transports. It is useful for notifications, dashboards, collaborative features, chat, live status updates, and workflow monitoring.