Controller with some synchronous and some asynchronous actions?
Is there a way to have a controller with some synchronous and some asynchro开发者_如何学JAVAnous methods on it? I have one action that would benefit from using an asynchronous model, but I don't want to drag the rest of the actions with it if I can help it.
So far the only way I've seen to do MVC async is to change the whole controller to an AsyncController.
Stupid question I guess. Looks like you can just put synchronous actions on an AsyncController.
精彩评论