Common notes
This documentation is not complete and will be updated later.
Migration from SDK 2.x to 3.x
- Remove referenced Unified Automation assemblies and add the distributed packages
- UaBase
- UaBase.Windows
- UaClient (for client applications)
- UaServer (for server applications)
- Set the type of the UaApplicationConfiguration to "UnifiedAutomation.UaBase.ApplicationConfigurationSection,UnifiedAutomation.UaBase.Windows".
- Replace calling
new UaClient.Session()
by new UaClient.Session(ApplicationInstance.Default)
.
- Replace XmlElement by XmlString when using the DataType for DataValues.
- Replace Utils.GetDefaultIcon by GuiUtils.GetDefaultIcon.
- Remove EventHandler MissingHttpsCertificate.
- If the ApplicationSettings are set in code, then replace UaSchema.SecuredApplication by ConfigurationInMemory.
Migration of applications based on .NET Framework to .NET Core
- Change framework to .NET Core 2.0 or later.
- Remove all dependencies to System.Windows.Forms.
- Remove package UaBase.Windows.
- Add package UaBase.BouncyCastle.
- Remove application configuration with app.config and add a in memory based configuration.
- Replace occurances of ApplicationInstance by ApplicationInstanceBase. Only use the functionality of ApplicationInstanceBase.