Versioning a Service

Mar 12 2009 10:40 AM

Hi

My company is needing a WCF Service that can version itself thru its App.config file.

<host>
   <
baseAddresses>
     
<add baseAddress="http://1.1.1.1:9999/MyService />
      <
add baseAddress="net.tcp://1.1.1.1:9999/MyService" />
   </
baseAddresses>
</
host>

We had thought that we could just add "/v1" to the end of each of the address lines, but when the service is run it throws an exception. Is there a way to do this? We are needing this because there will be multiple versions of the software out there after the first release.

 

Thank You
Earl


Answers (1)