- Build the nuget package for JsonTranscoding.Protos. From the project root:
dotnet pack JsonTranscoding.Protos\JsonTranscoding.Protos.csproj --output=publish
- Add the above local publish folder from your filesystem to your NuGet package sources under Manage Nuget Package Sources so that VS can find it. This avoids having to publish it to a NuGet repository.
- Then the restore for MyGrpcService should work on build.
- Run the MyGrpcService project in VS. The console should output something like:
Now listening on: https://localhost:7119
- Go to a browser and verify that e.g. the request https://localhost:7119/v1/greeter/richard works and returns
Hello Richard
.