AddDurableHttp(IServiceCollection, Action<DurableHttpOptions>)
staticextension
public static IServiceCollection AddDurableHttp(this IServiceCollection services, Action<DurableHttpOptions>? configureOptions = null) Adds the services which the durable operation endpoints use, which
DurableHttpEndpointRouteBuilderExtensions and NexusEndpointRouteBuilderExtensions map. Parameters
servicesIServiceCollection- The service collection, which also provides an Orleans
IGrainFactory. configureOptionsAction<DurableHttpOptions>- Configures the operations, or
nullfor the defaults.
Returns
The service collection.
