Closed BramVader closed 3 years ago
From my understanding, you can use .NET 5.0
with .NET Standard 2.1
and there's no reason to add a target for .NET 5.0
. See this awesome analogy made by David Fowler.
Elad
Thanks for your response. It's indeed the target framework of the consuming application that matters. So if my consuming application is running under .net 5 (with the latest fixes) and because .net 5 exposes the .net standard 2.1. "interface" (as per the analogy), WampSharp will also benefit from the latest fixes. Makes sense...
We regularly experience the following exception (mostly under heavy load):
I noticed the AwaitForResult lines at the end can be 100's of lines (sounds like recursion). I suspect that every AwaitForResult line stands for an ongoing WAMP-operation (we use a lot of long running, progressive RPCs).
When this error occurs, the ongoing WAMP-operations are cancelled and it takes a while before the clients have started their new long running progressive RPCs.
The cause of the exception seems to be known, see https://github.com/dotnet/runtime/issues/39198. It is fixed in .net 5.0.0 (see https://github.com/dotnet/runtime/pull/39199) and back ported to .net 3.1.18 (see https://github.com/dotnet/corefx/pull/42950).
I have no idea how this relates to .net standard but I know it versions slowly and might not have the fix in due time. Is it possible to have a separate .net 5 build so we can benefit from this fix?