Skip to content

NexusEndpointRouteBuilderExtensions

class

Namespace: Microsoft.AspNetCore.Builder

Maps Nexus services, whose operations start durable work and cancel it, per the Nexus HTTP protocol.
public static class NexusEndpointRouteBuilderExtensions

Remarks

Nexus is the protocol of Temporal's cross-namespace operations: a caller starts an operation with POST {endpoint}/{service}/{operation} and cancels it with POST {endpoint}/{service}/{operation}/cancel, addressing it by the token which the start returned. See the Nexus HTTP specification.

Nexus operations are durable operations like those which DurableHttpEndpointRouteBuilderExtensions configures: the caller's Nexus-Request-Id names the operation within the service's scope and the caller's, which DurableHttpOptions returns. A group of the same scope, without route parameters, addresses the same operations, so it can stream their status or deliver their signals. Authentication and authorization belong to the application, which configures them on the service's endpoints.

Methods