Namespace NanoRoute

Classes

EndpointBuilder

Builds handlers and middleware that belong to a single route endpoint.

ErrorDetails

Describes an HTTP error in a structured, serializer-agnostic format.

ExceptionHandlingOptions

Configures exception normalizers for a single exception-handling middleware registration.

HttpListenerRouter

Routes HttpListenerContext instances through a NanoRoute pipeline.

HttpListenerRouterConfig

Configuration settings for HttpListenerRouter.

HttpMessageRouter

Routes HttpRequestMessage instances through a NanoRoute pipeline without a transport adapter.

HttpMethodExtensions

HttpMethod helpers.

HttpRequestMessageExtensions

HttpRequestMessage extensions.

JsonErrorDetailsOptions

Configures JSON error responses and exception normalization for a JSON error-details middleware registration.

NanoRouteEndpointExtensions

Adds endpoint-building helpers to route scope builders.

NanoRouteExceptionExtensions

Adds helpers for normalizing exceptions and extracting structured error details.

NanoRouteHandlerExtensions

Adds typed handler overloads that project a RequestContext into a request object.

NanoRouteJsonExtensions

Adds JSON-focused helpers for request body binding, structured error responses, and JSON responses.

NanoRoutePrefixExtensions

Adds prefix-routing helpers that configure child route scopes under a shared base pattern.

NanoRouteQueryExtensions

Adds query-parameter binding helpers to NanoRoute.

NanoRouteValueParserExtensions

Provides convenience methods for registering value parsers.

RouteScopeBuilder

Builder responsible for configuring a route scope and its child route tree.

RouterBase<TConfig>

Provides shared configuration storage and request-pipeline execution for transport-specific router adapters.

RouterBuilder<TRouter, TConfig>

Builds a concrete router type together with its strongly typed configuration object.

RouterConfig

Configures runtime routing behavior for router instances.

ValueParserRegistration

Stores a named value parser together with its argument binder.

ValueSourceAttribute

Overrides the default binding behavior for a typed handler request property.

Structs

RequestContext

Carries request-specific data through the NanoRoute handler pipeline.

ValueParseResult

Represents the outcome of a value parser.

ValueParserContext

Carries the current route segment and request-scoped services into an asynchronous value parser.

Enums

MatchingPrecedence

Defines how the router prioritizes literal and parameterized child segments during matching.

UnexpectedParameterBehavior

Defines how query-binding middleware handles query-string parameters that are not declared in the binding descriptor.

ValueSource

Describes how a typed handler property is populated.

Delegates

BindArgumentsDelegate

Binds raw parser arguments to an opaque object that is cached with the route definition.

CallNextHandlerDelegate

Invokes the next compatible handler in the current routing pipeline.

ExceptionNormalizer

Converts an unexpected exception into an enriched HttpRequestException.

RequestHandlerDelegate

Represents a request handler in the router pipeline.

RouterFactoryDelegate<TRouter, TConfig>

Creates a router instance from a configured RouterBuilder<TRouter, TConfig>.

SyncValueParserDelegate

Represents a synchronous value parser.

TypedExceptionNormalizer<TException>

Converts an unexpected exception of a registered type into an enriched HttpRequestException.

TypedRequestEndpointHandlerDelegate<TRequestContext>

Represents a typed endpoint handler in the router pipeline.

TypedRequestHandlerDelegate<TRequestContext>

Represents a typed request handler in the router pipeline.

ValueParserDelegate

Tries to parse a single route segment into a value that can optionally be stored in Parameters.

In this article
Back to top Generated by DocFX