A common development environment that may be used to create source code with the InControl API is Microsoft Visual Studio. This appendix discusses how to set up Visual Studio when working with the InControl API.
The steps for Visual Studio setup are as follows:
Create a new Visual Studio project for code development. In this case we select a Windows Forms Application.
Add the InControl API as a Service in the project. Do this by selecting the Add Service Reference option after right clicking the References tree node.
In the Add Service Reference dialog, specify the full URL address of the InControl API. The address is constructed in the form net.tcp://localhost:33726/InControl.API where localhost should be substituted with the relevant IP address or hostname of the InControl server The Namespace to use is called InControl.API.
Make sure references to the new namespace and the System.ServiceModel is added in your source files according to the screenshot below.