Where the routing rules are defined in an ASP.Net MVC Application?
In Application_Start event in Global.asax
The example looks like,
public
class MvcApplication
: System.Web.HttpApplication
{
protected void
Application_Start()
{
GlobalConfiguration.Configure(WebApiConfig.Register);
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
}
}