<Project Sdk="Microsoft.NET.Sdk.Web">
      
        <PropertyGroup>
          <TargetFramework>net5.0</TargetFramework>
        </PropertyGroup>
      
        <ItemGroup>
          <Protobuf Include="..\Proto\greet.proto" GrpcServices="Server" Link="Protos\greet.proto" />
      
          <PackageReference Include="Grpc.AspNetCore" Version="2.33.1" />
        </ItemGroup>
      
      </Project>

      Csharp language logo
      gRPC Net 5 Creates csproj for the Server

      C# recipes

      This code defines a project that will use the .NET 5.0 target framework and the ProtoBuf library to create a protocol buffer service that can be used by other projects.

      Shortcut: g_r_p_c_server_csproj

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.