Class HostingServiceCollectionExtensions

Namespace: redb.Route.Http
Assembly: redb.Route.Http.Hosting.dll

Registration for the shared Kestrel hosting infrastructure.

public static class HostingServiceCollectionExtensions

Inheritance

Object→HostingServiceCollectionExtensions

Methods

AddRedbRouteHttpHosting(IServiceCollection, Action<HttpHostingOptions>?)

Registers the shared host and applies configure to its

public static IServiceCollection AddRedbRouteHttpHosting(this IServiceCollection services, Action<HttpHostingOptions>? configure)

AddRedbRouteHttpHosting(IServiceCollection)

Registers the shared as a single instance for the container.

public static IServiceCollection AddRedbRouteHttpHosting(this IServiceCollection services)