This topic explains how to prepare ASP.NET applications before profiling them in AQTime.
To add debug information to your ASP.NET application, follow these steps:
- Create the Web.config file in your project folder (if it is not there yet) and set the debug attribute of the
compilationelement to true in the file:
<compilation debug="true" />
- Compile your ASP.NET application with debug information. The actions you should perform in this step depend on the project type of your ASP.NET application and on the tool you are using to create and compile your application.
- If you create an ASP.NET Web Site project, you need just to build your project or publish it to obtain the application modules with debug information. That is, you do not need to change any additional project settings before compiling the project.
- If you create an ASP.NET Web Application project, you need to change some additional project settings before compiling the application with debug information. The actions to be performed depend on the tool you are using. For more details, see the topics listed below:
When your application is ready for final delivery, remember to compile it without debug information to reduce the overall size of the application.