Does the .NET Stack runs only on Windows?|OPC UA Implementation: Stacks, Tools, and Samples|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Does the .NET Stack runs only on Windows?
Avatar
P R
New Member
Members
Forum Posts: 2
Member Since:
08/02/2017
sp_UserOfflineSmall Offline
1
09/11/2017 - 02:00
sp_Permalink sp_Print

Hi everyone,

Please, I would like to know if the OPC UA .NET Stack from the OPC Foundation only works in a windows platform, or if it also runs in other platforms through .NET Core (namely in Linux).

Thanks in advance.

Regards,
Pedro

Avatar
Guest
Guests
2
09/12/2017 - 05:19
sp_Permalink sp_Print sp_EditHistory

The OPC Foundation offers two options, both available on github:

(1) for Windows only – but also for Windows XP –> https://github.com/OPCFoundation/UA-.NET

(2) based on .NET StandardLibrary and therefore for all platforms that the StandardLibrary can be built for: https://github.com/OPCFoundati…..ardLibrary

Over time, only (2) will be pursued.

Avatar
Zbynek Zahradnik
Member
Members
Forum Posts: 62
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
3
09/12/2017 - 09:46
sp_Permalink sp_Print

Karl, shouldn’t the second link be https://github.com/OPCFoundati…..ardLibrary instead?

Avatar
P R
New Member
Members
Forum Posts: 2
Member Since:
08/02/2017
sp_UserOfflineSmall Offline
4
09/12/2017 - 13:41
sp_Permalink sp_Print

Thank you both!

Avatar
Guest
Guests
5
09/12/2017 - 23:38
sp_Permalink sp_Print

I fixed my response (copy-paste error). Thank you Zbynek.

Avatar
sixdiamants
Zoetermeer
Member
Members
Forum Posts: 4
Member Since:
06/15/2017
sp_UserOfflineSmall Offline
6
02/05/2018 - 05:27
sp_Permalink sp_Print

I run it on an Ubuntu server as we speak.

Instructions are found here and here.

And here’s a summary of what I had to do:

sudo apt-get install curl
sudo curl  https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'


sudo apt-get update
sudo apt-get install dotnet-sdk-2.0.2
dotnet new console -o myApp

sudo apt-get install git
git clone https://github.com/OPCFoundation/UA-.NETStandard.git
cd UA-.NETStandard
dotnet restore UA-NetStandard.sln 
cd SampleApplications/Samples/NetCoreConsoleServer
dotnet run
Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 25
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1446
Posts: 4891