Default route not working
Why doesn't this work? Route: routes.MapRoute( "Summary", "{controller}/{id}", new { controller = "Summary", action = "Default" } ); Controller: public class SummaryController : Controller { public ActionResult Default(int id) { Summary summary = GetSummaryById(id); return View("Summary", summary); } } URL: http://localhost:40353/Summary/107 Error: Server Error in '/' Application. The resource cannot be found. Description: 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