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 OpenTelemetry trace and span IDs connect requests across ASP.NET Core services, including W3C trace context, instrumentation, and OTLP export configuration.

Learn how to prevent duplicate ASP.NET Core API operations with idempotency keys, durable EF Core storage, request hashes, and database uniqueness constraints.

Have you ever faced this problem? Your SQL query runs in 100 milliseconds, but your C# API takes 2 or 3 seconds to give a response. You check the database and think : "The database is fast. So why is my API slow?" This is a common problem in ASP.NET Core applications. The database is only one part o

Learn to integration test ASP.NET Core Web APIs with xUnit and WebApplicationFactory, including dependency injection overrides, in-memory databases, and end-to-end HTTP tests.

Model C# union-style API results with records and serialize them using System.Text.Json polymorphism in ASP.NET Core minimal APIs.

Build a C# MCP server with ASP.NET Core, expose inventory tools over HTTP, and test them locally with the MCP Inspector.

Configure structured logging with Serilog and distributed tracing with OpenTelemetry in an ASP.NET Core Web API, including request logging, trace propagation, and queryable log properties.

Learn to process long-running ASP.NET Core Web API tasks safely with BackgroundService, IHostedService, and a thread-safe System.Threading.Channels queue.

Learn to protect an ASP.NET Core Web API with built-in rate-limiting policies and Redis distributed caching using the cache-aside pattern.

Learn how to implement global exception handling in an ASP.NET Core Web API with IExceptionHandler and RFC 7807 Problem Details responses.

Learn how to implement API versioning in ASP.NET Core Web APIs with Asp.Versioning, including URL versioning, versioned controllers, Swagger integration, and deprecation.

Build JWT authentication in an ASP.NET Core Web API using short-lived access tokens, secure refresh token rotation, token revocation, and HttpOnly cookies.

Learn how to implement CQRS with MediatR in an ASP.NET Core Web API, including command and query handlers, DTO projections, and FluentValidation pipeline behaviors.

Build a maintainable ASP.NET Core Web API with Clean Architecture using Domain, Application, Infrastructure, and Web API layers, CQRS with MediatR, and EF Core repositories.

Learn to unit test ASP.NET Core webhook controllers with xUnit, Moq, and FluentAssertions, covering valid requests, token authorization, malformed payloads, and logging verification.

Build a secure ASP.NET Core webhook receiver for Azure Monitor alerts, including Common Alert Schema DTOs, a POST controller, token validation, and IP restrictions.

Configure Serilog and Azure Application Insights for structured logging and telemetry in ASP.NET Core APIs, then use Kusto queries, metrics, and dashboards to monitor production performance.

Build an ASP.NET Core API using Clean Architecture, CQRS, MediatR, FluentValidation pipeline behaviors, and global exception handling with ProblemDetails.

Learn how to centralize CQRS request validation in an ASP.NET Core Clean Architecture project using FluentValidation and MediatR pipeline behaviors.

Learn how to implement CQRS with MediatR in a Clean Architecture ASP.NET Core API, organizing commands and queries, registering handlers, and keeping controllers thin.

Learn how to structure an ASP.NET Core solution with Clean and Onion Architecture, enforce inward dependencies, organize layers, and configure dependency injection.

Learn to securely hash and verify passwords in ASP.NET Core with PasswordHasher, PBKDF2, automatic salting, dependency injection, and login registration examples.

Configure JWT Bearer authentication in an ASP.NET Core API and add Swagger UI authorization support for testing protected endpoints.

Set up Swagger/OpenAPI in an ASP.NET Core MVC project using Swashbuckle, configure API routing and middleware, and test documented endpoints in Swagger UI.

Learn how to prevent ASP.NET Core API endpoints from redirecting to HTML login pages and safely parse decimal values from external financial payloads.

A practical comparison of Minimal APIs and controllers in ASP.NET Core, covering organization, validation, filters, authorization, and OpenAPI for production APIs.

Build native LLM tool calling in ASP.NET Core so models request approved service operations while your application retains authorization, tenant filtering, and data access control.

Learn how WebForms Core 2.2 uses Render, Snapshot, and Rollback to restore a stable HTML base and apply server-orchestrated DOM commands without a virtual DOM.

Compare ASP.NET Core Minimal APIs and Controllers, and learn how API size, endpoint relationships, and shared dependencies influence the right choice.

Learn to implement resource-based authorization in ASP.NET Core MVC, using custom handlers to restrict article edits and deletes to record owners or administrators.
Everything on ASP.NET Core, not only its articles: the ASP.NET Core page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only17days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article