T4MVC or MvcFutures for strongly typed links in views

I am trying to reduce / eliminate the “magic lines” from my MVC3 project and wondered which approach would be better:

  • use MvcFutures and do something like:

    var title = "Create New Customer"; 
    Html.ActionLink
        (c => c.Create (), title, new {@class = "button", title = title});
  • use T4MVC

Which option is more flexible, more efficient, easier to refactor, etc. etc.

Thoughts?

+3
source share
2 answers

T4MVC, . , ( ) . - , (, - ).

, T4MVC dummy ActionResult. , ActionImage, .

T4MVC , . , .tt , .tt(, Chirpy).

+5

T4MVC . MvcFutures, , , , ( , MVC). , , MvcFutures .

0

Source: https://habr.com/ru/post/1794571/


All Articles