Skip to content

Instantly share code, notes, and snippets.

@gistlyn gistlyn/Program.cs

Created Dec 28, 2019
What would you like to do?
ServiceStack C# gRPC Generic ServiceClient TodoWorld Example
using System;
using System.Threading.Tasks;
using System.Security.Cryptography.X509Certificates;
using ServiceStack;
using TodoWorld.ServiceModel;
namespace TodoWorld
class Program
public static async Task Main(string[] args)
var client = new GrpcServiceClient("",
new X509Certificate2("".GetBytesFromUrl()),
var response = await client.GetAsync(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.