Description of problem
An MVC controller which implements IAsyncController or an action method which returns Task<ActionResult> aren't respected and no asynchronous processing happens. This is a standard supported feature of MVC, and now that DNN supports async processing in the main view process, this should be able to be enabled.
Description of solution
Update the processing of MVC controllers and results to support asynchronicity.
Description of alternatives considered
n/a
Additional context
Currently, a Task returning action will be interpreted as a ContentResult and the text System.Threading.Tasks.Task[System.Web.Mvc.ActionResult] will be displayed.
Description of problem
An MVC controller which implements
IAsyncControlleror an action method which returnsTask<ActionResult>aren't respected and no asynchronous processing happens. This is a standard supported feature of MVC, and now that DNN supports async processing in the main view process, this should be able to be enabled.Description of solution
Update the processing of MVC controllers and results to support asynchronicity.
Description of alternatives considered
n/a
Additional context
Currently, a
Taskreturning action will be interpreted as aContentResultand the textSystem.Threading.Tasks.Task[System.Web.Mvc.ActionResult]will be displayed.