Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
Learn how to build reliable ASP.NET Core background jobs with durable job records, idempotency, retries, and failure handling.

Learn when to replace environment-variable configuration with a central store and how to design secure, versioned, cached configuration for distributed ASP.NET Core applications.

Learn how offset and keyset pagination behave when database records change, and how stable sorting and cursors keep ASP.NET Core API results reliable.

Build an ASP.NET Core file-upload workflow that stores files, creates durable processing jobs, and uses background workers to process large files without blocking HTTP requests.

Learn how to diagnose and reduce slow ASP.NET Core startup by measuring initialization work, reviewing dependency injection, and handling database and hosted-service delays.

Learn how to manage ASP.NET Core settings across development, staging, and production using configuration providers, environment-specific files, environment variables, and the Options pattern.

Learn how to build and test reliable ASP.NET Core webhook receivers with durable event storage, duplicate-delivery protection, retries, and background processing.

Build a RabbitMQ dead-letter message replay tool with ASP.NET Core and C#. Learn to configure queues, preserve message metadata, and safely replay failed messages.

Before you let AI near your API, you need to know who is asking. In this article we take an ASP.NET Core Web API (.NET 10, EF Core and PostgreSQL) that has no login at all and lock it down with ASP.NET Core Identity and JWT: a login endpoint, a 15-minute access token, refresh tokens that work only o

Learn how to configure OpenTelemetry distributed tracing in ASP.NET Core, instrument HTTP requests, create custom spans, and propagate trace context across microservices.

Learn how to catch ASP.NET Core API breaking changes with integration tests, JSON contract validation, OpenAPI checks, and contract testing.

Learn how CSP nonces restrict inline scripts to reduce XSS risk, including secure nonce generation, CSP headers, and ASP.NET Core integration.

Learn how to detect application performance regressions with repeatable baselines, controlled workloads, latency percentiles, throughput measurements, and profiling tools.

Build JWT and refresh-token authentication in ASP.NET Core using Identity, token rotation, Clean Architecture, and a repository-based persistence layer.

Learn how to test ASP.NET Core webhook delivery during receiver outages, including retries, duplicate events, timeouts, idempotent processing, and recovery.

Learn how to implement graceful shutdown for ASP.NET Core background services using cancellation tokens, safe work handling, dependency injection scopes, and recovery strategies.

Learn how to distinguish normal memory growth from leaks in ASP.NET Core, monitor runtime metrics, collect memory dumps, and identify retained objects in production.

Learn how to test ASP.NET Core APIs when database operations are slow or unavailable, including timeouts, connection pooling, cancellation, concurrency, and recovery.

Configure and automatically test ASP.NET Core API rate limits, HTTP 429 responses, Retry-After headers, client partitions, and retry behavior with xUnit.

Learn how to isolate tenant data in an ASP.NET Core shared-database application using EF Core query filters, tenant claims, safe writes, and authorization.

Learn how to prevent duplicate POST operations in ASP.NET Core Web APIs with idempotency keys, request hashing, stored responses, and database uniqueness constraints.

Configure OpenTelemetry tracing in an ASP.NET Core Web API to trace incoming requests, outgoing HTTP calls, and custom operations when investigating slow responses.

Learn to add ASP.NET Core health checks, verify SQL Server connectivity, and expose separate liveness and readiness endpoints for production monitoring.

Building Real-Time App in .NET with REPR WebSockets.Otp is inspired by REPR (Request-Endpoint-Response) principles and trying to bring the same elegance from Minimal APIs, FastEndpoints, or MediatR to real-time communication. Let me show you how to build a real-time chat app in under 10 minutes. Get

Learn how to run managed background tasks in ASP.NET Core using BackgroundService, hosted services, and Channel-based queues without blocking API requests.

Learn to add URL-based API versioning to an ASP.NET Core Web API using Asp.Versioning, create v1 and v2 controllers, and preserve compatibility for existing clients.

Compare REST and gRPC for service-to-service communication in .NET, with ASP.NET Core examples and guidance on choosing based on clients, performance, contracts, and streaming.

Learn how to run managed background tasks in ASP.NET Core using BackgroundService, hosted services, and Channel-based queues without blocking API requests.

Design an idempotent C# webhook ingress using delivery IDs, durable inbox records, database uniqueness constraints, and a transactional outbox to prevent duplicate agent actions.

Learn how to prevent duplicate ASP.NET Core API operations with idempotency keys, request validation, stored responses, and SQL Server persistence.
Everything on ASP.NET Core, not only its articles: the ASP.NET Core page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article