Namespace NanoRoute

Classes

BuilderMetadata

Stores extension-defined builder settings keyed by their CLR type.

EndpointBuilder

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

ErrorDetails

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

ExceptionHandlingConfig

Configures how AddExceptionHandler<TBuilder>(TBuilder) normalizes unexpected exceptions.

HttpListenerRouter

Routes HttpListenerContext instances through a NanoRoute pipeline.

HttpListenerRouterConfig

Configuration settings for HttpListenerRouter.

HttpRequestMessageExtensions

HttpResponseMessage extensions.

JsonErrorDetailsConfig

Configures how AddJsonErrorDetails<TBuilder>(TBuilder) creates JSON ErrorDetails responses.

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.

QueryParsingConfig

Configures how query-binding middleware parses query strings.

RouteScopeBuilder

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

Router

Executes the route matching pipeline built by RouteScopeBuilder.

RouterBuilder<TRouter, TConfig>

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

RouterConfig

Configures runtime behavior of Router instances.

Router<TDescendant, TConfig>

Provides the self-typed base for concrete router implementations with strongly typed configuration.

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.

ConfigureBuilderDelegate<TConfig>

Updates a typed builder configuration object.

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 specific 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