Export (0) Print
Expand All

How to: Create Performance Session for ASP.NET Applications

You can use the Performance Wizard to create a performance session for an ASP.NET application. A performance session can be created with or without opening a project in Visual Studio.

To create a performance session for ASP.NET application

  1. Open the ASP.NET Web project in Visual Studio.

  2. On the Tools menu, point to Performance Tools, and then click Performance Wizard.

  3. In the Which of the following available targets would you like to profile? drop-down list, make sure the current project is selected, and then click Next.

  4. Choose Sampling or Instrumentation to specify a profiling method, and then click Next.

  5. Click Finish.

    A performance session is created for the ASP.NET application. For more information, see Understanding Performance Terms and Guidelines for Using Performance Tools.

To create a performance session for ASP.NET application manually

  1. On the Tools menu, point to Performance Tools, and then click Performance Wizard.

  2. From the Which of the following available targets would you like to profile? drop-down list, select Profile an ASP.NET application, and then click Next.

  3. In the What local URL or Path will run your web application box, enter the URL, and then click Next.

    NoteImportant

    For a server (IIS) based Web site, enter a URL such as, http://localhost/MySite/default.aspx. This causes the ASP.NET application on the local computer at the application root of MySite to be profiled, and the page default.aspx on that site to be launched in Internet Explorer to start the session.

    For a file based Web site, enter a path such as, c:\WebSites\MySite\default.aspx. This causes the ASP.NET application located at c:\webSites\MySite to be profiled and the page http://localhost:nnnn/MySite/default.aspx to be launched in Internet Explorer to start the session.

    For more information, view the property pages for an ASP.NET target.

  4. Choose Sampling or Instrumentation to specify a profiling method, and then click Next.

    For more information, see Understanding Performance Terms and Guidelines for Using Performance Tools.

  5. Click Finish.

    A performance session is created for the ASP.NET application.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft