Grpc.Net.Client causing AspNetCore requests to hang on .NET Framework
See original GitHub issueWe have a legacy .NET Framework application using ASP.NET Core. When the Grpc.Net.Client
NuGet package is added to the project, the server starts but all ASP.NET Core requests hang.
I’ve created a minimal repro. The only difference between GoodApi
and BrokenApi
is the following reference:
<PackageReference Include="Grpc.Net.Client" Version="2.37.0" />
Note that we have another legacy OWIN .NET Framework application using ASP.NET (not core), and are not experiencing these issues.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
c# - Grpc client in .net standard fails when called from . ...
Grpc.Net.Client only works on .NET Framework (as opposed to .NET Core and .NET5+) with limitations. The reason is that .NET Framework ...
Read more >.NET & GRPC What they forgot to tell you | FAESEL.COM
NET Framework client app consume a .NET Core GRPC server? How to debug with tools, call an endpoint; Authentication and authorization ...
Read more >Troubleshoot gRPC on .NET
Call insecure gRPC services with .NET Core client. The .NET gRPC client can call insecure gRPC services by specifing http in the server...
Read more >Performance best practices with gRPC
ASP.NET Core apps use server GC by default. Highly concurrent apps generally perform better with server GC. If a gRPC client app is...
Read more >Implementing Microservices with gRPC and .NET Core 3.1
Moving forward, you will learn how to use gRPC in .NET Core 3.1 by building a simple service and a client communicating through...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ASP.NET Core 2.x is no longer supported. Updating to a newer version will fix your issue, but that means you’ll need to use .NET Core. 2.x was the latest version that supported .NET Framework.
Thanks James. I guess that’s good news on the gRPC front at least.
Is this something I should raise with another team, or do you think I should reconsider calling gRPC services in these projects?
(or, indeed, use this as an opportunity to upgrade - as I’m anticipating this is going to be the first of many impedance mismatches we will be facing…)