Skip to content

Instantly share code, notes, and snippets.

@fzankl
Created January 24, 2021 09:21
Embed
What would you like to do?
gRPC client factory in ASP.NET Core
public void ConfigureServices(IServiceCollection services)
{
services.AddGrpcClient<FooService.FooServiceClient>(options =>
{
options.Address = new Uri("https://localhost:5001");
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment