Using OpenDDS in a .NET Application with OpenDDSharp

Middleware News Brief (MNB) features news and technical information about Open Source middleware technologies.

The Object Management Group (OMG) Data Distribution Service (DDS) defines a standard for sharing data between applications. OpenDDS, a C++ implementation of DDS, was developed and open sourced by Object Computing and is available for use in .NET applications with help from the OpenDDSharp project.

OpenDDS applications efficiently share data across the network using strongly-typed and asynchronous cache updates based on topics and Quality of Service (QoS) policies. OpenDDS includes support for the DDS Security standard, which includes authentication, encryption, and access control. In this article, you will learn how to use OpenDDSharp to add DDS publish-subscribe communications to a .NET application.

Using OpenDDS in a .NET application has always been possible, but it required the developer to write interface code to access the OpenDDS DLLs. It also required OpenDDS to be downloaded and built on the developer’s system.

OpenDDSharp provides pre-built binaries for a specific OpenDDS version in the form of an IDL Project extension and a NuGet package for interfacing .NET projects with OpenDDS. In this middleware-focused SETT article, we take an OpenDDS example application and write a similar OpenDDSharp application, comparing the code and showing how easy it is to use OpenDDSharp. 

Read the Article

Software Engineering Tech Trends (SETT) is a regular publication featuring emerging trends in software engineering.