You are here: Using SOAP > v2006 services > Tutorials and samples > C# ASP.NET 2003 samples set up v2006

S A M P L E S

C# ASP.NET 2003 samples set up v2006

The purpose of these samples is to demonstrate how to develop C# ASP.NET applications for ArcWeb Services using Microsoft Visual Studio .NET 2003. The set up instructions cover how to deploy the sample files in a Web application.

These samples assume you have Microsoft Visual Studio .NET 2003 or Microsoft .NET Framework SDK 1.1 running on your machine. They also assume you have an activated ArcWeb account and a program to unzip the sample code.

For more information on getting started with ArcWeb Services, see Getting started with ArcWeb Services and the SOAP toolkit tutorials.

How to use

  1. Download the sample code (ZIP file).
  2. Move or copy the folder named ArcWebSamplesCS to the IIS server root directory (usually found at C:\Inetpub\wwwroot).
  3. Open Internet Information Services in Control Panel > Administrative Tools and browse to Web Sites > Default Web Site.
  4. Right-click the Default Web Site and go to New tab and click Virtual Directory.
  5. Create a webapp alias name and point to C:\Inetpub\wwwroot\ArcWebSamplesCS.
  6. Browse to the IIS server root directory and open the ArcWebSamplesCS folder.
  7. Open the Web.config file and replace the <appSettings> UserName and Password values with your ESRI Global Account user name and password, then save and close the Web.config file.
  8. Test the sample in a browser by typing the following URL:

http://localhost/ArcWebSamplesCS/index.htm

NOTE: You can customize the samples to suit your needs. To do this, open the ArcWebSamplesCS.csproj file using Visual Studio .NET and alter the code.


Visit the Feedback page to give comments or suggestions about the ArcWeb Developer's Guide.

ArcWeb site | ArcWeb support | support.esri.com

Copyright © ESRI