See the corresponding chapter for a more detailed description.
Step | Description |
Create Application Project using the Wizard |
|
A1.1 | Start Visual Studio .Net 2005 Note: If VS was open during XDASrv setup then you may need to restart VS for the newly installed project templates to be recognized. |
A1.2 | Select File - New - Project - Compiler ( VB or C# ) |
A1.3 | Select the XDASrv or XDASrvWCF Template in the Advosol Folder |
A1.4 | Enter Project Name and Location and click OK |
A1.5 | On the wizard dialog select the project characteristics and settings. |
A1.6 | Click Finish The Visual Studio Solution is created according the selections. |
Create the Application Project from a Sample Application |
|
B1.1 | Copy the sample application directory and create the copied directory as a web application. |
B1.2 | Open the solution in Visual Studio and open the file ServerAdapt.cs respectively ServerAdapt.vb. You may change the Solution and Project name but don't change the Assembly Name (NSPlugin.dll). |
B1.3 | Search the method GetServerRegistryDef and modify the registration definition. Each server needs a unique CLSID (Def.ClsidServer) and AppID (Def.ClsidApp). Use the Visual Studio Tool Create GUID and paste the created unique GUID into the code, replacing the existing GUID. |
B1.4 | Compile the project. The XML DA server can no be accessed under the URL of the web application assigned to the project directory. |
Customize and Compile |
|
2.1
|
Edit the generated source files: and add files with additional classes as required for the project specific device handling. |
2.2 |
Build the project. |
2.3 |
To debug the service attach the Visual Studio debugger to the IIS worker process asp_net.exe respectively w3wp.exe in Vista. |
2.4
|
Start an XML DA client and check the item address space and the item values.
|
Deployment |
|
3.1 | Compile the Solution With Release configuration selected. |
3.2
|
Copy the files
|
3.3
|
Create a web application assigned to the target directory. IIS and the .NET Framework must be installed on the target machine. |