dotnet / dotnet/AspNetCore.Docs

Create a gRPC client in .Net Framework 4.6 or higher to connect to a micreoservice that has a gRPC server in .NET Core 6 or higher.

Open
#28,787 1 comment 0 reactions 1 assignee Claimed by @wadepickett View on GitHub
doc-idea gRPC
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

Create a gRPC client in .Net Framework 4.6 or higher

- I have been looking for some documentation that explains how to make a gRPC client in an application made in .Net 4.7, we plan to migrate it to microservices, but while we do the migration, we need to communicate the microservices that we are developing with the application.
- https://learn.microsoft.com/en-us/aspnet/core/tutorials/grpc/grpc-start?view=aspnetcore-7.0&tabs=visual-studio

We have been working on a hybrid RESTful and gRPC microservice using .Net Core 6 that services
to the front end and the application in .Net Framework 4.7.

- I have tried to look for an example that makes a gRPC connection between a client and a server, but all I have found are examples that use the same library where there is an interface to the service.
- https://github.com/grpc/grpc-dotnet/tree/master/examples/Frameworker

- Other pages only say how to configure the channel.
- https://stackoverflow.com/questions/58125102/grpc-net-client-fails-to-connect-to-server-with-ssl/66041094#66041094
- https://learn.microsoft.com/en-us/aspnet/core/grpc/netstandard?view=aspnetcore-5.0
- I have tried to make a bridge library in .Net Standard 2.0 but I think I am doing something wrong. For this reason, I am asking for a guide or an example.

Thank you very much in advance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.