With the XDASrv Rapid Server Toolkit the XML DA server development is reduced to the development of a .Net customization assembly with configuration definitions and device access methods.
The generic XML DA server is provided for:
- ASP.NET2 (for development with Visual Studio 2005)
- WCF (for development with Visual Studio 2005 for Windows Vista)
The customization plug-in is developed with Visual Studio using either C# or Visual Basic.
A new server development project can:
-
be created with one of the project creation wizards
The wizard creates a new Visual Studio project with either skeleton code or sample code according the dialog selections.
The application is created in the specified virtual directory and is accessible as a IIS web service.
-
be based on one of the sample applications
Copy the best fitted sample application into a new directory and make the following changes:
-
Create the application directory as an IIS virtual directory, either with the IIS Manager utility or the MakeIISVDir utility supplied with XDASrv.
The sample application is now accessible in the new web directory.
-
Open the copied project in Visual Studio and optionally change the solution and project name
- Open the web.config file and adpat the configuration definitions.
-
Open the file ServerAdapt.cs / .vb and change the server registration definitions in the method GetServerRegistryDef().
This is only required if the customizaton plug-in is also to be used with the XDASrv OPC DA COM server.
Unique GUIDs for the CLSID and APPID can be generate with the Visual Studio tool Create GUIDS
-
Make the functional program changes
-