title: ASP.NET MVC Controller SubFolder
body: <p>I am using ASP.NET MVC and trying to create a controller subfolder. I have looked at other post on this site and tried what I was able to find online, but it still running into this issue:</p>
  
  <pre><code>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.
  </code></pre>
  
  <p>The screenshot below is the subfolder I created in my controller folder.</p>
  
  <p><a href="https://i.stack.imgur.com/CGQno.png" rel="noreferrer"><img src="https://i.stack.imgur.com/CGQno.png" alt="enter image description here"></a></p>
  
  <p>and here is a screenshot of my View folder.</p>
  
  <p><a href="https://i.stack.imgur.com/gq8RD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gq8RD.png" alt="enter image description here"></a></p>
  
  <p>And here is what I tried in my RouteConfig.cs file</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 = "Index", id = UrlParameter.Optional }
      );
  
      routes.MapRoute(
          name: "AdminSubForder",
          url: "admin/{controller}/{action}/{id}",
          defaults: new { controller = "HomeAdmin", action = "Index", id = UrlParameter.Optional }
      );
  }
  </code></pre>
  
  <p>But my subfolder still doesn't work. What am I doing wrong here?</p>