views:

1187

answers:

6
+5  Q: 

Speed up your IIS

Hi!

Is there any way to improve the performance of your IIS by changing some configuration parameters?

Or do you have any tips in general on how to improve the performance of a ASP.NET app?

Thanks!

+5  A: 

Your first port of call should be here:-

http://developer.yahoo.com/performance/rules.html

AnthonyWJones
+5  A: 
  • Remember to turn off 'debug' in the web.config
  • don't use wildcard file mapping.
  • Use httpCompression to improve perceived performance
  • Throttle bandwidth to improve overall perceived performance
  • Try use IIS7 for .net apps

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/71490aae-f444-443c-8b2a-520c2961408e.mspx?mfr=true

rizzle
You should add Content Expiration to the list - nothing speeds up a web server then the local web browser cache :-)
Christopher_G_Lewis
+4  A: 

Have you looked into Caching? or micro-caching Take a look at http://www.dnrtv.com/default.aspx?showNum=85.

Bob The Janitor
+1  A: 

Precompiling your ASP.NET application makes it faster. Release build is a plus.

Canavar
A: 

In short yes, there are lots of ways you can improve performance of your application through iis settings. However your specific application will need its' own tuning.

The general hints are in the other posts. However there will also be some specific things about your application which can be tuned. For example if you have one or two directories which have a lot of activity compared to the rest of the site you can put them in separate application pools.

It is quite an art form and if after you have followed general advice here you are still having performance problems, I would recommend getting a consultant in for a week to tune things for you. Preferably one which can look at your ASP too.

The other thing you could do if you have specific choke points is to post queries on SO. There is only so far you can go with a generic advice.

Jeremy French
+3  A: 

If you have access to the IIS Server there are several things you can modify with it including:

HTTP Compression - Great for static content like JS and CSS files.

Disable Logging (Talk To Security Team)

Performance Tip

Tune Up IIS

Tune Up IIS 2

jaredmroberts