Performance Improvement Checklist for Asp.Net/ MOSS Applications

Performance Improvement Checklist for Asp.Net/ MOSS Applications

Here is the active checklist i have prepared for enchaining web application performance  ..

 

 

 

1

e-Commerce web site

Turn off Session State, if not required

 

 

Disable View State of a Page if possible

 

 

Set debug=false in web.config

 

 

Avoid Response.Redirect, use Server.Trasfer for same site page navigation

 

 

Use the String builder to concatenate string

 

 

Avoid throwing exceptions, use validation framework for business exception 

 

 

Proper use of Use Page.ISPostBack

 

 

Use Foreach loop instead of For loop for String Iteration

 

 

Cleaning Up Style Sheets and Script Files . Minify JavaScript and CSS

 

 

Check for CSS Expressions, remove if found.

 

 

Remove Duplicate Scripts

 

 

Place StyleSheets into the Header

 

 

Put Scripts to the end of Document

 

 

Make JavaScript and CSS External, No inline CSS or Javascripts  in page.

 

 

Page not found for JS, CSS or Image should not come

 

 

Reduce Cookie Size

 

 

Optimize Images using http://www.imagemagick.org/

 

 

If new thread is created than thread must be in try.. catch. And check for deadlock situation.

 

 

For subsequent request images, js and CSS should be fetch from cache.

2

WCF services/ Web Service

Individual services should not take more than one second.

 

 

ASynchronized methods implemented if services are taking more than one seconds.

 

 

Require caching is implemented or not.

 

 

Exception is properly handling or not.

3

MOSS

Check for Delay load the core .js

 

 

IIS Compression - Static compression should be on and Dynamic compression should be off.

 

 

cache profile is created for output caching

 

 

Disk-based Caching for binary large objects are enabled or not. Like <BlobCache location="C:\blobCache" path="\.(gif|jpg|png|css|js)$" maxSize="10" max-age="86400" enabled="false"/>

 

4

C#

Code review and optimization of code

5

Fiddler

Capture request and response for all the happy path scenarios and check for performance

6

ANTS profiler

Generate report for individual method and sun methods and perform analysis

7

Event viewer

Check that any error or warning are posted in event viewer due to code or not

8

BPA tools

Run and clean noncompliant

9

SQL Profiler

Generate trace file and analysis using Advisor.

10

Performance Analysis of Logs

Check for memory and CPU utilization.

11

Event Viewer

Configure MSDTC as per the MS recommendation.

 



Leave a Comment
  • Please add 5 and 1 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Richard Mueller edited Revision 2. Comment: Modified title casing, added tag

Page 1 of 1 (1 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
Page 1 of 1 (3 items)