grpc-dotnet icon indicating copy to clipboard operation
grpc-dotnet copied to clipboard

add target framework variable

Open Varorbc opened this issue 1 year ago • 2 comments

@JamesNK Hey, I noticed things got a bit messy when I was defining the target frameworks. Can you help me confirm the final target frameworks? For example, Grpc.Net.Client supports net462, netstandard2.0, netstandard2.1, net6.0, net7.0, and net8.0, but Grpc.Net.ClientFactory only supports netstandard2.0, netstandard2.1, net6.0, net7.0, and net8.0—it’s missing net462. Also, can you check if this is correct? And by the way, is netstandard2.1 really necessary?

Varorbc avatar Sep 10 '24 14:09 Varorbc

Grpc.Net.Client supports net462

net462 was added to Grpc.Net.Client so it could automatically include and use the WinHttpHandler package.

netstandard2.0 supports .NET Framework, so I don't think it was added anywhere else.

And by the way, is netstandard2.1 really necessary?

It's not needed anymore.

JamesNK avatar Sep 10 '24 14:09 JamesNK

@JamesNK Can you review it?

Varorbc avatar Sep 17 '24 11:09 Varorbc

I believe this would allow load balancing support for net9.0. Which is something that is needed at the moment.

MoonlitLithium avatar Jan 23 '25 18:01 MoonlitLithium

Load balancing is already supported with .net9. What happens when you use it?

JamesNK avatar Jan 24 '25 02:01 JamesNK