![Avatar](https://opcfoundation.org/wp-content/uploads/sp-resources/forum-avatars/defaults/userdefault.png)
01/23/2018
![sp_UserOfflineSmall](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_UserOfflineSmall.png)
I used the ModelCompiler from [1] to compile my information model. Now, I am looking for a way to import the information model into my .NET Server (based on the .NET Core Server Sample from [2]) including the .NET OPC-UA Stack as NuGet package [3].
The Boiler, MemoryBuffer, and TestData samples use a dedicated node manager (which inherit from SampleNodeManager). My first idea was to write such a dedicated node manager (which inherits from CustomNodeManager2) for my information model, but this seems to be complicated.
There seem to be simpler ways than writing a node manager (cf. [4] for node.js servers). The .NET implementation offers some methods to parse the files containing the predefined nodes [5] or alternatively the NodeSet2 file [6] to NodeStateCollection. Which steps are needed with the parsed NodeStateCollection to make the nodes known to the .NET Server?
Â
[1] https://github.com/OPCFoundation/UA-ModelCompiler
[2] https://github.com/OPCFoundation/UA-.NETStandard
[3] https://www.nuget.org/packages/OPCFoundation.NetStandard.Opc.Ua/
[4] https://stackoverflow.com/questions/40866428/how-can-i-generate-a-server-addressspace-from-a-xml-nodeset-file/
[5] https://stackoverflow.com/questions/49983225/populating-opcua-address-space-with-nodes-from-an-xml-schema/
[6] https://stackoverflow.com/questions/43944903/free-opc-ua-server-with-model-import-feature/
1 Guest(s)