I read a few posts with some native implementations of this, but I think that now in ASP.NET MVC there should be some method that should have this functionality.
I assume that there is some method that can do what string.Format does:
string.Format("example {0}", 1);
but instead of using {0}, it can work with variable names just like MVC routes. eg:
string.Format("example {id}", 1);
Is there such an open method in ASP.NET MVC?
[ Edit:
Any idea, such as action links derived from routes?]
Cd .. source
share