title: Deploy Entity Framework Code First
body: <p>I guess I should have thought of this before I started my project but I have successfully built and tested a mini application using the code-first approach and I am ready to deploy it to a production web server.</p>
  
  <p>I have moved the folder to my staging server and everything works well.  I am just curious if there is a suggested deployment strategy?</p>
  
  <p>If I make a change to the application I don't want to lose all the data if the application is restarted.</p>
  
  <p>Should I just generate the DB scripts from the code-first project and then move it to my server that way?</p>
  
  <p>Any tips and guide links would be useful.</p>
  
  <p>Thanks.</p>