![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Base Addresses for WCF Clients ? Hi Have I missed something obvious, or is there no way to use the "BaseAddress" pattern in a WCF (.NET 3.0) client configuration file, similar to that offered on the WCF Server? IMHO this would make the transition from Dev to QA etc versions of WCF servers much simpler. Something like : <system.serviceModel> <client> <baseaddresses> <add baseAddress="http://123.123.123.123:8000" /> </baseaddresses> <endpoint name="MyEndPoint" address="/MyNameSpace/SomeService" i.e. the actual endpoint address = baseAddress + endpoint.address Otherwise I guess this needs to be done programmatically, which seems a waste of an otherwise flexible config file? Thanks in Advance Stuart |
| | #2 (permalink) | ||||||||||||
| Guest | Re: Base Addresses for WCF Clients ? There is not base address on client. You just put everything in the endpoint address. "NonNB" <nonamebrande@xxxxxx> wrote in message news:e085d8ba-0591-4785-ba2e-546cf76c2902@xxxxxx
| ||||||||||||
| | #4 (permalink) | ||||||||||||
| Guest | Re: Base Addresses for WCF Clients ? I don't get why can't you use config the way it is now. What is the difference if you change is in endpoint address=http://server1/endpoint to different server2 or using base address? "NonNB" <nonamebrande@xxxxxx> wrote in message news:fec538df-80a3-4d7d-9097-3056808b55a5@xxxxxx
| ||||||||||||
| | #5 (permalink) |
| Guest | Re: Base Addresses for WCF Clients ? Our current project will have ~200 contracts by the time of completion, but always to just 'one' server - life could have been easier if just one point of configuration change for all endpoints. Dev : net.tcp://localhost:xxx/.... To QA: net.tcp://qaserver:xxx/... To Customer (UAT / Pilot / Live) net.tcp://customerservers:xxx/... etc |
| | #6 (permalink) | ||||||||||||
| Guest | Re: Base Addresses for WCF Clients ? Thanks. Finally got you. Still not sure if programmatically change too much. Find and Replace will do the job ... if you don't deploy too often to different servers. "NonNB" <nonamebrande@xxxxxx> wrote in message news:cd0f391f-4a7c-44d8-97a2-e603a46540b4@xxxxxx
| ||||||||||||
| | #7 (permalink) | ||||||||||||
| Guest | Re: Base Addresses for WCF Clients ? "Shimon Sim" wrote:
and try to use a service with base address of named pipes transport, WCF tries to create a new pipe with the same name and - no surprise - fails. For tcp this problem is solved with TCP Port Sharing (though it is not the best solution to my mind) but for net.pipe you haven't anything similar. | ||||||||||||
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2 Clients both behind ISA | James B | Live Folder Share | 3 | 02-22-2008 01:05 AM |
| Three mail clients? | karl mcgruber | Vista mail | 2 | 11-08-2007 08:51 AM |
| DFS Clients | Brian P. Hammer | Vista General | 43 | 02-07-2007 06:54 AM |
| maximum LAN clients? | More answers, less red tape | Vista General | 4 | 02-01-2007 09:25 AM |
| web based clients | =?Utf-8?B?S2FybCBQcm9zc2Vy?= | PowerShell | 0 | 08-17-2006 02:59 PM |