liyossar545
New Member
I have added a new Controller to my application, and then from there added in a new View (right click, add view on the context menu)I have added the route to the Route table, but when I browse to it I get a \[code\]404\[/code\].I can only assue that this is something fundamental that is wrong, as if I replace the values in the default route, I still cannot access my page.The route table is;\[code\]routes.IgnoreRoute("{resource}.axd/{*pathInfo}");routes.MapRoute( "Classroom", "{controller}/{action}/", new { controller = "Classroom", action = "Index" });routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } //defaults: new { controller = "Classroom", action = "Index", id = UrlParameter.Optional });\[/code\]there is only a return \[code\]View()\[/code\]; in the index method. I have installed Glimpse, but as I am getting a 404, I cannot actually see the url that is being passed back.So, what techniques / tricks are there I can use to track this down, (and any common gotcha's that could be causing this?)Visual Studio 2012, using the inbuilt webserver.