title: How to deploy WCF service with Entity Framework to IIS?
body: <p>I currently copy web.config, SVC file and a bin folder with all the compiled code. This is sufficient for non-DB operations to work. However, I get errors whenever I call any operation which has EF entities. </p>
  
  <p>The web.config file contains a valid connection string. How should I deploy the edmx file?</p>
  
  <p>Also, instead of this manual deployment, is there an alternate way to build a deployment package that will take care of DB upgrades as well if needed?</p>
  
  <p>I tried the "Publish" option but that is not very intuitive.</p>
  
  <p>I am using .Net 4.0, VS2010, IIS7.5, SQLServerExpress 2008R2.</p>