Hi there. I'm new in ASP.NET MVC,
I have many actions in my controllers, so they return different ActionResults like this: return View("blablabla"); or return RedirectToAction("actionName", "controllerName"); etc.
So what I don't like about this is amount of hardcoded string values of actions' and controllers' names. If I change the name of controller or action I have to go through all my code to change code everywhere, where this action/controller was returned as an ActionResult.
So, guys, how do you manage this situation? Do you extract all the names into classes with constant or static readonly string fields with names of actions/controllers?
Or maybe you use smth. else?