I have a development machine with a WCF client, the development now is done
I want to switch to the production
so I got the WSDL link to the production server(same service, different link)
What do I need to change in the web config release in order to switch to the production?
Thanks
Edit
There is one more thing, when I import the dev WSDL I got this in my config, how do i create one for the production?
<identity>
<certificate encodedValue="AwAAAAEAAAAUAAAAiMP2hRL597Js3Czdjo....." />
</identity>
To find the difference between a prod WSDL and a DEV WSDL you need to use the svcutil.
Open a visual studio command prompt then run:
svcutil http://prod/service.svcIt will give you a location of “output.config”. Open that up and look at the differences.
Best practice for deploying is to use the Web.Config Transformations that Microsoft has built into Visual Studio 2010. Detail here: http://msdn.microsoft.com/en-us/library/dd465318.aspx
The basic steps are:
Here is an example of a web.release.config that has replaces the endpoint’s configuration area. Notice the xdt:Transform=”Replace”, That replaces the whole client node.