Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full gRPC support when running on .NET Framework on Windows 11 #387

Merged
merged 5 commits into from
Apr 15, 2024

Conversation

wazzamatazz
Copy link
Contributor

Closes #385.

This PR backports the functionality of various adapter features that use bidirectional streaming from the netstandard2.1 target to net48. The net48 target will continue to use the existing implementation when it detects that the host operating system does not fully support gRPC over HTTP/2.

Adds .NET Framework-only static methods to `GrpcAdapterProxy` for checking if the host OS is Windows 11 or later.

When Windows 11 is being used, gRPC clients using WinHTTP can call both client and bidirectional streaming gRPC methods.
Backport bidirectional streaming from netstandard2.1 to net48 when running on Windows 11 or greater.

https://learn.microsoft.com/en-us/aspnet/core/grpc/netstandard#net-framework
@wazzamatazz wazzamatazz merged commit 486c2f7 into develop/4.0.0 Apr 15, 2024
1 check passed
@wazzamatazz wazzamatazz deleted the win11-full-grpc-support branch April 15, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add full netfx gRPC support on Windows 11
1 participant