Visual Studio code

All examples in the book that are coded in Visual Studio are contained in the VisualStudio folder.

Opening the samples

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:

Opening the samples

Modifying the service references

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:

  1. Right-click on the service reference and choose Configure Service Reference...:
    Modifying the service references
  2. In the Address field, enter the address that you want to use:
    Modifying the service references

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:

  1. Right-click on the service reference and choose Update Service Reference....
  2. Verify that the app.config file contains the correct settings.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.77.208