Skip to content

Web application built using ASP.NET Core 3.0 as an example usage of OPC-UA PubSub Standard

License

Notifications You must be signed in to change notification settings

210342/OPC-UA-OOI-webapp

Repository files navigation

OPC-UA-OOI-webapp

Build and unit test

Web application built using ASP.NET Core 3.0 with Blazor Server as an example usage of OPC-UA PubSub Standard

Application depends on open-source NuGet packages developed by Mariusz Postół on github.

Goals

  • Implementing OPC-UA Part 14 PubSub protocol for m2m communication
  • Designing application architecture based on dependency injection
  • Handling and displaying asynchronous data from IoT machines
  • Designing graphical interface which changes based on the type of the data received

Build steps

  • Download and install ASP.Net Core 3.0.0
  • Clone or download this repository
  • Either:
    • Use dotnet CLI:
      • Navigate to ReferenceWebApplication project's directory (project, not solution)
      • Open command line and run dotnet run
      • Open a browser and navigate to https://localhost:5001 (unless this port was already taken)
    • Use Visual Studio 2019 (ASP.Net Core 3.0.0 won't work on earlier versions, reference):
      • Make sure you have installed necessary Visual Studio tools for developing ASP.Net Applications (You can use Visual Studio Installer to easily install those tools)
      • Open the ReferenceWebApplication solution
      • Choose IIS Express in the dropdown menu in the build toolbar
      • Build and run - this should open a browser with the right URL

Packages

The application is split into the following packages:

Package Description
M2M Communication Package focused on communicating between IoT machines using OPC-UA standard
Reactive interface Package focused onmodeling the received data and preparing it to be displayed
Reference Web Application Package focused on configuration of the application and its graphical interface

Package diagram

Package diagram