title: Conventional default route in asp.net core not working
body: <p>I can't seem to get my default route working in ASP.NET Core 2.0, am I overlooking something ?</p>
  
  <p>Startup.cs</p>
  
  <pre><code>public class Startup
  {
      public IConfiguration Configuration { get; set; }
  
      public Startup(IConfiguration configuration)
      {
          Configuration = configuration;
      }
  
      public void ConfigureServices(IServiceCollection services)
      {
          services.AddMvc();
      }
  
      public void Configure(IApplicationBuilder app, IHostingEnvironment env)
      {
          app.UseMvc(routes =&gt; 
          {
              routes.MapRoute("default", "{controller}/{action}/{id?}", new { controller = "Home", action = "Index" });
          });
      }
  }
  </code></pre>
  
  <p>HomeController.cs</p>
  
  <pre><code>[Route("[controller]")]
  public class HomeController : Controller
  {
      public IActionResult Index()
      {
          return View();
      }
  }
  </code></pre>
  
  <p>when I browse to the URL, nothing happens, and it does not redirect to Home ?</p>