The gRPC Protobuf .NET services for Durable Task Framework.
$ dotnet add package Microsoft.DurableTask.GrpcThis 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.
To update the protobuf definitions in this directory, follow these steps:
.\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.