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 14 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 will start or restart the browser.
  4. Only silverlight 4.0 and higher runtime is supported. (Previous versions of silverlight runtime don't support profiling API).
    Icon

    Make sure that Silverlight 4 developer runtime is installed. You can download it from Silverlight site (direct link)

    Because of all that considerations recommended workflow is:
  5. Start website with silverlight in VS development server or in IIS or even deploy to other webserver
  6. Start dotTrace as standalone (from Start->All Programs, and not from VS)
  7. Select Profile -> Silverlight application. Put url field to web page with silverlight. Select Browser to be started or restarted.
  8. If you want Line-by-Line profiling type, then press small Arrow down button to show additional options. Press "Edit symbol search policy..." button, and fill search path by the path to your dll and pdb folder.
  9. Click "OK" to start.
  10. Exercise your Silverlight application.
  11. Get snapshot. We are done.
  • No labels