OpcNetApi for .Net Core 3|Classic OPC: DA, A&E, HDA, XML-DA, etc.|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
OpcNetApi for .Net Core 3
Avatar
EuroEager2008
Member
Members
Forum Posts: 12
Member Since:
11/23/2014
sp_UserOfflineSmall Offline
1
08/21/2019 - 11:42
sp_Permalink sp_Print

The published OpcNetApi (Nuget packages in https://opcfoundation.org/deve.....omponents/ zip-file) are targeted for .Net 2.0 and .Net 4.0 only.

Even if classic OPC is considered as legacy by many, there are still many suppliers that only supports classic COM servers (in-proccess and out-of-process) and it would be superb if the OpcNetApi could be targeted for .Net Core.
(and later .Net 5 after end of next year when there is no Cre and Full framework anymore, only .Net 5 and up (which are basically evolutions of .Net Core 3).

One of the showstoppers when trying to refer to OpcNetApi from a .Net Core 3 app is that some types (e.g. FILETIME) used in the API resides in the System.Runtime.InteropServices instead of System.Runtime.InteropServices.ComTypes even when the first is considered obsolete and the latter is defined in all frameworks except 1.0.
I don't know about other types which are stoppers, but probably quite a few structs, interfaces and enums, but I guess this is not to much work if the source code could be made available (github?) or the job just to be done and published at opcfoundation.org site.

Any views, comments etc.?

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
08/21/2019 - 14:51
sp_Permalink sp_Print

OPC Foundation Corporate Members have access to all of the source code.

Avatar
EuroEager2008
Member
Members
Forum Posts: 12
Member Since:
11/23/2014
sp_UserOfflineSmall Offline
3
08/21/2019 - 23:29
sp_Permalink sp_Print

Thanks, however that would simply be too high a price for our small company's tiny, but still necessary use of classic OPC.
Is there any plans of publishing such .Net Core 3 port of Core Components accessible for registered users?

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
08/22/2019 - 02:58
sp_Permalink sp_Print

It is tentatively scheduled for Q4 2019. That date could slip if more immediate issues come up.

Avatar
EuroEager2008
Member
Members
Forum Posts: 12
Member Since:
11/23/2014
sp_UserOfflineSmall Offline
5
08/22/2019 - 06:27
sp_Permalink sp_Print

Than

Randy Armstrong said
It is tentatively scheduled for Q4 2019. That date could slip if more immediate issues come up.

  

Thanks a lot, that sounds very good

Avatar
EuroEager2008
Member
Members
Forum Posts: 12
Member Since:
11/23/2014
sp_UserOfflineSmall Offline
6
11/14/2019 - 00:17
sp_Permalink sp_Print

Randy Armstrong said
It is tentatively scheduled for Q4 2019. That date could slip if more immediate issues come up.

  

Any news about the matter? 

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
7
11/14/2019 - 20:52
sp_Permalink sp_Print

Started some initial work. Looks like it is not a simple process.

Avatar
EuroEager2008
Member
Members
Forum Posts: 12
Member Since:
11/23/2014
sp_UserOfflineSmall Offline
8
11/15/2019 - 00:20
sp_Permalink sp_Print

Would open sourcing it be a good idea?

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
9
11/15/2019 - 07:07
sp_Permalink sp_Print

The OPC UA codebase is all open source because that is the codebase that OPC-F would like people to use.

Avatar
EuroEager2008
Member
Members
Forum Posts: 12
Member Since:
11/23/2014
sp_UserOfflineSmall Offline
10
11/15/2019 - 07:21
sp_Permalink sp_Print

Sure, but I think there is still plenty lecacy classic servers out there and .net core is what MS like developers to use...

Avatar
Rostant Fotso
New Member
Members
Forum Posts: 1
Member Since:
11/22/2019
sp_UserOfflineSmall Offline
11
11/22/2019 - 08:55
sp_Permalink sp_Print

Thanks, however that would simply be too high a price for our small company's tiny, but still necessary use of classic OPC.
Is there any plans of publishing such .Net Core 3 port of Core Components accessible for registered users?

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
12
11/22/2019 - 10:35
sp_Permalink sp_Print

The .NET Standard RCWs are here:

https://github.com/OPCFoundati.....Common/Rcw

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
13
11/22/2019 - 23:15
sp_Permalink sp_Print sp_EditHistory

I have the .NET API client code built with .NET Core and talking to a DA server.

I could use assistance beta testing.

Please email randy.armstrong opcfoundation org if you can help.

Avatar
EuroEager2008
Member
Members
Forum Posts: 12
Member Since:
11/23/2014
sp_UserOfflineSmall Offline
14
12/16/2019 - 02:57
sp_Permalink sp_Print

Randy Armstrong said
I have the .NET API client code built with .NET Core and talking to a DA server.

I could use assistance beta testing.

Please email randy.armstrong opcfoundation org if you can help.

  

I sent you an e mail about a week ago, have you seen it?

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
15
12/20/2019 - 23:12
sp_Permalink sp_Print

This issue should be fixed in the 108 that was posted today.

It will be RC until Jan 15th to give people a chance to test and report issues.

Avatar
Elio Hernan
New Member
Members
Forum Posts: 2
Member Since:
04/24/2020
sp_UserOfflineSmall Offline
16
04/24/2020 - 22:39
sp_Permalink sp_Print

EuroEager2008 said
Would open sourcing it be a good idea?

  

I like this idea. Can we please make the OPC Classic open source? I am actually hoping to work on COM/DCOM server in my free time. Making the reference code in Github would be perfect.

Let us (me) know how we can help to make it open source.

Avatar
Lourdes Martínez
New Member
Members
Forum Posts: 2
Member Since:
09/05/2019
sp_UserOfflineSmall Offline
17
08/05/2020 - 09:08
sp_Permalink sp_Print

Hi everyone

I need some help. I installed the opc-core-components-redistributables-3.00.108-20191220 downloaded from the OPC Foundation. Does not give an error but the DLLs (OpcComRcw.) do not appear in C: \ Windows \ assembly
Can you help me?
Thanks in advance

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
18
08/06/2020 - 14:07
sp_Permalink sp_Print

The RCW is no longer installed with the CoreComponents.

Users need to use a NuGet package that was available to members only.

This was an oversight that has been corrected. The NuGet is available to all registered users:

https://opcfoundation.org/deve.....omponents/

Avatar
Lourdes Martínez
New Member
Members
Forum Posts: 2
Member Since:
09/05/2019
sp_UserOfflineSmall Offline
19
08/07/2020 - 15:45
sp_Permalink sp_Print

Randy Armstrong said
The RCW is no longer installed with the CoreComponents.

Users need to use a NuGet package that was available to members only.

This was an oversight that has been corrected. The NuGet is available to all registered users:

https://opcfoundation.org/deve.....omponents/

  

Thank you and take care

Avatar
Dustin VanKeuren_2
Member
Members
Forum Posts: 4
Member Since:
02/29/2024
sp_UserOfflineSmall Offline
20
02/29/2024 - 07:47
sp_Permalink sp_Print

I agree about the open sourcing.  Lots of us are still stuck with using classic OPC and have to deal with the ever-changing environments.  Paywalling  the apis and the source does not help and just makes me want to abandon OPC altogether.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: prabhakaran prabs
Guest(s) 27
Currently Browsing this Page:
2 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1354
Posts: 4590