.NET Reference server run as Windows service|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
.NET Reference server run as Windows service
Avatar
Peter Franklin
Member
Members
Forum Posts: 24
Member Since:
04/14/2020
sp_UserOfflineSmall Offline
1
10/19/2020 - 15:49
sp_Permalink sp_Print

Has anyone gotten the .NET Standard reference server to run as a Windows service?

I'm looking for some sample code or techniques to get this to work.

Avatar
Peter Franklin
Member
Members
Forum Posts: 24
Member Since:
04/14/2020
sp_UserOfflineSmall Offline
2
10/20/2020 - 09:38
sp_Permalink sp_Print

I see that there is a WindowsService class in ApplicationInstance.cs, but I can't find any examples of using it. It doesn't appear to be complete.

Has anyone used it, or run this server as a Windows service? Could really use some help here, as what I'm trying is not working out.

 

Thank you in advance for any help you can provide.

Avatar
Randy Armstrong
Admin
Forum Posts: 1451
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
3
10/21/2020 - 07:01
sp_Permalink sp_Print

The code is likely left over from the move to NETStandard which caused some features to be abandoned because they are not compatible with .NET Core.

You can likely find the original working code in the .NET legacy repo.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 20
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1349
Posts: 4577