Setting Up the Autodiscover Sample Application

Topic Last Modified: 2007-03-30

The Autodiscover sample application source code is installed by default in the directory in which the Exchange Server 2007 Software Development Kit (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 Microsoft Visual 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

  1. 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.

  2. 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.