XDASrv Reference Manual
Visual Studio Project
Send comments on this topic.
Server Development > Visual Studio Project

Glossary Item Box

The XDASrv customization project creates a .NET assembly with the name NSPlugin.dll.
This DLL is called from the generic server and must therefore match the expected interface.
If the customization assembly is compiled with Visual Studio 2005 (for .NET Framework 2.0) then it must be used with the ASP.NET2 version of the generic server or the WCF version. The customization assembly may not be signed. The generic servers were compiled with an unsigned NSPlugin.dll and the .NET Framework will throw an exception if the assembly is signed.

 

Project Base:
A new XDASrv customization project can:

 

 

The project Assembly Name must always be NSPlugin and the output file NSPlugin.dll !

 

The minimally required files for an XDASrv web service are:

 

ASP.NET 2.0 OpcXmlDaServer.asmx
PrecompiledApp.config
web.config
bin\App_Code.dll  (ASMX edition)
bin\App_Code.compiled
bin\NSPlugin.dll
WCF web service OpcXmlDaServer.svc
PrecompiledApp.config
web.config

bin\App_Code.dll  (WCF edition)
bin\App_Code.compiled
bin\NSPlugin.dll
Self hosted WCF Service Host application (see sample)
App_Code.dll  (WCF edition)
NSPlugin.dll


 

 

To debug the application the Visual Studio Debugger needs to be attached to the IIS worker process asp_net.exe respectively w3wp.exe in Vista.
Self hosted WCF services are debugged by adding the host application to the service project and starting the host application in debug mode.

 

Copyright © 2002-2011 Advosol Inc. All Rights Reserved.