Sample Applications for Remote Data Service

   

Remote Data Service includes several sample applications that are valuable learning tools. Throughout the documentation, you'll find sample code and applications that illustrate programming techniques. You can copy any part of them into your own applications and modify them as necessary.

Remote Data Service provides the following sample applications that demonstrate how to use this technology to build intranet and Internet applications. If you have installed the applications, the samples will be available from the locations listed as follows. If you have not installed the applications, you can install them from the MSDN™ CD-ROM.

Sample application Path Description
ADCTest Installed to <device>:\Program Files\Common Files\System\MSADC\Samples\tutorial\tutorial.asp. A simple .asp file that you can use to validate your Remote Data Service installation.
Address Book Installed to <device>:\Program Files\Common Files\System\MSADC\Samples\AddressBook\addrbook.asp. A simple company directory application.

For detailed information about this application, see the Address Book Sample Application.

Selector Installed to <device>:\Program Files\Common Files\System\MSADC\Samples\Selector\SampStart.asp Shows how to implement various Remote Data Service application configurations on the client, middle, and data source tiers. 

These samples are provided in .asp format (your host server name is supplied automatically), but you can easily modify them to run as .htm pages.

To modify the samples to run in .htm format

  1. Open the .asp file in a text editor such as Notepad.

  2. Replace the string <%=Request.ServerVariables("SERVER_NAME")%> with the name of your Web server machine name.

Note   Companies, names, and data used in examples are fictitious unless otherwise noted.