Is there an alternative method to using strings for action and controler names as string?
for example is there any method similar to
typeOf(MyWebSite.Controllers.ControllerZ.Action01).Name
typeOf(MyWebSite.Controllers.ControllerZ).Name
being used? or is there a way to just use the Controller method name as such : MyWebSite.Controllers.ControllerZ.Action01
as a parameter so there is no need to also hardcode a string for Controller name that is now deriveable from Action?
Forexample consider Html.BeginForm("actionname","controllername"), how do we get rid of hardcoded strings in that?