Skip to content

v3.0.0.733

Latest

Choose a tag to compare

@I-RzR-I I-RzR-I released this 06 Jun 23:13
6165b2f

What's Changed


  • Renames the assembly, root namespace, and NuGet package from EndpointHostBinder to RzR.Infrastructure.EndpointHosting, expands the target matrix, and adds a large feature set on top of the existing controller-less endpoint middleware.
  • Add EndpointHostOptions: configurable PathComparison (default OrdinalIgnoreCase) and PassThroughOnNoExecutor (default true), wired via RegisterEndpointHostBuilder(Action).
  • Route parameters: templated paths (e.g. /users/{id}) with deterministic specificity (literal > highest LiteralCount > registration order); captured values exposed through HttpContextRouteValuesExtensions.
  • Self-contained OpenAPI 3.0.1 document generation via UseEndpointHostOpenApi(path, title, version) - no third-party generator.
  • Built-in result types via the EndpointResults factory (Ok, Ok, Json, Text, NoContent, NotFound, StatusCode, Problem).
  • Configurable handler service lifetime on AddHostEndpoint and AddHostEndpointsFromAssembly (endpoint metadata stays singleton).

Full Changelog: v2.0.0.7486...v3.0.0.733