DevForce Help Reference
App Class
Members 


Utility which provides a real-time display of DevForce tracing messages. App
Syntax
'Declaration
 
Public Class App 
   Inherits System.Windows.Application
   Implements System.Windows.Markup.IQueryAmbient 
'Usage
 
Dim instance As App
Remarks
You can run the WPFTraceViewer as a standaone utility to display tracing messages from a BOS or other application by launching WPFTraceViewer.exe from the command line. You can also open the TraceViewer window directly from your application to view it's tracing messages by constructing a new instance of the WPFTraceViewer window and then calling Show on it.

When invoked from the command line the Trace Viewer utility will display tracing messages from a BOS or other running DevForce application. The application must be "publishing" tracing messages. If your BOS is hosted by either the ServerConsole or ServiceService then publishing is on by default. If your BOS is hosted by IIS, or for a non-BOS application, you must enable publishing by calling TracePublisher.LocalInstance.MakeRemotable() in the startup logic (Application_Start in the global.asax for a BOS under IIS).

The default URL which this utility connects to is usually "net.tcp://localhost:9922/TracePublisher". To override this, required when the application is running on another machine or using a non-default port, pass the URL as the command line argument: WPFTraceViewer.exe "net.tcp://myserver:2299/TracePublisher" Also see the IdeaBlade.Core.TracePublisher topic for information on overriding publishing defaults.

Note that the WinTraceViewer and the WPFTraceViewer perform the same function; one is a Windows Forms implementation and one is a WPF implementation, but either can be used in any environment and will display the same results.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.Application
         IdeaBlade.DevTools.WPFTraceViewer.App

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

App Members
IdeaBlade.DevTools.WPFTraceViewer Namespace
TraceFns Class

Send Feedback