Hi, If you are ASP.NET MVC Razor developer and you are looking for a nice solution to Combine, Compress and Manage your CSS and JavaScript files, Well SquishIt can fit your needs. Razor Code Sample: @ MvcHtmlString . Create ( SquishIt . Framework . Bundle . Css () . Add ( "~/media/css/reset.css" ) . Add ( "~/media/css/style.less" ) . Add ( "~/media/css/handheld.css" ) . Render ( "~/media/css/combined_#.css" )) @ MvcHtmlString . Create ( SquishIt . Framework...
Hi All, One of the main rule in order to improve your aspx page load time, is to reduce its page size. One of the recommendation is to use *js files and compress them and save them to one js file on production. Well Douglas Crockford wrote JSMin in C# for the .NET users. JSMin - is a filter which removes comments and unnecessary whitespace from JavaScript files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive programming style because it...
Hi, There is cool open source project in codeplex called: Javascript and CSS Consolidation for ASP.NET that give infrastructure for compress and consolidation JS and CSS files for ASP.NET application. Project Description A library for ASP.NET that provides an easy way to consolidate external javascript and css files. The primary goals for this project are: * Make the development environment mirror production as much as possible (e.g. files should be consolidated in all environments including the...