I need to call some async methods in the Application_PostAcquireRequestState method of my Global.asax (these methods come from the library, and there is no equivalent synchronization method for these operations). I want this asynchronous code to complete before continuing the process of my page, because some security settings are set with the result of this asynchronous call.
What would be the right way to do this work without creating deadlocks?
thank
source
share