Profiling ASP.NET Applications - Overview

Applies to AQTime 8.81, last modified on May 21, 2021

ASP.NET applications can be seen as Internet Information Services (IIS) applications that are built with .NET compilers and that use functionality provided by the .NET Framework and .NET assemblies. Despite the fact that ASP.NET applications are similar to IIS applications, they are profiled in a different manner. This topic provides a brief overview of profiling ASP.NET applications and services with AQTime. For information on how to profile ordinary (unmanaged) IIS applications, see Profiling IIS Applications.

Profiling ASP.NET applications requires 32- or 64-bit editions of Windows XP, Windows Server 2003 or later with Internet Information Services ver. 4.0 - 7.5.

The manner in which you profile your application depends on the development tool that you use to create the ASP.NET application. Any ASP.NET application created in any development tool can be profiled using IIS. Additionally, Visual Studio versions 2005 - 2012 have their own server - ASP.NET Development Server - that is generally used instead of IIS to develop and debug ASP.NET applications. However, it is still possible to use IIS to profile your application outside of Visual Studio. The following topics provide instructions on different ways to profile ASP.NET applications.

Profiling ASP.NET Applications via ASP.NET Development Server

Describes how to profile ASP.NET applications or services using the ASP.NET Development Server.

Profiling ASP.NET Applications via Internet Information Services

Describes how to profile ASP.NET applications or services using the Internet Information Services (IIS).

 

AQTime includes a number of samples that you can use to get started profiling ASP.NET applications.

On Windows Vista and later, AQTime samples are located in the <Users>\Public\Documents\AQTime 8 Samples folder. On other operating systems, the samples reside in the <Documents and Settings>\All Users\Documents\AQTime 8 Samples folder.
XMLTrace

This sample parses an XML file and displays its contents and structure on screen.

You can find the application sources in the following folders:

Microsoft Visual Studio 2005 projects:

<AQTime Samples>\Managed\VS2005\ASP.NET\XMLTrace\CS\          Microsoft Visual C# .NET

<AQTime Samples>\Managed\VS2005\ASP.NET\XMLTrace\VB\          Microsoft Visual Basic .NET

<AQTime Samples>\Managed\VS2005\ASP.NET\XMLTrace\JS\           Microsoft Visual J# .NET

Microsoft Visual Studio 2013 projects:

<AQTime Samples>\Managed\VS2013\ASP.NET\XMLTrace\CS\          Microsoft Visual C# .NET

<AQTime Samples>\Managed\VS2013\ASP.NET\XMLTrace\VB\          Microsoft Visual Basic .NET

Note: You can also open Visual Studio samples in later versions of Visual Studio.
MasterDetails

This sample demonstrates how to work with two linked tables. One table holds the IDs and names of groups, another holds records kept for groups. The structure of the tables and the data are stored in XML files (scheme.xml and datasets.xml accordingly). Initially, there is one group and a single record for it. The application is an .aspx page that displays both tables and lets you edit their contents: add, rename and remove groups, add records to groups, edit and delete them (singly or all at once).

You can find the sample projects in the following folders:

Microsoft Visual Studio 2005 projects:

<AQTime Samples>\Managed\VS2005\ASP.NET\MasterDetails\CS\          Microsoft Visual C# .NET

<AQTime Samples>\Managed\VS2005\ASP.NET\MasterDetails\VB\          Microsoft Visual Basic .NET

<AQTime Samples>\Managed\VS2005\ASP.NET\MasterDetails\JS\           Microsoft Visual J# .NET

Microsoft Visual Studio 2013 projects:

<AQTime Samples>\Managed\VS2013\ASP.NET\MasterDetails\CS\          Microsoft Visual C# .NET

<AQTime Samples>\Managed\VS2013\ASP.NET\MasterDetails\VB\          Microsoft Visual Basic .NET

<AQTime Samples>\Managed\VS2013\ASP.NET\MasterDetails\JS\           Microsoft Visual J# .NET

Note: You can also open Visual Studio samples in later versions of Visual Studio.

See Also

Profiling ASP.NET Applications
Compiler Settings for ASP.NET
Profiling Web Server Applications
Profiling IIS Applications
Profiling .NET Applications

Highlight search results