.Net
async method inside OnActionExecuting action filter (MVC) – possible?
I have created a custom ActionFilter that goes like the following: public override void OnActionExecuting(ActionExecutingContext context){ SomeMethod().Wait(); } SomeMethod contains a awaitable call and therefore my only solution so far was to put the ‘.Wait()’ Read more…