Skip to content

Instantly share code, notes, and snippets.

Created January 24, 2021 09:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save fzankl/968192bb1357e86f8a0e0b81c5a595b4 to your computer and use it in GitHub Desktop.
Sample project file of a gRPC service in ASP.NET Core
<Project Sdk="Microsoft.NET.Sdk">
<Protobuf Include="..\..\protos\foo.proto" GrpcServices="Client">
<PackageReference Include="Google.Protobuf" Version="3.13.0" />
<PackageReference Include="Grpc.Net.Client" Version="2.33.1" />
<PackageReference Include="Grpc.Tools" Version="2.33.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment