捆绑& ASP.NET 3.5中的缩小 [英] Bundling & Minification in ASP.NET 3.5

查看:61
本文介绍了捆绑& ASP.NET 3.5中的缩小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ASP.NET 4.5包括一项新功能,可在您的Web应用程序中最小化和捆绑CSS和JavaScript.

ASP.NET 4.5 includes a new feature to minify and bundle CSS and JavaScript within your web application.

ASP.NET 3.5(网络表单)中对CSS和JS文件进行捆绑和缩小有什么类似的方法?

Is there anything similar to apply bundling and minification for CSS and JS files in ASP.NET 3.5(Web forms)?

推荐答案

我认为3.5中没有可用的内置工具

I think there is no built in tool is available in 3.5

您可以使用 YUICompressor 并将这些压缩版本添加到页面中

You can use YUICompressor and add those compressed version in your page

有一个 YUICompressor for .Net 可用

这篇关于捆绑& ASP.NET 3.5中的缩小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆