title: deploying a web application which references a class library which communicates with a WCF service
body: <p>I have a separate environment for development. On my production server, where we mostly host web applications, we deploy the precompiled version of the web project.</p>
  
  <p>While doing development I work on three projects. One is the WCF Service. Two, is the class library project. This library has classes which makes calls on the WCF service. And the third, is a web project which consumes the class library.</p>
  
  <p>The last two projects come under one VS solution. I host the wcf service in the development environment. This service is added as service reference to my class library. </p>
  
  <p>I am unable to visualize what will happen once I add the DLL (viz output of the class library project) to my web project, and, the web project has to be deployed. At the time of deployment I have to change the service reference (the url of the svc file will change as it has to point to the production wcf service). How to go about this? What must I take care when adding the dll to the web project?</p>