-
Book Overview & Buying
-
Table Of Contents
ASP.NET Site Performance Secrets
By :
When you make changes to your site in Visual Studio, you want to know the effect those changes have on file sizes, both before and after compression. Unfortunately, the Cassini development server included with Visual Studio doesn't support compression. So, you'll need to use IIS instead of Cassini during development.
Making this happen involves a simple four-step process:
1. Installing IIS 7.
2. Enabling compression.
3. Creating a development site in IIS.
4. Modifying your project so it uses the development site.
To use Visual Studio with IIS, you need to run Visual Studio in administrator mode. If you are not normally logged in as administrator, right-click on the Visual Studio executable file and choose Run as administrator. To make things easier, you could also create a shortcut to Visual Studio and on the Compatibility tab of the Shortcut Properties, select Run this program as an administrator.
Follow these steps to install...
Change the font size
Change margin width
Change background colour