I have created information models with your UaModeler.
The question is, how do I add the models to a server? Should I rather work with the dlls compiled from c# code or the XML?
Is there a way to do uploading dynamically runtime and how should it be done safely?
Uploading models to server
Moderator: uamodeler
- Support Team
- Hero Member
- Posts: 3064
- Joined: 18 Mar 2011, 15:09
Re: Uploading models to server
This is an implementation detail for your application. In the examples we add the NodeSet2 XML files as embedded resource to the project and file using ImportUaNodeset. There is an overload to use this method with an instance of FileInfo class.
Note: If you are importing a NodeSet2 XML file, you only load the nodes to the server. Connecting the real world data to the nodes has to be done in code. So most .NET server applications load the type system using the XML file and the auto-generated code, but the instances are created in code.
Note: If you are importing a NodeSet2 XML file, you only load the nodes to the server. Connecting the real world data to the nodes has to be done in code. So most .NET server applications load the type system using the XML file and the auto-generated code, but the instances are created in code.
Best regards
Unified Automation Support Team
Unified Automation Support Team