Skip to main content
net10.0.NETFramework4.7.2.NETFramework4.8net8.0net9.0.NETStandard2.1

OPC UA PubSub Class Library

Published
Sep 2, 2026
1mo ago
Total Downloads
86.3K
86,316

Deprecated Package Version

Reason: Legacy

Install

dotnet add package OPCFoundation.NetStandard.Opc.Ua.PubSub --version 2.0.0-preview.4
ProductVersions
.NET
net10.0net8.0net9.0
.NET Standard
netstandard2.1
Other
.NETFramework4.7.2.NETFramework4.8

README

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

net472, net48, netstandard2.1, 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).

Changes from Previous Version

No structural changes between v2.0.0-preview.3 and v2.0.0-preview.4.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.