GRPC endpoints for server.
The chatty orchestration execution communication is done with bidirectional streaming, maintaining the orchestration session alive in the server side.
Activity execution and all remaining communication is done with non streamed rpc.
services.AddDurableTaskServer(builder =>
{
builder.AddGrpcEndpoints();
});
...
app.UseEndpoints(endpoints =>
{
endpoints.MapDurableTaskServerGrpcService();
});