vb.net - Generate URL inside a Controller in ASP.NET MVC -


Is there a way to generate URLs inside a controller? I want to do the following in a controller instead of a scene.

& lt;% = Url.Action ("Validate", "Home", New with {ValidID = ID})% & Gt;

Just remove "b-sting".

Something like this:

  url = Url.Action ("Validate", "Home", {.ValidID = ID} with New}  < / Pre> 

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -