AsyncController in MVC2 and T4MVC: can they work t

2019-06-11 23:35发布

问题:

Async actions in AsyncControllers (in MVC2) have two action methods (ActionNameAsync and ActionNameCompleted) which seem to confuse T4MVC.

If it can't be done with T4MVC, is there a way to disable it from trying to include these methods?

回答1:

Indeed, async controllers don't currently work with T4MVC. Here was a thread discussing it: http://forums.asp.net/t/1534619.aspx

Is this causing something to break for you, or is it simply that T4MVC is not available for those methods, but everything else works fine?