Backend

Backend Articles

.NET, APIs, and server-side. Explore 22 articles in this category.

Advanced 15 min

NATS-Powered Telegram Notification System

Building a real-time notification pipeline from document processing events to Telegram messages using NATS Core, environment-prefixed subjects, and the publisher-subscriber pattern.

Advanced 12 min

Latency Revolution: Optimizing 60s to 3s

How we slashed system latency by 95% by moving from sequential HTTP calls to parallel NATS requests, implementing Redis caching, and tuning Qdrant vector search.

Intermediate 10 min

Consumer-Driven Contract Testing with Pact

Decoupling frontend and backend tests by defining API contracts. How we verify Blazor/FastEndpoint compatibility in CI/CD without integration environments.

Intermediate 15 min

Background Job Processing in .NET

Implement reliable background job processing with hosted services, channels, and distributed task queues in .NET applications.

Advanced 16 min

Event-Driven Cache Invalidation Strategies

Caching is easy; invalidation is hard. Move beyond simple TTL (Time To Live) and learn how to implement precise, event-driven cache busting using Redis and NATS.

Advanced 20 min

The Transactional Outbox Pattern with NATS

Achieve 100% reliable messaging by atomically committing state changes and events. A deep dive into the Outbox Pattern with EF Core and NATS utilizing background relay workers.

Intermediate 18 min

Practical CQRS with FastEndpoints and MediatR

Separating reads from writes doesn't have to be complicated. Learn how to implement a practical CQRS architecture using FastEndpoints for the API and MediatR for clean command handling.

Intermediate 15 min

Better IDs: Switching from UUID to NanoID

Why we moved from standard UUIDs to NanoIDs for primary keys: URL aesthetics, database considerations, and a custom alphabet implementation.

Advanced 22 min

Building Rich Domain Models with Aggregates

Learn how to design aggregates that enforce business invariants, manage consistency boundaries, and encapsulate complex domain logic in your C# applications.