---
title: Prerequisites for WCF Diagnostics Tracing Feature | Nodinite
description: Learn about the prerequisites for installing the Nodinite WCF Diagnostics tracing feature to enable end to end tracking including your WCF Applications.
---

<a class="nodinite-release-notes" href="https://portal.nodinite.com/marketplace/18" data-url="https://portal.nodinite.com/marketplace/18"><i class="fal fa-fw fa-file-alt" aria-hidden="true"></i> Release Notes</a>

# <i class="fal fa-square-plus" aria-hidden="true"></i> Prerequisites for the Nodinite WCF Diagnostics Tracing Feature

This page describes the prerequisites for installing, configuring and running the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [WCF Diagnostics Tracing Feature][].

The Logging solutions involves 2 parts:

1. WCF Diagnostics (involves changes on server with WCF Applications)
2. [Pickup Log Events Service Logging Agent][Pickup Service] (must be installed and have access to folders)

<div class="mermaid">
graph LR
    subgraph "WCF Enabled Application"
        roWCFApplication(fa:fa-globe WCF Application)-->
        roWCFTracing(fa:fa-bolt WCF Diagnostic Tracing</br>Configuration file</br>Nodinite DLL files )
        roFolder(fa:fa-folder Folder)  
        roWCFTracing --> roFolder
    end
    subgraph "Nodinite Server"
        roPS(fa:fa-truck-pickup Pickup Service)
        roFolder --> | SMB | roPS  
   end
</div>

## <i class="fal fa-bolt" aria-hidden="true"></i> Log Events and Payload

You must have at least one existing [IIS][]/WCF based solution that you must eventually [configure][Configuration] to emit [JSON formatted Log Events][JSON Log Event] to a file folder for pickup by the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service Logging Agent][Pickup Service].

|Verified|Topic|  
|:---:|---|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-box-check" aria-hidden="true"></i> <a href="#software-requirements">Software Requirements</a>|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-box-check" aria-hidden="true"></i> [What Windows User Rights does the WCF Diagnostics Tracing Feature require?](#what-windows-user-rights-does-the-wcf-diagnostics-tracing-feature-require)|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-box-check" aria-hidden="true"></i> <a href="#fa-shield-check-what-firewall-settings-does-the-nodinite-wcf-diagnostics-tracing-feature-require">What firewall settings does the Nodinite WCF Diagnostics Tracing Feature require?</a>|  

## Software Requirements

You need the following components:

1. Your WCF Application
2. Windows Server
3. .NET Framework
4. Pickup Service

### <i class="fab fa-windows" aria-hidden="true"></i> Supported Versions

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> WCF Diagnostics Tracing Feature can be used on the following list of Windows Server/ IIS versions

* Windows Server 2008 R2 (IIS 7.5)
* Windows Server 2012 (IIS 8.0)
* Windows Server 2012 R2 (IIS 8.5)
* Windows Server 2016 R2 (IIS 10)

All Windows Server editions are supported:

* Enterprise
* Standard
* Developer (which is Enterprise)
* Trial (which is Enterprise)

### .NET Framework

* .NET Framework 4.5 or later

### Pickup Service

The [Pickup Log Events Service Logging Agent][Pickup Service] must be installed and configured to pickup the log files from configured WCF Solutions. The Windows Service may be installed on any other Windows Server, as long as the emitted log files can be consumed (logged).

>See [Prerequisites for Pickup Service][] for additional details

#### Log API

The [LogAPI][] must be installed and accessible from the [Pickup Log Events Service Logging Agent][Pickup Service].

>See [Prerequisites for Log API][] for additional details

<h2 id="what-windows-user-rights-does-the-wcf-diagnostics-tracing-feature-require"><i class="fab fa-windows" aria-hidden="true"></i> What Windows User Rights does the WCF Diagnostics Tracing Feature require?</h2>

The AppPool On the Windows Server hosting the WCF Application runs with some Windows Identity. The WCF Diagnostics Logging feature requires the AppPool account to have the right to write files to configured **destination folder** (local or remote).

You must also have the rights to change .config files on the server hosting your WCF Applications.

>We at <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> strongly recommends that you log to a local folder or a highly available file share to avoid any problems within your WCF Application. Local access is more likely to be available and performs faster writes which means less overhead within your solution

## <i class="fal fa-shield-check" aria-hidden="true"></i> What firewall settings does the Nodinite WCF Diagnostics Tracing Feature require?

The WCF Diagnostics Tracing Feature writes trace files to a destination folder; the [Pickup Service][] reads that folder and posts the [Log Events][] to the [Log API][]. Firewall requirements depend on where the folder and the [Pickup Service][] are. The diagram shows every host involved, with the folder on a remote file share; each arrow starts at the side that opens the connection.

<div class="mermaid">
graph LR
    subgraph "Target: WCF Server (IIS)"
        roWCFApplication(fa:fa-globe WCF Application with Nodinite tracing)
    end
    subgraph "File Server (SMB)"
        roFolder(fa:fa-folder Trace file folder)
    end
    subgraph "Nodinite Agent Server"
        roPS(fa:fa-truck-pickup Pickup Service)
    end
    subgraph "Nodinite Core Services Server"
        roMonitoringService(fa:fa-watch-fitness Monitoring Service)
        roLogAPI(fa:fa-cloud-arrow-down Log API)
    end
    subgraph "Domain Controller"
        roDC(fa:fa-building Active Directory)
    end
    subgraph "DNS Server"
        roDNS(fa:fa-signs-post DNS)
    end
    roWCFApplication --> |"445"| roFolder
    roPS --> |"445"| roFolder
    roPS --> |"Log API site port"| roLogAPI
    roMonitoringService -.-> |"Agent site port (v7)"| roPS
    roWCFApplication -.-> |"88, 389, 636"| roDC
    roPS -.-> |"88, 389, 636"| roDC
    roWCFApplication --> |"53"| roDNS
    roPS --> |"53"| roDNS
</div>

*Network diagram: the WCF Application writes trace files to the share, the Pickup Service reads them and posts Log Events to the Log API. Dashed arrows are optional hops.*

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p><strong>No firewall changes are required</strong> between the WCF Application and the folder when it writes trace files to a <strong>local</strong> folder on the WCF Server. When the <a href="https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/">Pickup Service</a> runs on the Core Services Server (the typical installation), you need no firewall rule between the <a href="https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/">Pickup Service</a> and the <a href="https://docs.nodinite.com/core-services/log-api/overview/">Log API</a> or the <a href="https://docs.nodinite.com/core-services/monitoring-service/overview/">Monitoring Service</a>.</p></div>
</aside>

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><strong>Local Folder Recommended</strong>: <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> strongly recommends logging to a local folder or a highly available file share to avoid problems within your WCF Application. Local access is more likely to be available and performs faster writes, reducing overhead.</p></div>
</aside>

### Between the WCF Server and the file share

Required only when the WCF Application writes trace files to a remote SMB share. The IIS AppPool account needs **Write** permissions on the destination folder.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Target (WCF Server)|File Server|TCP|445|Direct-hosted SMB (SMB 2/3)|Recommended|  
|Outbound|Target (WCF Server)|File Server|TCP/UDP|135-139|Microsoft file sharing (NetBIOS)|Legacy SMB 1.0/CIFS only; consider disabling SMB 1.0|  
|Inbound|File Server|Target (WCF Server)|TCP/UDP|135-139, 445|Response traffic|Automatically allowed by stateful firewall inspection|  

### Between the Pickup Service and the file share

Required when the [Pickup Service][] runs on another server than the folder (the file share, or the WCF Server's local folder shared over SMB).

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|File Server|TCP|445|Read and delete trace files over SMB 2/3|Recommended|  
|Outbound|Agent Server|File Server|TCP/UDP|135-139|Microsoft file sharing (NetBIOS)|Legacy SMB 1.0/CIFS only|  
|Inbound|File Server|Agent Server|TCP/UDP|135-139, 445|Response traffic|Automatically allowed by stateful firewall inspection|  

### Between the Pickup Service and the Log API

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Core Services Server|TCP (HTTPS/HTTP)|Log API site port|Post Log Events to the [Log API][]|v7. The Log API is its own IIS web site; port set per environment in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> ([Servers step][])|  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>From <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7, the <a href="https://docs.nodinite.com/core-services/monitoring-service/overview/">Monitoring Service</a> also connects to the <a href="https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/">Pickup Service</a> for <a href="https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/how-do-i-configure-a-monitor-agent/">Remote Configuration</a>, and the <a href="https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/">Pickup Service</a> may bypass the <a href="https://docs.nodinite.com/core-services/log-api/overview/">Log API</a> and write to SQL Server. See the <a href="https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/prerequisites/#fa-shield-check-firewall-requirements">Pickup Service firewall requirements</a> for those hops.</p></div>
</aside>

### Between the servers and the Domain Controller

Required when the AppPool identity or the Pickup Service account is a domain account (or gMSA) that accesses the SMB share.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Target (WCF Server), Agent Server|Domain Controller|TCP/UDP|88|Kerberos authentication|Required for domain authentication|  
|Outbound|Target (WCF Server), Agent Server|Domain Controller|TCP/UDP|389|LDAP|Standard LDAP queries|  
|Outbound|Target (WCF Server), Agent Server|Domain Controller|TCP|636|LDAPS (Secure LDAP)|Required for LDAPS authentication|  

### Between the servers and DNS

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Target (WCF Server)|DNS Server|TCP/UDP|53|Name resolution|Resolve the File Server and the Domain Controller. A local `hosts` file can replace DNS|  
|Outbound|Agent Server|DNS Server|TCP/UDP|53|Name resolution|Resolve the File Server, the Domain Controller, and the Core Services Server|  

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>Stateful Firewalls</strong>: Most Windows Firewall implementations are stateful, so response traffic for established outbound connections is allowed automatically. The inbound response rules above are for reference and troubleshooting.</p></div>
</aside>

___

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked questions

Additional solutions to common problems and the FAQ for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [WCF Diagnostics Tracing Feature][] exist in the [Troubleshooting][] user guide.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

Complete these steps to enable WCF Diagnostics Tracing with business intelligence:

1. <i class="fal fa-rocket" aria-hidden="true"></i> [Install WCF Diagnostics Feature][] - Download and install the feature
2. <i class="fal fa-edit" aria-hidden="true"></i> [Configuration][] - Configure DefaultMessageType and MessageTypeFromBody properties
3. <i class="fal fa-tags" aria-hidden="true"></i> [Message Types][] - Define business transaction types (Critical first step)
4. <i class="fal fa-search-dollar" aria-hidden="true"></i> [Search Field Expressions][] - Configure extraction of business data

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-tags" aria-hidden="true"></i> [Message Types][] (Mandatory) - Define business transaction types for Search Field extraction  
* <i class="fal fa-search-dollar" aria-hidden="true"></i> [Search Field Expressions][] - Extract business data from WCF messages  
* <i class="fal fa-eye" aria-hidden="true"></i> [Log Views][] - Manage user access to WCF diagnostic data  
* <i class="fal fa-chart-line" aria-hidden="true"></i> [Non-Events Monitoring][] - Track message volumes and detect data outages  
* <i class="fal fa-project-diagram" aria-hidden="true"></i> [Business Process Modeling (BPM)][] - Correlate transactions end-to-end  
* <i class="fal fa-truck-pickup" aria-hidden="true"></i> [Pickup Service][] - Fetches WCF trace files asynchronously  
* <i class="fal fa-box-archive" aria-hidden="true"></i> [Log Agents][] - Manage Log Agents  
* <i class="fal fa-download" aria-hidden="true"></i> [LogAPI][] - Log API overview  
* <i class="fal fa-gears" aria-hidden="true"></i> [Administration][] - Nodinite Administration  
* <i class="fal fa-file-alt" aria-hidden="true"></i> [Release Notes][]  

[Administration]:https://docs.nodinite.com/administration/overview/
[Business Process Modeling (BPM)]:https://docs.nodinite.com/repository-model/bpms/overview/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/wcf-diagnostics-tracing/getting-started/configuration/
[IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[Install WCF Diagnostics Feature]:https://docs.nodinite.com/logging-and-monitoring/wcf-diagnostics-tracing/getting-started/installing/
[JSON Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Events]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[LogAPI]:https://docs.nodinite.com/core-services/log-api/overview/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[NodinitePortal]:https://portal.nodinite.com
[Non-Events Monitoring]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[Pickup firewall]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/prerequisites/#fa-shield-check-firewall-requirements
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Prerequisites for Log API]:https://docs.nodinite.com/core-services/log-api/getting-started/prerequisites/
[Prerequisites for Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/prerequisites/
[Release Notes]:https://portal.nodinite.com/marketplace/18
[Remote Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/how-do-i-configure-a-monitor-agent/
[Search Field Expressions]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[Servers step]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/wcf-diagnostics-tracing/troubleshooting/overview/
[WCF Diagnostics Tracing Feature]:https://docs.nodinite.com/logging-and-monitoring/wcf-diagnostics-tracing/overview/