O'Reilly logo

ASP.NET Site Performance Secrets by Matt Perdeck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Additional measures

Here are a few more ways to reduce the load on your server.

Deployment

The way you deploy your site to production can impact its performance. This section looks at making sure your code runs in the release mode rather than debug mode, and at reducing the number of assemblies making up your site.

Building projects in release mode

If your site is a web-application project rather than a website, or if your website is a part of a solution containing other projects, be sure to build your releases in the release mode. This removes debugging overhead from your code, so it uses less CPU and memory.

For building projects in release mode, follow these steps:

  1. In Visual Studio, choose Build | Configuration Manager.
  2. In the Active Solution Configuration ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required