Uploading models to server

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
snr
Jr. Member
Jr. Member
Posts: 2
Joined: 02 Jun 2016, 05:18

Uploading models to server

Post by snr »

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?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Uploading models to server

Post by Support Team »

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.
Best regards
Unified Automation Support Team

Post Reply