gRPC protobuf .NET services for Microsoft.DurableTask
.
Commonly used types:
TaskHubSidecarService
TaskHubSidecarServiceClient
For more information, see https://github.com/microsoft/durabletask-dotnet
Durable Task Protobuf
This directory contains the protobuf definitions for the Durable Task SDK, which are used to generate the C# source code for the gRPC service contracts. The official protobuf definitions are maintained in the Durable Task Protobuf repository.
Updating the Protobuf Definitions
To update the protobuf definitions in this directory, follow these steps:
- Make sure you have PowerShell installed on your machine.
- Run the following command to download the latest protobuf definitions from the Durable Task SDK repository:
.\refresh-protos.ps1
This script will download the latest protobuf definitions from the https://github.com/microsoft/durabletask-protobuf
repository and copy them to this directory.
By default, the latest versions of the protobufs are downloaded from the main
branch. To specify an alternative branch, use the -branch
parameter:
.\refresh-protos.ps1 -branch <branch-name>
The versions.txt
file in this directory contains the list of protobuf files and their commit hashes that were last downloaded. It is updated automatically by the refresh-protos.ps1
script.