Support Async for Controller Virtual Methods

Topics: ASP.NET MVC
Jul 22, 2013 at 3:55 PM
Hey guys do you plan on supporting async for the following methods on a controller?

protected virtual void Initialize(RequestContext requestContext)
protected virtual void OnActionExecuting(ActionExecutingContext filterContext)
protected virtual void OnActionExecuted(ActionExecutedContext filterContext)
protected virtual void OnAuthorization(AuthorizationContext filterContext)
protected virtual void OnException(ExceptionContext filterContext)
protected virtual void OnResultExecuted(ResultExecutedContext filterContext)
protected virtual void OnResultExecuting(ResultExecutingContext filterContext)

ASP.NET MVC would probably follow the Async convention of taking on Async to the existing methods and return a Task. Since these are the similar methods found in a Filter, I would assume that filters would also be supported.

Thanks,

Khalid