OPCFoundation.NetStandard.Opc.Ua.PubSub 2.0.0

Prefix Reserved
dotnet add package OPCFoundation.NetStandard.Opc.Ua.PubSub --version 2.0.0
                    
NuGet\Install-Package OPCFoundation.NetStandard.Opc.Ua.PubSub -Version 2.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.PubSub" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OPCFoundation.NetStandard.Opc.Ua.PubSub" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.PubSub" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OPCFoundation.NetStandard.Opc.Ua.PubSub --version 2.0.0
                    
#r "nuget: OPCFoundation.NetStandard.Opc.Ua.PubSub, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OPCFoundation.NetStandard.Opc.Ua.PubSub@2.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OPCFoundation.NetStandard.Opc.Ua.PubSub&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=OPCFoundation.NetStandard.Opc.Ua.PubSub&version=2.0.0
                    
Install as a Cake Tool

OPC UA .NET Standard — PubSub

OPCFoundation.NetStandard.Opc.Ua.PubSub implements the publisher / subscriber side-channel defined by OPC 10000-14 (Part 14). It supports the UADP and JSON message mappings over UDP, MQTT, and broker-less transports — independent of the standard Client / Server session model.

Overview

The package provides:

  • The IPubSubApplication runtime and the connection / writer-group / reader-group object model, built via a fluent / DI API.
  • UADP (binary) and JSON message mappings.
  • UDP-, MQTT-, and broker-less transport profiles (in the companion Opc.Ua.PubSub.Udp / Opc.Ua.PubSub.Mqtt packages).
  • Dataset filtering, AES-CTR message security with a Security Key Service, diagnostics, and persisted state.

Getting started

Configure a publisher (or subscriber) through dependency injection:

using Microsoft.Extensions.DependencyInjection;

builder.Services.AddOpcUa()
    .AddPubSub(pubsub => pubsub
        .AddPublisher()
        .AddUdpTransport()
        .ConfigureApplication(app => app
            .WithApplicationId("urn:example:publisher")
            .UseConfigurationFile("publisher.xml")));

The legacy 1.04 UaPubSubApplication.Create(...) API has been removed in 2.0. See the PubSub migration guide to move to the fluent builder / DI surface.

Target frameworks

net48, net8.0, net9.0, net10.0.

Additional documentation

See the main repository README and the dedicated Opc.Ua.PubSub README for the full design (encodings, transports, security-key-service, discovery).

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on OPCFoundation.NetStandard.Opc.Ua.PubSub:

Package Downloads
OPCFoundation.NetStandard.Opc.Ua.PubSub.Diagnostics

OPC UA PubSub diagnostics: capture, dissection (incl. encrypted UADP) and replay of UDP / MQTT PubSub traffic.

OPCFoundation.NetStandard.Opc.Ua.Mcp.PubSub

OPC UA MCP tools for PubSub: runtime publisher and subscriber control, PubSub actions and discovery. Embed in any MCP server host.

OPCFoundation.NetStandard.Opc.Ua.PubSub.Udp

OPC UA PubSub UDP transport (Part 14 §7.3.2) class library.

OPCFoundation.NetStandard.Opc.Ua.PubSub.Mqtt

OPC UA PubSub MQTT transport (Part 14 §7.3.4) class library.

OPCFoundation.NetStandard.Opc.Ua.PubSub.Schema

OPC UA PubSub JSON Schema generation for DataSet payloads.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 227 10/7/2026
2.0.0-preview.6 138 9/30/2026 2.0.0-preview.6 is deprecated because it is no longer maintained.
2.0.0-preview.5 132 9/17/2026 2.0.0-preview.5 is deprecated because it is no longer maintained.
2.0.0-preview.4 125 9/2/2026 2.0.0-preview.4 is deprecated because it is no longer maintained.
2.0.0-preview.3 1,347 8/28/2026 2.0.0-preview.3 is deprecated because it is no longer maintained.
1.5.378.182 226 10/4/2026
1.5.378.176 671 9/11/2026 1.5.378.176 is deprecated because it is no longer maintained.
1.5.378.156 1,658 7/10/2026 1.5.378.156 is deprecated because it is no longer maintained.
1.5.378.152 496 6/25/2026 1.5.378.152 is deprecated because it is no longer maintained.
1.5.378.145 2,078 5/21/2026 1.5.378.145 is deprecated because it is no longer maintained.
1.5.378.134 2,249 3/26/2026 1.5.378.134 is deprecated because it is no longer maintained.
1.5.378.106 1,873 1/28/2026 1.5.378.106 is deprecated because it is no longer maintained.
1.5.378.65 514 12/18/2025 1.5.378.65 is deprecated because it is no longer maintained.
1.5.378.10-preview 492 11/18/2025 1.5.378.10-preview is deprecated because it is no longer maintained.
1.5.377.22 802 11/14/2025 1.5.377.22 is deprecated because it is no longer maintained.
1.5.377.21 575 9/22/2025 1.5.377.21 is deprecated because it is no longer maintained.
1.5.377.11-preview 260 9/4/2025 1.5.377.11-preview is deprecated because it is no longer maintained.
1.5.376.244 787 7/31/2025 1.5.376.244 is deprecated because it is no longer maintained.
1.5.376.235-beta 527 6/26/2025 1.5.376.235-beta is deprecated because it is no longer maintained.
1.5.376.232-beta 294 6/16/2025 1.5.376.232-beta is deprecated because it is no longer maintained.
Loading failed