The System.Web.Optimization namespace includes classes that support Content Delivery Networks (CDN) and the process of optimizing JavaScript and cascading style sheet (CSS) files in a website to reduce file size and improve page performance. The classes in this namespace enable developers to carry out bundling and minification tasks to optimize their JavaScript and CSS files.
Questions tagged [system.web.optimization]
81 questions
0
votes
2 answers
The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
I moved three .ASPX files with their associated .cs and .designer.cs files to a different folder, and changed their names. When I tried to recompile, I got the message above for 5-6 different .ASPX files, including the three that I moved. The line…

Jim S
- 1,069
- 3
- 10
- 17
0
votes
1 answer
Bundle and minification with html page
I am using asp.net 4.5 Bundling and Minification in my project. I want to use the jscripts bundle in html page. I have tried without success
@Scripts.Render("~/bundles/jquery")
To something custom like this: