title: asp.net mvc 5 can i hide controller name from url
body: <p>we have one project in asp.net mvc 5 when i run my project and click on some button for go to the next page then we are getting the url like 
  wwww.abx.com/project/projectname .</p>
  
  <p>where <strong>project</strong> is my controller name and <strong>projectname</strong> is Action name </p>
  
  <p>so if i want so url like </p>
  
  <p><strong>wwww.abx.com/projectname</strong></p>
  
  <p>then this is possible ?</p>
  
  <p>please if any one have some solution so please give it</p>
  
  <p>here is my route.config file code</p>
  
  <pre><code>public static void RegisterRoutes(RouteCollection routes)
          {
              routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
              routes.MapRoute(
                  name: "Default",
                  url: "{controller}/{action}/{id}",
                  defaults: new { controller = "Home", action = "view1", id = UrlParameter.Optional }
              );
          }
  </code></pre>
  
  <p>Thanks</p>