# aspnetcore | .NET Platform | Knowledge Base | Instagit

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

GitHub Stars: 38.1k

Repository: https://github.com/dotnet/aspnetcore

---

## Articles

### [Where to Find the Main Solution File for ASP.NET Core: AspNetCore.sln Location Guide](/dotnet/aspnetcore/where-can-i-find-main-solution-file-for-aspnetcore)

Locate the AspNetCore.sln file in the dotnet/aspnetcore repository root. This guide helps you find the main solution file to build hundreds of projects efficiently.

- Tags: how-to-guide
- Published: 2026-08-01

### [ASP.NET Core Root Configuration Files: Essential Build and Project Setup](/dotnet/aspnetcore/what-key-configuration-or-build-files-are-in-aspnetcore-root)

Discover essential ASP.NET Core root configuration files like global.json, Directory.Build.props, and targets. Understand how they control the build system and SDK versioning for dotnet aspnetcore.

- Tags: how-to-guide
- Published: 2026-08-01

### [Understanding Root Directory Files in the ASP.NET Core Repository](/dotnet/aspnetcore/what-is-purpose-of-root-directory-files-in-aspnetcore)

Discover the purpose of root directory files in the ASPNET Core repository. Learn how they manage configuration, build, testing, and tooling for the entire solution.

- Tags: deep-dive
- Published: 2026-08-01

### [What Tools Are Used for Generating Documentation from the `docs` Directory in ASP.NET Core?](/dotnet/aspnetcore/what-tools-are-used-for-generating-documentation-from-docs-directory)

ASP.NET Core uses DocFX to generate API reference and conceptual documentation from its docs directory. Learn how this static-site generator is orchestrated by MSBuild and GitHub Actions.

- Tags: how-to-guide
- Published: 2026-08-01

### [How Documentation Content Is Organized in the ASP.NET Core Docs Folder](/dotnet/aspnetcore/how-is-documentation-content-organized-in-docs-folder)

Discover how ASP.NET Core documentation content is organized within the docs folder. Learn about the flat structure and topic-based grouping of Markdown files for clarity.

- Tags: internals
- Published: 2026-08-01

### [Understanding the Docs Directory in ASP.NET Core: A Complete Contributor Guide](/dotnet/aspnetcore/what-is-significance-of-docs-directory-in-aspnetcore)

Explore the aspnetcore docs directory. Discover its role as a contributor knowledge base for internal guides on building and testing the framework, not end-user API references.

- Tags: how-to-guide
- Published: 2026-08-01

### [How the ASP.NET Core eng Directory Powers the Development Workflow](/dotnet/aspnetcore/how-does-eng-directory-support-development-process)

Discover how the ASP.NET Core eng directory streamlines development. Learn about its role in building, testing, packaging, and publishing across platforms and CI.

- Tags: internals
- Published: 2026-08-01

### [What Scripts and Tools Are in the ASP.NET Core `eng` Directory?](/dotnet/aspnetcore/what-kind-of-scripts-or-tools-are-in-eng-directory)

Discover the ASP.NET Core eng directory scripts and tools. This includes Shell, PowerShell, and Node.js for SDK installation, dependency provisioning, test orchestration, and release shipping.

- Tags: internals
- Published: 2026-08-01

### [ASP.NET Core Engineering and Build Infrastructure: Complete Directory Guide](/dotnet/aspnetcore/where-is-engineering-and-build-infrastructure-for-aspnetcore)

Discover the ASP.NET Core engineering and build infrastructure. Find build scripts in eng and CI pipelines in .github/workflows for the aspnetcore repo. Understand the project's core.

- Tags: internals
- Published: 2026-08-01

### [What Is the Function of the eng Directory in ASP.NET Core?](/dotnet/aspnetcore/what-is-function-of-eng-directory-in-aspnetcore)

Discover the vital role of the aspnetcore eng directory. It houses build automation, MSBuild properties, and shared assets for CI, versioning, packaging, and project coordination.

- Tags: internals
- Published: 2026-08-01

### [ASP.NET Core Samples: 15+ Example Applications in the dotnet/aspnetcore Repository](/dotnet/aspnetcore/what-are-some-examples-of-applications-in-samples-directory)

Explore 15+ ASP.NET Core samples in the dotnet/aspnetcore repository. Discover authentication, middleware, hosting, and API patterns with runnable examples using dotnet run.

- Tags: getting-started
- Published: 2026-08-01

### [How ASP.NET Core Samples Are Structured in the dotnet/aspnetcore Repository](/dotnet/aspnetcore/how-are-aspnet-core-samples-structured-within-repository)

Discover how ASP.NET Core samples are organized in the dotnet/aspnetcore repository. Learn about their self-contained project structure for independent execution with dotnet run.

- Tags: internals
- Published: 2026-08-01

### [Where to Find ASP.NET Core Sample Applications in the dotnet/aspnetcore Repository](/dotnet/aspnetcore/where-can-i-find-aspnet-core-sample-applications)

Discover runnable ASP.NET Core sample applications within the dotnet/aspnetcore repository. Find examples for minimal APIs SignalR Azure integrations and more.

- Tags: getting-started
- Published: 2026-08-01

### [What Is the Purpose of the `samples` Directory in ASP.NET Core?](/dotnet/aspnetcore/what-is-purpose-of-samples-directory-in-aspnetcore)

Discover the purpose of the samples directory in the dotnet/aspnetcore repository. Learn how these examples aid in understanding framework features, integration testing, and reference implementation.

- Tags: internals
- Published: 2026-08-01

### [What Types of Tests Are Found in the AspNetCore Test Directory?](/dotnet/aspnetcore/what-kind-of-tests-are-found-in-test-directory)

Explore the AspNetCore test directory for unit, integration, functional, conformance, and performance tests. Learn how xUnit and TestHost ensure code quality and protocol compliance.

- Tags: internals
- Published: 2026-08-01

### [How ASP.NET Core Tests Are Organized in the dotnet/aspnetcore Repository](/dotnet/aspnetcore/how-are-aspnet-core-tests-organized-in-repository)

Discover how ASP.NET Core tests are organized in the dotnet/aspnetcore repository. Learn about component-centric layout, xUnit tests, and functional test structures.

- Tags: internals
- Published: 2026-08-01

### [Where Are the Tests for ASP.NET Core Located? A Complete Directory Guide](/dotnet/aspnetcore/where-are-tests-for-aspnet-core-located)

Discover the exact location of ASP.NET Core tests within the dotnet/aspnetcore repository. Find xUnit test projects organized by component in their respective test subfolders.

- Tags: how-to-guide
- Published: 2026-08-01

### [What Is the Test Directory in ASP.NET Core? Repository Structure and Architecture](/dotnet/aspnetcore/what-is-role-of-test-directory-in-aspnetcore)

Discover the role of the test directory in aspnetcore. Explore unit, functional, and integration tests that ensure subsystem integrity and stability.

- Tags: architecture
- Published: 2026-08-01

### [ASP.NET Core src Folder: Complete Directory Structure and Key Components Explained](/dotnet/aspnetcore/can-you-detail-contents-of-src-folder-in-aspnetcore)

Explore the ASP.NET Core src folder. Understand its directory structure and key components, including servers, middleware, security, and developer tools, to master framework implementation.

- Tags: deep-dive
- Published: 2026-08-01

### [ASP.NET Core Project Structure: A Complete Guide to the dotnet/aspnetcore Repository](/dotnet/aspnetcore/how-is-aspnetcore-project-structured)

Explore the dotnet aspnetcore repository structure Understand the layered architecture within src for servers hosting HTTP abstractions routing MVC SignalR and tooling.

- Tags: deep-dive
- Published: 2026-08-01

### [Where Are the ASP.NET Core Source Code Files Located in the dotnet/aspnetcore Repository?](/dotnet/aspnetcore/where-are-aspnet-core-source-code-files-located)

Locate ASP.NET Core source code files within the dotnet/aspnetcore repository. Discover subfolders like src/Http, src/Mvc, and src/SignalR for easy navigation.

- Tags: internals
- Published: 2026-08-01

### [What Is the `src` Directory in ASP.NET Core? Purpose and Architecture Explained](/dotnet/aspnetcore/what-is-purpose-of-src-directory-in-aspnetcore)

Explore the src directory in aspnetcore to understand its purpose. Discover how source code is organized into modular libraries for Http, Mvc, SignalR, and more.

- Tags: architecture
- Published: 2026-08-01

### [ASP.NET Core WebSockets Implementation: A Deep Dive into the Middleware and Transport Layers](/dotnet/aspnetcore/where-are-aspnet-cores-websockets-implemented)

Discover ASP.NET Core WebSockets implementation. Explore the WebSocketMiddleware and transport layers for efficient real-time communication.

- Tags: deep-dive
- Published: 2026-07-13

### [ASP.NET Core Startup Class Structure Explained: A Complete Guide to dotnet/aspnetcore](/dotnet/aspnetcore/what-is-the-structure-of-an-aspnet-core-startup-class)

Understand the ASP.NET Core Startup class structure. Learn about the constructor, ConfigureServices, and Configure methods for robust application setup and DI.

- Tags: deep-dive
- Published: 2026-07-13

### [How Does ASP.NET Core Handle Static Files? Complete Guide to StaticFileMiddleware](/dotnet/aspnetcore/how-does-aspnet-core-handle-static-files)

Learn how ASP.NET Core handles static files with StaticFileMiddleware. Discover URL mapping, content streaming, caching, range requests, and compression for optimal performance.

- Tags: how-to-guide
- Published: 2026-07-13

### [Where to Find ASP.NET Core Razor Pages Source Code: A Complete Guide to the Implementation](/dotnet/aspnetcore/where-to-find-source-for-aspnet-core-razor-pages)

Discover where to find ASP.NET Core Razor Pages source code. Explore the implementation details in the dotnet/aspnetcore repository.

- Tags: how-to-guide
- Published: 2026-07-13

### [How Logging Is Implemented in ASP.NET Core: Architecture and Provider Deep Dive](/dotnet/aspnetcore/how-is-logging-implemented-in-aspnet-core)

Explore ASP.NET Core logging architecture using Microsoft.Extensions.Logging. Understand the provider model and how ILoggerFactory creates ILogger instances for efficient message forwarding.

- Tags: architecture
- Published: 2026-07-13

### [Configuration Options for ASP.NET Core Applications: Provider Pipeline and Patterns](/dotnet/aspnetcore/what-are-the-configuration-options-for-aspnet-core-applications)

Explore ASP.NET Core configuration options, mastering provider pipelines like JSON, environment variables, and secrets for flexible application settings and POCO binding.

- Tags: deep-dive
- Published: 2026-07-13

### [How Does ASP.NET Core Manage Session State? A Deep Dive into the Middleware Pipeline](/dotnet/aspnetcore/how-does-aspnet-core-manage-session-state)

Discover how ASP.NET Core manages session state using middleware, cookies, and distributed caching. Learn about ISessionStore and IDataProtectionProvider for secure session handling.

- Tags: deep-dive
- Published: 2026-07-13

### [Where to Find the Source Code for ASP.NET Core's MVC Components](/dotnet/aspnetcore/where-is-the-source-code-for-aspnet-core-mvc-components)

Locate ASP.NET Core MVC source code in the dotnet/aspnetcore repository's src/Mvc/src directory. Explore controllers, routing, model binding, filters, and view rendering.

- Tags: api-reference
- Published: 2026-07-13

### [What is IHostingEnvironment in ASP.NET Core: Environment-Aware Configuration Guide](/dotnet/aspnetcore/what-is-the-role-of-ihostingenvironment-in-aspnet-core)

Learn about IHostingEnvironment in ASP.NET Core, a key interface for runtime context. Discover how to manage environment specific configurations for your application.

- Tags: deep-dive
- Published: 2026-07-13

### [How ASP.NET Core Handles Authentication and Authorization: A Deep Dive into the Security Middleware Pipeline](/dotnet/aspnetcore/how-does-aspnet-core-handle-authentication-and-authorization)

Discover how ASP.NET Core expertly separates authentication and authorization using middleware in the request pipeline to secure your web applications effectively.

- Tags: deep-dive
- Published: 2026-07-13

### [Where to Find ASP.NET Core Model Binding Source Code: Architecture and Key Files](/dotnet/aspnetcore/where-to-find-aspnet-core-model-binding-source-code)

Explore the ASP.NET Core model binding source code in the dotnet/aspnetcore repository. Discover the architecture and key files for efficient development.

- Tags: architecture
- Published: 2026-07-13

### [How Filters Are Implemented and Applied in ASP.NET Core: Architecture and Pipeline](/dotnet/aspnetcore/how-are-filters-implemented-and-applied-in-aspnet-core)

Discover how ASP.NET Core implements filters through its pluggable pipeline and IFilterProvider architecture. Learn about filter factories and execution for actions and minimal APIs, optimizing your web applications.

- Tags: architecture
- Published: 2026-07-13

### [What Is the Purpose of HttpContext in ASP.NET Core? A Complete Guide to the Request Pipeline](/dotnet/aspnetcore/what-is-the-purpose-of-httpcontext-in-aspnet-core)

Discover the purpose of HttpContext in ASP.NET Core. Access request/response details, user identity, and more to understand the request pipeline.

- Tags: deep-dive
- Published: 2026-07-13

### [Where Is the EndpointRoutingMiddleware Implementation in ASP.NET Core?](/dotnet/aspnetcore/where-is-the-implementation-of-endpointroutingmiddleware)

Discover the EndpointRoutingMiddleware implementation in ASP.NET Core at src/Http/Routing/src/EndpointRoutingMiddleware.cs. Learn how it matches routes and selects endpoints.

- Tags: internals
- Published: 2026-07-13

### [How ASP.NET Core Handles Routing: From IRouter to Endpoint Routing](/dotnet/aspnetcore/how-does-aspnet-core-handle-routing)

Understand how ASP.NET Core routing evolved from IRouter to Endpoint Routing. Discover how this system efficiently matches HTTP requests to your application's endpoints.

- Tags: internals
- Published: 2026-07-13

### [Core Components of an ASP.NET Core Application: Architecture and Implementation](/dotnet/aspnetcore/what-are-the-core-components-of-an-aspnet-core-application)

Understand ASP.NET Core application core components like Generic Host, Dependency Injection, Middleware, and Routing. Learn how they work together to process HTTP requests efficiently.

- Tags: architecture
- Published: 2026-07-13

### [How Dependency Injection Is Managed in ASP.NET Core Internal Architecture](/dotnet/aspnetcore/how-is-dependency-injection-managed-in-aspnet-core-internal-architecture)

Discover how ASP.NET Core manages dependency injection internally using IServiceCollection and IServiceProvider. Learn about WebApplicationBuilder and scoped lifetimes for efficient service management.

- Tags: internals
- Published: 2026-07-13

### [Where to Find the ASP.NET Core Hosting Source Code: A Complete Guide to the dotnet/aspnetcore Repository](/dotnet/aspnetcore/where-to-find-aspnet-core-hosting-source-code)

Discover the ASP.NET Core hosting source code in the dotnet/aspnetcore repository. Explore the src/Hosting/Hosting/src directory to understand its hosting stack.

- Tags: how-to-guide
- Published: 2026-07-13

### [How ASP.NET Core Processes Incoming HTTP Requests: Pipeline Architecture Explained](/dotnet/aspnetcore/how-does-aspnet-core-process-incoming-http-requests)

Understand how ASP.NET Core processes incoming HTTP requests using its middleware pipeline architecture. Learn how requests are handled sequentially to generate responses efficiently.

- Tags: internals
- Published: 2026-07-13

### [What Is the Role of IApplicationBuilder in ASP.NET Core Startup?](/dotnet/aspnetcore/what-is-the-role-of-iapplicationbuilder-in-aspnet-core-startup)

Discover the role of IApplicationBuilder in ASP.NET Core startup. Learn how it helps assemble the HTTP request pipeline and register middleware for efficient request handling.

- Tags: internals
- Published: 2026-07-13

### [Where Is the Request Handling Logic Implemented in ASP.NET Core?](/dotnet/aspnetcore/where-is-request-handling-logic-implemented-in-aspnet-core)

Discover where ASP.NET Core implements request handling logic. Explore the Kestrel server, HttpApplication bridge, and middleware pipeline for efficient request processing.

- Tags: internals
- Published: 2026-07-13

### [How the Middleware Pipeline Is Configured in ASP.NET Core: Inside ApplicationBuilder](/dotnet/aspnetcore/how-is-middleware-pipeline-configured-in-aspnet-core)

Learn how ASP.NET Core configures its middleware pipeline with ApplicationBuilder. Understand how RequestDelegate instances are chained and wrapped when Build() is called.

- Tags: internals
- Published: 2026-07-13

### [ASP.NET Core Host Building and Configuration: WebApplicationBuilder vs WebHostBuilder](/dotnet/aspnetcore/aspnet-core-host-building-and-configuration-with-webapplication-and-webhostbuilder)

Understand ASP.NET Core host building and configuration. Learn when to use WebApplicationBuilder for new projects versus WebHostBuilder for legacy scenarios to simplify setup and optimize performance.

- Tags: deep-dive
- Published: 2026-06-20

### [ASP.NET Core 7+ Output Caching Configuration: Complete Guide to In-Memory and Redis Storage](/dotnet/aspnetcore/aspnet-core-7-plus-output-caching-configuration)

Master ASP.NET Core 7+ output caching configuration with this guide. Learn in-memory and Redis storage setup to boost your application performance.

- Tags: how-to-guide
- Published: 2026-06-20

### [ASP.NET Core Rate Limiting Middleware Deep Dive: IRateLimiterPolicy and Endpoint Configuration](/dotnet/aspnetcore/aspnet-core-rate-limiting-middleware-and-iratelimitermetadata)

Master ASP.NET Core rate limiting middleware. Learn about IRateLimiterPolicy and endpoint configuration with RateLimiterOptions for robust API protection.

- Tags: deep-dive
- Published: 2026-06-20

### [ASP.NET Core Health Check Implementations and Endpoints: A Complete Technical Guide](/dotnet/aspnetcore/aspnet-core-health-check-implementations-and-endpoints)

Implement ASP.NET Core health checks easily. Explore middleware, IHealthCheck, and endpoints for robust application health monitoring. Get the complete technical guide.

- Tags: deep-dive
- Published: 2026-06-20

### [ASP.NET Core Minimal APIs vs MVC Controller Routing: Key Differences Explained](/dotnet/aspnetcore/difference-between-aspnet-core-minimal-apis-and-mvc-controller-routing)

Explore ASP.NET Core Minimal APIs vs MVC controller routing. Understand the key differences in endpoint models, attribute routing, and framework features to choose the best approach for your application.

- Tags: comparison
- Published: 2026-06-20

### [How to Serve Files with ASP.NET Core FileProviders: A Complete Guide](/dotnet/aspnetcore/serving-files-with-aspnet-core-fileproviders)

Learn to serve files with ASP.NET Core FileProviders. Access content from disks, embedded resources, or custom sources easily and efficiently. Get the complete guide.

- Tags: how-to-guide
- Published: 2026-06-20

### [Implementing gRPC Services in ASP.NET Core: A Complete Developer Guide](/dotnet/aspnetcore/implementing-grpc-services-in-aspnet-core)

Learn to implement gRPC services in ASP.NET Core. This guide covers defining contracts, creating services, and configuring your application pipeline for efficient communication.

- Tags: how-to-guide
- Published: 2026-06-20

### [ASP.NET Core Blazor Components Rendering and State Management: A Deep Dive into the Source Code](/dotnet/aspnetcore/aspnet-core-blazor-components-rendering-and-state-management)

Explore Blazor components rendering and state management in ASP.NET Core. Understand the diff-based render tree architecture, lifecycle events, and efficient DOM updates from the source code.

- Tags: deep-dive
- Published: 2026-06-20

### [Using IHttpClientFactory for Typed HttpClient Instances in ASP.NET Core](/dotnet/aspnetcore/using-ihttpclientfactory-for-typed-httpclient-instances-in-aspnet-core)

Learn to use IHttpClientFactory for typed HttpClient instances in ASP.NET Core. Manage HttpClient lifecycles, prevent socket exhaustion, and create testable HTTP service abstractions.

- Tags: how-to-guide
- Published: 2026-06-20

### [ASP.NET Core OpenAPI Integration with Microsoft.AspNetCore.OpenApi: Complete Implementation Guide](/dotnet/aspnetcore/aspnet-core-openapi-integration-with-microsoftaspnetcoreopenapi)

Integrate OpenAPI into ASP.NET Core apps using Microsoft.AspNetCore.OpenApi. Generate OpenAPI documents easily with runtime or build-time generation and customizable transformers. Learn more.

- Tags: how-to-guide
- Published: 2026-06-20

### [Implementing Antiforgery Validation with IAntiforgeryMetadata in ASP.NET Core](/dotnet/aspnetcore/implementing-antiforgery-validation-with-iantiforgerymetadata-in-aspnet-core)

Secure your ASP.NET Core apps by implementing antiforgery validation with IAntiforgeryMetadata. Learn how it signals token validation requirements and prevents exceptions.

- Tags: how-to-guide
- Published: 2026-06-20

### [Working with ConnectionInfo in ASP.NET Core Kestrel: A Complete Guide to Connection Metadata](/dotnet/aspnetcore/working-with-connection-information-via-connectioninfo-in-aspnet-core-kestrel)

Master ASP.NET Core Kestrel connection metadata with ConnectionInfo. Access IPs, ports, IDs, and more via HttpContext Connection. Learn how to leverage this crucial abstraction for better web application control and insights.

- Tags: deep-dive
- Published: 2026-06-20

### [Configuring CORS in ASP.NET Core with ICorsMetadata and Policy Metadata](/dotnet/aspnetcore/configuring-cors-in-aspnet-core-with-icorsmetadata-and-policy-metadata)

Learn to configure CORS in ASP.NET Core by inspecting endpoint metadata with ICorsMetadata and policy metadata. Discover the deterministic policy resolution order.

- Tags: how-to-guide
- Published: 2026-06-20

### [ASP.NET Core Response Caching with IDistributedCache and Middleware: A Complete Guide](/dotnet/aspnetcore/aspnet-core-response-caching-with-idistributedcache-and-middleware)

Implement ASP.NET Core response caching using IDistributedCache and middleware. Learn how to create a custom IResponseCache for distributed caching across servers.

- Tags: deep-dive
- Published: 2026-06-20

### [ASP.NET Core Model Binding with `[FromBody]`, `[FromRoute]`, and `[FromQuery]` Attributes: Implementation Details and Best Practices](/dotnet/aspnetcore/aspnet-core-model-binding-with-frombody-fromroute-fromquery-attributes)

Master ASP.NET Core model binding with [FromBody], [FromRoute], and [FromQuery] attributes. Learn implementation details and best practices to efficiently map HTTP request data to your action parameters.

- Tags: best-practices
- Published: 2026-06-20

### [Understanding Claim-Based Authentication and ClaimsPrincipal in ASP.NET Core HttpContext](/dotnet/aspnetcore/understanding-claim-based-authentication-and-claimsprincipal-in-aspnet-core-httpcontext)

Master claim-based authentication and ClaimsPrincipal in ASP.NET Core HttpContext. Secure your applications effectively by understanding how authentication tickets build user identity for authorization.

- Tags: deep-dive
- Published: 2026-06-20

### [Implementing Endpoint Filters with IEndpointFilter in ASP.NET Core Minimal APIs](/dotnet/aspnetcore/implementing-endpoint-filters-with-iendpointfilter-in-aspnet-core-minimal-apis)

Learn how to implement IEndpointFilter in ASP.NET Core minimal APIs to intercept requests before they reach your handlers. Enhance your API security and logic efficiently.

- Tags: how-to-guide
- Published: 2026-06-20

### [Using IHttpContextAccessor to Access HttpContext Outside the ASP.NET Core Request Pipeline](/dotnet/aspnetcore/using-ihttpcontextaccessor-for-accessing-httpcontext-outside-of-aspnet-core-request-pipeline)

Learn how to use IHttpContextAccessor to access HttpContext outside the ASP.NET Core request pipeline inject it into services or workers and safely read the current HTTP context

- Tags: how-to-guide
- Published: 2026-06-20

### [Configuring WebSocket Connections with WebSocketManager in ASP.NET Core](/dotnet/aspnetcore/configuring-websocket-connections-with-websocketmanager-in-aspnet-core)

Learn to configure WebSocket connections in ASP.NET Core using WebSocketManager. Easily detect and upgrade HTTP requests to WebSockets with AddWebSockets and UseWebSockets.

- Tags: how-to-guide
- Published: 2026-06-20

### [Working with HttpContext.Features and IFeatureCollection in ASP.NET Core](/dotnet/aspnetcore/working-with-httpcontext-features-collection-and-ifeaturecollection-in-aspnet-core)

Explore HttpContext.Features and IFeatureCollection in ASP.NET Core. Learn how to access per-request capabilities using typed Get and Set methods for efficient middleware communication.

- Tags: deep-dive
- Published: 2026-06-20

### [Implementing ProblemDetails and HttpValidationProblemDetails for ASP.NET Core API Error Responses](/dotnet/aspnetcore/implementing-problemdetails-and-httpvalidationproblemdetails-for-aspnet-core-api-error-responses)

Learn to implement ProblemDetails and HttpValidationProblemDetails in ASP.NET Core for standardized API error responses. Simplify error handling for RFC 9110 compliance.

- Tags: how-to-guide
- Published: 2026-06-20

### [ASP.NET Core Endpoint Routing Metadata: Implementing IEndpointMetadataProvider](/dotnet/aspnetcore/understanding-aspnet-core-endpoint-routing-metadata-and-iendpointmetadataprovider)

Learn how ASP.NET Core endpoint metadata and IEndpointMetadataProvider work. Discover how to customize endpoint behavior during route construction with PopulateMetadata.

- Tags: deep-dive
- Published: 2026-06-20

### [How to Implement Custom Middleware in ASP.NET Core Using IMiddleware](/dotnet/aspnetcore/how-to-implement-custom-middleware-in-aspnet-core-using-imiddleware)

Learn to implement custom middleware in ASP.NET Core with IMiddleware. Use constructor injection and DI to build robust applications. Register and add middleware easily.

- Tags: how-to-guide
- Published: 2026-06-20

