Combine and Minify Generated JS
ASP.NET dynamically adds JS files to pages. These files should be combined and minified into 1 file before being served on the page.
resolved with ASP.NET Web Optimization framework.
Or you can use online Microsoft Ajax Minifier http://www.lotterypost.com/js-compress.aspx or implement on your own website (or VisualStudio project). Get latest source code from http://ajaxmin.codeplex.com/
@Microsoft, please implement it in the Visual Studio including Web Express edition. So we get the updates from codeplex build.
Cengiz Ilerler commented
Search for Bundling and Minification or http://goo.gl/rJ2WG
Use the Microsoft Ajax Minifier: http://www.asp.net/ajaxlibrary/ajaxminquickstart.ashx It's really nice when you add it as a build task. It also minifies css.
This can be done with YUICompressor.NET
1) Install-Package YUICompressor.NET