AsyncController in MVC2 and T4MVC: can they work together?

丶灬走出姿态 提交于 2020-01-14 05:39:21

问题


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?



来源:https://stackoverflow.com/questions/2951910/asynccontroller-in-mvc2-and-t4mvc-can-they-work-together

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!