OPCFoundation.NetStandard.Opc.Ua.Configuration 2.0.0-preview.6

OPC UA .NET Standard — Configuration

OPCFoundation.NetStandard.Opc.Ua.Configuration is the application bootstrap library. It contains the ApplicationInstance / IApplicationInstance surface that loads ApplicationConfiguration from disk (or fluent builder), provisions the application instance certificate, and starts a server via ApplicationInstance.StartAsync(IServerBase, …).

Overview

Reference this package from every server, GDS, or LDS executable. The package provides:

  • ApplicationInstance — load configuration, ensure application certificate, start the server.
  • IApplicationConfigurationBuilder — fluent configuration builder (replaces XML-only configuration).
  • ConfigureApplication(...) — shared DI application options used by AddClient(...), AddServer(...), or a combined client/server host.
  • CertificatePasswordProvider integration for encrypted application certificates.
  • ConfigurationWatcher — hot-reload of Application.xml.

Getting started

using Opc.Ua;
using Opc.Ua.Configuration;

var application = new ApplicationInstance(telemetry)
{
    ApplicationName = "MyServer",
    ApplicationType = ApplicationType.Server,
};

await application.Build("urn:localhost:MyServer", "uri:example.com:MyServer")
    .AsServer(new[] { "opc.tcp://localhost:62541/MyServer" })
    .Create()
    .ConfigureAwait(false);

await application.CheckApplicationInstanceCertificatesAsync(true).ConfigureAwait(false);
await application.StartAsync(new MyServer(telemetry)).ConfigureAwait(false);

For dependency-injected applications:

services.AddOpcUa()
    .ConfigureApplication(options =>
    {
        options.ApplicationName = "MyApplication";
        options.ApplicationUri = "urn:localhost:MyApplication";
        options.ProductUri = "uri:example.com:MyApplication";
    })
    .AddClient(options => options.Session = new ManagedSessionOptions());

Target frameworks

net472, net48, netstandard2.1, net8.0, net9.0, net10.0.

Additional documentation

See the main repository README and the Dependency Injection guide for the application builder surface, and the documentation folder for the configuration file schema and certificate management.

Showing the top 20 packages that depend on OPCFoundation.NetStandard.Opc.Ua.Configuration.

Packages Downloads
OPCFoundation.NetStandard.Opc.Ua.Server
OPC UA Server Class Library
1

https://github.com/OPCFoundation/UA-.NETStandard/releases

.NET 10.0

.NET 9.0

.NET 8.0

.NET Standard 2.1

.NET Framework 4.8

.NET Framework 4.7.2

Version Downloads Last updated
2.0.1 0 12.10.2026
2.0.0 0 07.10.2026
2.0.0-preview.6 1 03.10.2026
2.0.0-preview.5 1 03.10.2026
2.0.0-preview.4 1 03.10.2026
2.0.0-preview.3 1 03.10.2026
2.0.0-preview.2 1 03.10.2026
1.5.378.182 0 04.10.2026
1.5.378.176 1 03.10.2026
1.5.378.156 1 03.10.2026
1.5.378.152 1 03.10.2026
1.5.378.145 1 03.10.2026
1.5.378.134 1 03.10.2026
1.5.378.106 1 03.10.2026
1.5.378.65 1 03.10.2026
1.5.378.10-preview 1 03.10.2026
1.5.377.22 1 03.10.2026
1.5.377.21 1 03.10.2026
1.5.377.11-preview 1 03.10.2026
1.5.376.244 1 03.10.2026
1.5.376.235 1 03.10.2026
1.5.376.213 1 03.10.2026
1.5.375.457 1 03.10.2026
1.5.375.443 1 03.10.2026
1.5.375.71-ECC-preview 1 03.10.2026
1.5.374.176 1 03.10.2026
1.5.374.168 1 03.10.2026
1.5.374.158 1 03.10.2026
1.5.374.126 1 03.10.2026
1.5.374.124 1 03.10.2026
1.5.374.118 1 03.10.2026
1.5.374.78 1 03.10.2026
1.5.374.70 1 03.10.2026
1.5.374.61-preview 1 03.10.2026
1.5.374.54 1 03.10.2026
1.5.374.50-preview 1 03.10.2026
1.5.374.36 1 03.10.2026
1.5.374.33-preview 1 03.10.2026
1.5.374.27 1 03.10.2026
1.5.374.26-preview 1 03.10.2026
1.5.374-preview.g1a7d9b8e51 1 03.10.2026
1.5.373.121 1 03.10.2026
1.5.373.3-preview 1 03.10.2026
1.5.372.113 1 03.10.2026
1.5.372.110-rc2 1 03.10.2026
1.5.372.1-rc 1 03.10.2026
1.5.371.3-beta 1 03.10.2026
1.5.368.5-beta 1 03.10.2026
1.4.372.116-preview 1 03.10.2026
1.4.372.112-preview 1 03.10.2026
1.4.372.107 1 03.10.2026
1.4.372.106 1 03.10.2026
1.4.372.91-preview 1 03.10.2026
1.4.372.76 1 03.10.2026
1.4.372.67-preview 1 03.10.2026
1.4.372.56 1 03.10.2026
1.4.372.46-preview 1 03.10.2026
1.4.372.38-preview 1 03.10.2026
1.4.371.96 1 03.10.2026
1.4.371.91 1 03.10.2026
1.4.371.86 1 03.10.2026
1.4.371.60 1 03.10.2026
1.4.371.50 1 03.10.2026
1.4.371.41 1 03.10.2026
1.4.371-preview.ge89b06e57b 1 03.10.2026
1.4.370.12 1 03.10.2026
1.4.370.9 1 03.10.2026
1.4.370.1 1 03.10.2026
1.4.369.30 1 03.10.2026
1.4.368.58 1 03.10.2026
1.4.368.53 1 03.10.2026
1.4.368.33 1 03.10.2026
1.4.367.100 1 03.10.2026
1.4.367.95 1 03.10.2026
1.4.367.75 1 03.10.2026
1.4.367.42 1 03.10.2026
1.4.367.41 1 03.10.2026
1.4.367.39 1 03.10.2026
1.4.366.38 1 03.10.2026
1.4.365.48 1 03.10.2026
1.4.365.23 1 03.10.2026
1.4.365.10 1 03.10.2026
1.4.365.2 1 03.10.2026
1.4.364.40 1 03.10.2026
1.4.363.107 1 03.10.2026