Как имея примерно такой статический метод:
public static void RegisterRoutes(RouteCollection routes)<br/>
{<br/>
routes.IgnoreRoute("{*favicon}", new { favicon = @"(.*/)?favicon.ico(/.*)?" });<br/>
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");<br/>
routes.IgnoreRoute("{resource}.css/{*pathInfo}");<br/>
routes.MapRoute("Root", "", new { controller = "home", action = "index" });<br/>
routes.MapRoute("myRoute1", "{controller}/{action}", new { controller = "home", action = "index" });<br/>
...<br/>
}<br/>
генерировать урлы в консольном приложении где нет HttpContext?