Compress and Consolidation of JavaScript and CSS files for .NET

יום ראשון, אוקטובר 12, 2008

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 local dev box)* Allow the developer to organize their scripts and styles in as many files as they please without compromising on performance* Make the process seemless for...

Performance Tips for ASP.NET Applications

יום ראשון, אוגוסט 17, 2008

I collect some important performance tips for ASP.NET Applications and decide to write a post on it, because I think this topic is very important for ASP.NET developers. Cache Aggressively: There are several features and tools in ASP that you can make use of to gain performance. Output Caching - Specified using the <@% OutputCache %> directive. Duration—Time item exists in the cache VaryByParam—Varies cache entries by Get/Post params VaryByHeader—Varies cache entries by Http header VaryByCustom—Varies cache entries by browser Override to vary by whatever you want: Fragment Caching—When it is not possible to store an entire page (privacy, personalization, dynamic content), you...
תגובה אחת