MyCompany.MyGrpcClient 1.0.16

dotnet add package MyCompany.MyGrpcClient --version 1.0.16
                    
NuGet\Install-Package MyCompany.MyGrpcClient -Version 1.0.16
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MyCompany.MyGrpcClient" Version="1.0.16" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MyCompany.MyGrpcClient" Version="1.0.16" />
                    
Directory.Packages.props
<PackageReference Include="MyCompany.MyGrpcClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MyCompany.MyGrpcClient --version 1.0.16
                    
#r "nuget: MyCompany.MyGrpcClient, 1.0.16"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MyCompany.MyGrpcClient@1.0.16
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MyCompany.MyGrpcClient&version=1.0.16
                    
Install as a Cake Addin
#tool nuget:?package=MyCompany.MyGrpcClient&version=1.0.16
                    
Install as a Cake Tool

MyCompany.MyGrpcClient

gRPC client library for the Greeter service, built and published to nuget.org via Azure DevOps.

Local development

dotnet build                 # generates gRPC stubs from src/MyGrpcClient/Protos/*.proto
dotnet test                  # runs xunit tests
dotnet pack src/MyGrpcClient/MyGrpcClient.csproj -c Release -o ./artifacts

Usage

using MyCompany.MyGrpcClient;

var client = GreeterClientFactory.Create("https://my-grpc-server:5001");
var reply = await client.SayHelloAsync(new HelloRequest { Name = "world" });
Console.WriteLine(reply.Message);

Pipeline (azure-pipelines.yml)

Stage What it does When it runs
Build restore, build (stub codegen), test, pack, save artifact every PR and main build
Release push .nupkg + .snupkg to nuget.org main branch or v* tag

One-time setup in Azure DevOps

  1. Create an API key at nuget.org (scoped to MyCompany.MyGrpcClient).
  2. Pipelines → Edit → Variables → add NUGET_API_KEY (mark as secret).
  3. Pipelines → Environments → create nuget-org and add an Approval check (optional manual release gate).
  4. Point a new pipeline at azure-pipelines.yml in this repo.

Customizing

  • Package identity: edit PackageId, Authors, Description, RepositoryUrl in src/MyGrpcClient/MyGrpcClient.csproj.
  • Your service: replace src/MyGrpcClient/Protos/greeter.proto with your real .proto files — stubs regenerate automatically on build.
  • Versioning: packageVersion in the pipeline defaults to 1.0.$(Build.BuildId); swap in MinVer/GitVersion for tag-driven versions.
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.16 117 7/8/2026