Translate

Tuesday 24 January 2017

Where do you call the config files in MVC?

Generally, We are calling the config files from Application_Start()

using System.Web.Optimization;

protected void Application_Start()
{
    AreaRegistration.RegisterAllAreas();
    RouteConfig.RegisterRoutes(RouteTable.Routes);
    BundleConfig.RegisterBundles(BundleTable.Bundles);
}

No comments:

Post a Comment