开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜