WithDurableOperations(RouteGroupBuilder, string)
staticextension
public static RouteGroupBuilder WithDurableOperations(this RouteGroupBuilder group, string scope) Makes the group's endpoints which return durable work start operations, and maps the endpoints which serve the group's operations under
{group}/operations. Parameters
groupRouteGroupBuilder- The route group, such as
app.MapGroup("/orders/{orderId}"). scopestring- The scope of the group's operations, such as
orders, which is part of every operation's key, so it stays equal while the group's routes change. Groups, and Nexus services, with equal scopes and route values address the same operations.
Returns
The group, which maps the group's durable starts and signals, and configures its endpoints.
Exceptions
System.ArgumentExceptionscopeis empty.
