To profile WCF Service Library deployed into WCF Service Host
  1. Start dotTrace as standalone application.
  2. Do one of the following:
    • On the menu bar, choose File | Profile. The Profile dialog box opens. Select WCF Service Library, then click OK or just double-click WCF Service Library.
    • Click Profile on the Home tab. Click WCF Service Library in the list.
    The Profiler Configuration dialog box opens. For more information, see .
  3. By default, your application is profiled on the local computer. If you want to start profiling on a remote computer, do one of the following:
    • Click Profile on remote computer to specify a remote agent url and thereby define what remote agent to use.
    • Select a remote host in the Host drop-down list and click it.
    For more information, see.
  4. Click one of the WCF Service Hosts in the WCF Host drop-down list.
       Depending on WCF Host you choose the appropriate runtime is used.
  5. Type the path to WCF Service Library in the Library path text box or click the ellipsis button to open the Browse path to WCF library dialog box, browse to a file and select the file.
  6. Type the path to configuration file for WCF Service Library in the Config path text box or click the ellipsis button to open the Browse path to WCF config dialog box, browse to a file and select the file.
  7. Optionally, click the arrow to see and configure additional settings. Specify the path to an executable to run after services are hosted in the Client path box. Specify command-line arguments that are passed to the custom client application in the Client arguments box.
  8. Select a profiling mode in the Profiling type drop-down list. For more information, see .
  9. Specify what kind of timer you want to use by selecting an item in the Measure drop-down list. For more information, see .
  10. If the Start profiling immediately check box is selected, dotTrace Performance starts gathering performance data immediately after you click Run and close the current dialog. Otherwise, dotTrace Performance waits until you press Start Profiling in the dotTrace Performance Controller window. For more information, see .
  11. Optionally, click the arrow to see and configure additional settings, such as Enable inlining, Merge threads with equal names etc.
  12. Click Run.