It is important to put the idea of bundling and minification in any .NET development process. Bundling and minification is really important and good for website performance. A developer of .NET has to find a way of making it so easy to manage so as not to require it manually.
Each methodology has their corresponding pros and cons. When specifying documents, one knows exactly what he is getting into the bundled and minified files. This requires more code. When adding directories does not require having to write more code, but the possibility exists for unwanted cipher in a bundled and minified file. Choosing between adding directories, folders or a combination is therefore a matter of personal preference.
Being a website developer nowadays is both challenging and interesting. From ASP.NET, one could apply parceling and minification of folders. Bundling refers to the method of combining numerous files to one so that amount of requests to load the page would be reduced. Minification on the other hand, refers to the process of removing unused spaces, comments, etc. to minimize the total size of files.
A lot of frameworks provide both services with slightly different extensibility levels and different sets of features. Mostly however, they offer the same capabilities, thus picking one over the other is entirely a matter of preference. When writing an app, the natural choice to bundle and minify is the Microsoft ASP.NET web optimization framework which is available through NuGet.
Below are the base points for making bundling and minification manageable.
1.Adding Microsoft ASP.NET web optimization framework. The framework is used for creating a minified version together with the specified bundles of the files. One could download and add file reference to the project from here.
3. As soon as bundles are defined in an XML FILE, a developer could add a bundling code in global.asax leaf. The code would handle the creating of bundles and reduction of files.