Posts

Showing posts with the label ASP.NET MVC

How to handle actions and views names in my ASP.NET MVC application?

Image
I have an ASP.NET MVC applications and i don't want to explicitly write the actions or the views names like this : return RedirectToAction("Index"); or return View("Home"); what is the best practice for handling those strings? There is a T4 based approach to creating ASP.NET MVC strongly typed helpers. T4 Template Source on Stackoverflow