Setting Up the Autodiscover Sample Application
The Autodiscover sample application source code, which is included in the Microsoft Exchange Server 2010 SP2 Web Services Software Development Kit (SDK), is installed by default in the directory in which the Exchange Server 2007 SDK is installed, in the \Samples\Autodiscover\ folder. Before you use the Autodiscover sample application, you must first build the AutodiscoverSample.exe file on a computer running MicrosoftVisual Studio .NET.The Autodiscover service must also be deployed and configured before the Autodiscover sample application can retrieve Autodiscover data.
Note
This sample application is intended for instructional purposes only and is not meant to be installed in a production environment.
For information about setting up the Autodiscover service, see the following topics:
Prerequisites
The following prerequisites are needed to build the Autodiscover sample application:
Microsoft.NET Framework
Visual Studio .NET
Building the Autodiscover Sample Application
To build AutodiscoverSample.exe
Navigate to the directory in which the Exchange Server 2007 SDK is installed, and open the \Samples\Autodiscover\ folder. Double-click the AutodiscoverSample.sln file.
From the Build menu, select Build AutodiscoverSample.
Note
If the sample is built in debug mode, the output to the console will contain a verbose trace of the application. Otherwise, only response data will be output to the console.