I want to generate constant urls for my actions. Something like this:
public const string ControllerName_ActionName = "/ControllerName/ActionName";
I have tried to use T4MVC but it generates only methods with T4MVC_System_Web_Mvc_ActionResult. Is there any solution without pain?
I want to use them in an external project as a library. The project doesn't know about my MVC application. It can be a simple console application with WebClient.
I have customized T4MVC template for my issue: