string uri =Url.Route("http://whatever/",new{ id
= contact.Id});
What are doing, the first parameter is the routename(see routes in global.axax file for finding
routename).
"And whoever is removed away from the Fire and admitted to Paradise, he indeed is successful." (The Holy Quran)
Excellent Windows VPS Hosting Imran Baloch MVP, MVB, MCP, MCTS, MCPD
imran_ku07
All-Star
45864 Points
7713 Posts
MVP
Re: Url.Route method throwing exception
Apr 05, 2012 03:48 AM|LINK
What are doing, the first parameter is the routename(see routes in global.axax file for finding routename).
Excellent Windows VPS Hosting
Imran Baloch MVP, MVB, MCP, MCTS, MCPD