Code Sample that shows a Auto Hosted Project migrated to a Provider Hosted Project.
The sample includes two Visual Studio 2013 solutions. Both solutions use a Azure SQL Database and Azure web site for the RemoteWeb of the app built using the cloud app model (CAM). They demonstrate how to take an existing autohosted app and migrate to a provider-hosted app using the guidance published in the white paper MSDN - How to: Convert an autohosted app for SharePoint to a provider-hosted app.
##CustomerManagerAH This solution contains a working SharePoint autohosted app that can be deployed to Office 365.
##CustomerManagerPH This solution is a copy of the CustomerManagerAH solution except it has been modified using the above mentioned white paper.