Home   |   QuickStart Welcome   |   ASP.NET   |   Web Services   |   How Do I...?   
  |   I want my samples in...      

ASP.NET 2.0 Web Services QuickStart Tutorial

ASP.NET Web Service Client That Allows Runtime Selection of the Web Service

Rather than hardcoding the location of your web service or using the default location in the client proxy, you can store the value in config. This will allow your or an administrator to change the location in config without changing code.

<configuration>
   <appSettings>
      <add key="WSUrl" value="insert location here..." />
   </appSettings>
</configuration>

Run VB Sample
Run Sample View Source



Microsoft .NET Framework SDK QuickStart Tutorials Version 2.0
Copyright � 2004 Microsoft Corporation. All rights reserved.