We are providing online training of realtime Live project on Asp.Net MVC with Angular and Web API. For more information click here. If you have any query then drop the messase in CONTACT FORM

Thursday, December 3, 2015

Folder structure in MVC

The use of App_Start() folder in MVC?
 There are 5 files in this folder.
  1. AuthConfig
  2. BundleConfig,
  3. FilterConfig,
  4. RouteConfig,
  5. WebApiConfig.
AuthConfig
Used to configure security settings, including sites for OAuth login.

BundleConfig.cs:
This is used to create and register bundles for CS and JS files.By default various bundles are added in this file including jQuery,jQueryUI,jQuery validation,Modernizr and Site CSS..
FilterConfig.cs-
This is used to create and register global MVC filter error filter,action filter etc.By default it contains HandleErrorAttribute filter.
RouteConfig.cs-
This is used to register various route patterns for your Asp.Net MVC application. By default, one route is registered here named as Default Route.
WebApiConfig.cs-
This is used to register various WEB API routes like Asp.Net MVC, as well as set any additional WEB API configurations settings.



No comments: