Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

T4MVC, is it outdated? Still good? If not what else to use?

Folks,

As of today should I introduce T4MVC in my project or use strongly typed goodness from MvcContrib?

return RedirectToAction(MVC.MyController.MyAction());

or

return RedirectToAction<MyController>(c => c.MyAction());

Trying to stick with standard/mainstream and stay up to date.

I know, there are Q&A on this site, I am interested to hear what is latest & greatest, rather than what was 2 years ago.

Thanks in advance.

like image 475
Display Name Avatar asked Aug 15 '12 15:08

Display Name


1 Answers

Both techniques are acceptable today and I haven't heard that one would be deprecated. T4MVC has the advantage of performing better which is one of the reasons why those strongly typed helpers taking lambda expressions are actually not part of the ASP.NET MVC core.

like image 113
Darin Dimitrov Avatar answered Sep 19 '22 03:09

Darin Dimitrov