Hello,
Within my VS2008 solution using the 'Web Site' approach, I have 2 projects. One is WCF and the other is ASP.Net. Within the ASP.Net project I can add a service reference by pressing 'Discover' in the pop-up dialog and it finds the service in the other project and I can successfully add it. I can also add a service reference by entering the address of the same service that's located on my web host's server by entering the URL in the pop-up dialog and pressing 'Go'.
In order to use the correct reference when the code is either running from VS2008 on my laptop or on the web host's server, I need to manually change code in two places. First, in the MyServiceHostFactory in my WCF project I change the CreateServiceHost method to use the correct URI. And, second, I need to change the web page in my ASP.Net project to create t ...
Go to the complete details ...