All examples in the book that are coded in Visual Studio are contained in the VisualStudio
folder.
There is a folder for each of the chapters that contains the Visual Studio sample code. You can just go ahead and open the samples by opening the solution files with Visual Studio 2010, shown as follows:
Some of the Visual Studio projects contain references to services that we created while building the samples. All of these references are created using an address that points to localhost, so it should also be working for you. If you have an AOS that is not installed as the first AOS on your machine, you will need to configure the service reference address:
Right-click on the service reference and choose Configure Service Reference...:
In the Address field, enter the address that you want to use:
If you do not need to configure the service references, you still need to perform an update of the service references. This is to make sure that the app.config
file contains the correct settings for your system. The steps to perform the update of the service references are as follows:
Right-click on the service reference and choose Update Service Reference....
Verify that the
app.config
file contains the correct settings.