Open Herve-M opened 7 years ago
Ok after some research and test, I can say that nested await
are blocking on ASP.Net env.
Sometime inner await
are ignored.
Solution was to avoid to save the Context during call, with ConfigureAwait(false)
on: TransportProxy, SimpleTransport, Authentification, Discovery.
Herve-M
Hello,
It tried to use the SimpleTransport in a basic Asp.Net application and their is a little problem.
The
ExecuteRequestAsync
never return, only timeout after a very long time. It do it only on Asp.Net context with 4.6.X. After some research,obj.GetResponseAsync()
throw aSystem.Net.WebException
as expected but the await block it (or something like that). Migrating to a wait/result usage, it return aAggregateException
etc..Herve-M