title: MVC Areas and HTML Slug
body: <p>I am trying to shorten my URLs on my MVC app (if this is even possible).  I use areas on my web app.  Currently I got URL slugs working, this seite helped a lot: <a href="http://www.itorian.com/2016/12/slug-url-in-mvc.html" rel="nofollow noreferrer">http://www.itorian.com/2016/12/slug-url-in-mvc.html</a></p>
  
  <p>Here is part of  my working area registration, note the {articleTitle} is the slug.</p>
  
  <pre><code>public override void RegisterArea(AreaRegistrationContext context)
          {       
              context.MapRoute(
                  "Discussion_default",
                  "Discussion/{controller}/{action}/{id}",
                  new { action = "Index", id = UrlParameter.Optional }
              );
  
              context.MapRoute(
                  "View_Article",
                  "Discussion/Articlev1/Details/{id}/{articleTitle}",
                  new { controller = "Articlev1", action = "Details", id = UrlParameter.Optional, articleTitle = "" }
              );
          }
  </code></pre>
  
  <p>This generates a long URL (www.sitename.com/Discussion/Articlev1/Details/id/cool-html-article)</p>
  
  <p>Is there a way I can have it generate and use something like:</p>
  
  <p>www.sitename.com/Articlev1/id/cool-html-article</p>
  
  <p>or even just have it omit the details portion like this:</p>
  
  <p>www.sitename.com/Discussion/Articlev1/id/cool-html-article</p>
  
  <p>I have tried a few things but none of them work, either generating 404 errors or 400.1 errors.  Is this possible?</p>