Geeks With Blogs

News My Blog has been MOVED to https://mfreidge.wordpress.com
Michael Freidgeim's OLD Blog My Blog has been MOVED to https://mfreidge.wordpress.com

I am using dynamic URLBehavior for some web services and during Setup change web services URLs to appropriate value (based on MSDN article).

According to MSDN2: If you set the URL behavior of the Web reference to dynamic, the application obtains the URL at run time from the appSettings element of your application's configuration file. 

However I've noticed that app.config file has entries for the same URL in both appSettings and <applicationSettings>.
After reading the generated code (Reference.vb/cs) it seems that appSetting entry is ignored, and the actual url from applicationSettings is used.

After some research I found a confirmation here.

I didn't have a chance to test it yet. 

It seems like breaking change for my Setup/installer program.

Update: I've posted a helper class that allow me to Update Dynamic Web reference URLs Diring Installation in Visual Studio 2005

Posted on Friday, February 24, 2006 9:01 AM ASP.NET , .Net Framework , Deployment , Web Services/WCF | Back to top


Comments on this post: Dynamic Web Services reference URL in Visual Studio 2005

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net