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

    <Project Sdk="Microsoft.NET.Sdk.Web">
        <Protobuf Include="..\Proto\greet.proto" GrpcServices="Server" Link="Protos\greet.proto" />
        <PackageReference Include="Grpc.AspNetCore" Version="2.33.1" />
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.