Skip to content

Microsoft Ajax

Taritsyn edited this page May 29, 2024 · 3 revisions

BundleTransformer.MicrosoftAjax contains two minifier-adapters: MicrosoftAjaxCssMinifier (for minification of CSS code) and MicrosoftAjaxJsMinifier (for minification of JS code). These adapters perform minification by using the Microsoft Ajax Minifier version 5.14.

To make MicrosoftAjaxCssMinifier is the default CSS minifier and MicrosoftAjaxJsMinifier is the default JS minifier, you need to make changes to the Web.config file. In defaultMinifier attribute of /configuration/bundleTransformer/core/css element must be set value equal to MicrosoftAjaxCssMinifier, and in same attribute of /configuration/bundleTransformer/core/js element - MicrosoftAjaxJsMinifier.