ANTS Performance Profiler

Latest version: 7.4

ANTS Performance Profiler

Knowledge Base

Profiling ClickOnce applications deployed to IIS

Category: How do I?
Date: 25 Jun 2010
Product: ANTS Performance Profiler
Versions: 6 (previous versions not applicable)
It is possible to profile ClickOnce applications that are installed locally or only available through Internet Information Server.

ClickOnce deployments send the application to the local computer to be run in a secure environment, so it is possible to profile applications whether they are deployed to the local installation of IIS or on a remote webserver running IIS. There are two ways to launch a ClickOnce application using ANTS Profiler. You may use Internet Explorer, or if you prefer, bypass IE and use the "shim" provided by Windows.

To profile a ClickOnce application using Internet Explorer, use the following settings:
  · .Net Executable: c:\program files\Internet Explorer\iexplore.exe
  · Arguments: <url to the clickonce application, ie http://myserver/myapp/my.application>

To profile a ClickOnce application without the need to launch IE:
  · .Net Executable: c:\windows\system32\rundll32.exe
  · Arguments: dfshim,ShOpenVerbApplication http://myserver/myapp/my.application

Provided that the profiler is configured to profile child processes, it will show results for the ClickOnce application once it has been deployed. In order to profile methods that have source or see results in the source code window, it may be necessary to profile the ClickOnce application on the same computer where it had been built and deployed to the local installation of IIS.

Document ID: KB201006000465 Keywords: ClickOnce, profiling, Explorer, dfshim

Was this article helpful?

Search support
Forums

ANTS Performance Profiler

all products