Subin Thomas
Explain Bundle.config In mvc4 ?
By Subin Thomas in ASP.NET on Jan 30 2019
  • Vikas Panwar
    Nov, 2021 15

    Bundle.config is a file created in default by MVC that is used to write the bundling code. When the individual request is sent to the server when the user references different files, there occurs unnecessary server overload. Bundling allows the developer to create a bundle of all the javascript and CSS files in the application. With this, all the files are fetched using a single request which improves the performance. Also, the bundles in the bundle.config files are minified. That is, all the extra space, the unnecessary comment is removed and scoped variable names are shortened to minimize the file size. Using the bundle and the minified files in the bundle.config files, it makes the job for a developer easy by referencing a set of files using a single request and thereby making the code clean and readable.

    • 0
  • Subin Thomas
    Jan, 2019 30

    it is used to register the bundles by the bundling and minification system. Many bundles are added by default including jQuery libraries like - jquery.validate, Modernizr, and default CSS references.

    • 0

Most Popular Job Functions