Child pages
  • How to profile silverlight application
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

There are several considerations to keep in mind:

  1. Silverlight code is executed in web browser.
  2. Silverlight runtime is started once for all browsers of the one type.
  3. dotTrace tracks only one instance of browser - the one that it starts.
  4. Only silverlight 4.0 and higher runtime is supported. (Previous runtimes doesn't support profiling API).
Icon

Make sure that Silverlight 4 developer runtime is installed.

Because of all that considerations recommended workflow is:

  1. Before profilation close all browsers and browser processes of the type that you are going to exercise.
  2. Start dotTrace as standalone not from Visual Studio.
  3. Select "Profile" -> "Local Computer" -> "Connect".
  4. Select Profiler kind: "Silverlight". Click "OK". Browser instance will be started.
  5. In the exactly that browser instance (started by dotTrace) load url and exercise your Silverlight application.
  6. Get snapshot. We are done.

 

  • No labels