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

S A M P L E S

C# ASP.NET 2005 samples set up

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

These samples assume you have Microsoft Visual Studio .NET 2005 or Microsoft .NET Framework 2.0 and IIS 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 folder ArcWebSamplesCS and select Properties.
  5. Select the Directory tab and, under Application Settings, click the Create button.
  6. Click OK to apply all these changes and close the form.
  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:
  9. http://localhost/ArcWebSamplesCS/index.htm

NOTE: You can customize the samples to suit your needs. To do this, Start the IDE and open the application as a Web Site by selecting the Web Application through the Local IIS tab. Once the application is loaded in the IDE, you can 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