title: Custom URL Routing in Asp.Net MVC 4
body: <p>How can i do like this url (<a href="http://www.domain.com/friendly-content-title" rel="nofollow">http://www.domain.com/friendly-content-title</a>) in Asp.Net MVC 4.</p>
  
  <p>Note: This parameter is always dynamic. <strong>URL may be different: "friendly-content-title"</strong></p>
  
  <p>I try to Custom Attribute but I dont catch this (friendly-content-title) parameters in ActionResult.</p>
  
  <p>Views:</p>
  
  <ul>
  <li>Home/Index</li>
  <li>Home/Video</li>
  </ul>
  
  <p>ActionResult:</p>
  
  <pre><code>    // GET: /Home/        
      public ActionResult Index()
      {
          return View(Latest);
      }
  
      // GET: /Home/Video        
      public ActionResult Video(string permalink)
      {
          var title = permalink;
          return View();
      }
  </code></pre>
  
  <p>RouteConfig:</p>
  
  <pre><code>    public static void RegisterRoutes(RouteCollection routes)
      {
          routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
          routes.MapRoute(
              name: "Home Page",
              url: "{controller}/{action}",
              defaults: new { controller = "Home", action = "Index" }
          );
  
          routes.MapRoute(
              name: "Video Page",
              url: "{Home}/{permalink}",
              defaults: new { controller = "Home", action = "Video", permalink = "" }
          );
  
      }
  </code></pre>
  
  <p>What should I do for catch to url (/friendly-content-title)?</p>