Skip to content

Instantly share code, notes, and snippets.

@gistlyn gistlyn/Program.cs
Last active Dec 31, 2019

What would you like to do?
C# Google protoc insecure GrpcServicesClient TodoWorld Example
using System;
using System.Threading.Tasks;
using Grpc.Core;
using Grpc.Net.Client;
namespace TodoWorld
class Program
static async Task Main(string[] args)
AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport", true);
var client = new GrpcServices.GrpcServicesClient(
var response = await client.GetHelloAsync(new Hello { Name = "gRPC C#" });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.