The purpose of these samples is to demonstrate how to develop Visual Basic ASP.NET applications for ArcWeb Services using Visual Studio .NET. The set up instructions cover how to deploy the sample files in a Web application.
This tutorial assumes you have Visual Studio .NET running on your machine and an active subscription to ArcWeb Services. It also assumes you have a program to unzip the sample code.
For more information on getting started with ArcWeb Services, see Getting started with ArcWeb Services for Developers and Introducing quick-start tutorials.
Unzip the vbaspsamples.zip file.
Copy or move the folder named ArcWebSamplesVB to the IIS server root directory (usually found at C:\Inetpub\wwwroot).
Open Internet Information Services in Control Panel > Administrative Tools and browse to the ArcWebSamplesVB virtual folder in (local computer) > Web Sites > Default Web Site.
Right-click the ArcWebSamplesVB virtual folder, select Properties, then click the Directory tab if it is not already selected.
Click Create to let IIS know that this folder is a Web application, then click OK to close the Properties window. Close Internet Information Services.
Browse to the IIS server root directory and open the ArcWebSamplesVB folder.
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.
Test the sample in a browser by typing the following
URL:
http://localhost/ArcWebSamplesVB/
Note: You can customize the samples to suit your needs. To do this, open the ArcWebSamplesVB.vbproj file using Visual Studio .NET and alter the code.