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...