Bundling is a technique to improve performance by reducing the number of request to the server
Instead of fetching all resource one by one we create bundle and fetch bundle that bundle in one single resource
To add a new bundle we can use BundleConfig file
In this file we use Bundlecollection class Which is available in System.Web.Optimization
Bundle need to registered Global.asax
Render Bundle
To Create js bundle we use @Script.Render(path)
To Create css bundle we use @Styes.Render(path)
Minification is the process of removing unnecessary data without changing its functionality
This include removing
Comments
Extra Space
convert large variabe to small size
etc
Instead of fetching all resource one by one we create bundle and fetch bundle that bundle in one single resource
To add a new bundle we can use BundleConfig file
In this file we use Bundlecollection class Which is available in System.Web.Optimization
Bundle need to registered Global.asax
Render Bundle
To Create js bundle we use @Script.Render(path)
To Create css bundle we use @Styes.Render(path)
Minification is the process of removing unnecessary data without changing its functionality
This include removing
Comments
Extra Space
convert large variabe to small size
etc
No comments :
Post a Comment