Permalink
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (47 sloc) 2.87 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
Network Tracing in the .NET Framework
03/30/2017
.net-framework
article
VB
CSharp
C++
jsharp
debugging [.NET Framework], network tracing
methods, network tracing
Networking
trace enabled debugging
network tracing, about network tracing
network tracing
network, network tracing
traffic tracing
tracing [.NET Framework], network
deploying applications [.NET Framework], network traffic
capturing network traffic
Internet, network tracing
Network Resources
output, network tracing
method invocations
e993b7c3-087f-45d8-9c02-9dded936d804
9
mcleblanc
markl
markl

Network Tracing in the .NET Framework

Network tracing in the .NET Framework provides access to information about method invocations and network traffic generated by a managed application. This feature is useful for debugging applications under development as well as for analyzing deployed applications. The output provided by network tracing is customizable to support different usage scenarios at development time and in a production environment.

To enable network tracing in the .NET Framework, you must select a destination for tracing output and add network tracing configuration settings to either the application or machine configuration file. For descriptions of configuration files and how they are used, see Configuration Files. For information about how to enable network tracing, see Enabling Network Tracing. For information about the settings that you need to add to the configuration file, see How to: Configure Network Tracing.

When tracing is enabled, you can capture trace information that is output by System.Net classes. Networking class members that generate tracing information include the following note in the Remarks section of their NET Framework class library documentation:

[!NOTE] This member outputs trace information when you enable network tracing in your application. For more information, see Network Tracing.

See Also

Enabling Network Tracing
How to: Configure Network Tracing
Interpreting Network Tracing
Introduction to Instrumentation and Tracing