New features are nice, but the additional logic for features that are configured via code was really starting to clutter up the Global.asax -> Application_Start method. These configurations have been moved to static classes in the App_Start directory.
- AuthConfig.cs: Used to confi gure security settings, including sites for OAuth login.
- BundleConfig.cs: Used to register bundles used by the bundling and minification system. Several bundles are added by default, including jQuery, jQueryUI, jQuery validation, Modernizr, and default CSS references.
- FilterConfig.cs: Unsurprisingly, this is used to register global MVC filters. The only filter registered by default is the HandleErrorAttribute, but this is a great place to put other filter registrations.
- RouteConfi g.cs: Holds the granddaddy of the MVC confi g statements, Route configuration.
- WebApiConfi g.cs: Used to register Web API routes, as well as set any additional Web API configuration settings.