beautypg.com

Echelon i.LON SmartServer 2.0 User Manual

Page 344

background image

i.LON SmartServer 2.0 Programmer’s Reference

20-22

4. Add a reference to the Microsoft.Web.Services2.dll component. To do this, click Project and

then select Add References. The Add References dialog opens. Click the Browse tab, browse to
the C:\Program Files\Microsoft WSE\v2.0 folder on your computer, click the
Microsoft.Web.Services2.dll file, and then click OK.

5. Add the iLON100.cs proxy class to the project (you can copy the file to the same folder used to

store your source code). To add the proxy class, click Project, click Add Existing Item, browse
to the folder where the iLON100.cs file is stored, and then select the iLON100.cs file. This
allows you to use the complex soap types that the Write function uses on the data points on the
Data Server.

6. Optionally, you can change the target framework to .NET Framework 3.5. Note that the IIS

ASP.NET 2.0x version will still be used because the ASP.NET used by .NET Framework 3.5 is
simply an extension of the 2.0x version. To do this, click Project and then click WebBinder
Properties
. In the Target Framework box of the WebBinder tab, select .NET Framework 3.5.