How to minimize and / or combine * .axd JavaScript files in an ASP.NET web form project?

I am about to complete our ASP.NET WebForms project and am trying to make the changes suggested by tools like YSlow and others. We use the built-in set and minimization that came with .NET 4.0 for the files we added to the project, but there are a few more JavaScript files that include the WebForms framework: ScriptResource.axdandWebResource.axd

I looked around and found many third-party solutions on how to get this file in order to minimize it, but all these solutions were several years before the JS compressor was built into the infrastructure. Now that it's built in, it seems like it should be possible to use it somehow.

How can I get these files *.axdto get abbreviated output?

+4
source share
1 answer

Axd files are embedded resource files inside ASP.net user controls. you need to minimize resources before compiling a custom server control.

or you can check this article to combine them, I think it can help you http://www.codeproject.com/Articles/30215/Combining-Compressing-Minifying-ASP-NET-ScriptReso

0
source

Source: https://habr.com/ru/post/1548505/


All Articles