Md Abu Hena Mostofa Kamal

Results 3 comments of Md Abu Hena Mostofa Kamal

@nicholasdgoodman Thanks for the workaround, This is basically a way of calling a synchronous method from an asynchronous context . However it will still block the main request thread when...

In General blocking calls are always a problem. According to : https://learn.microsoft.com/en-us/aspnet/core/performance/performance-best-practices?view=aspnetcore-6.0#avoid-blocking-calls we should not be doing `Task.Run` for ASPNET Core as you mentioned it would created unnecessary thread pool...

[nicholasdgoodman](https://github.com/nicholasdgoodman) But still the message send will be synchronous . We could create session during start up in a blocking way but it is not the case for `Send`. So...