I'll start by saying that I'm fairly new to the idea of deploying applications to the cloud, but I recently downloaded the Azure SDK and wanted to build a sample application to get myself up-to-speed. Here's what I did.
- Download the Azure SDK
- Create a new solution
- Add a new ASP.NET MVC2 Web Role
- Compile
- Debug
Everything seems to work just fine when I am in debug mode locally--I can create users, log in, and click around. When I deploy my solution, though, I feel like the database is not getting deployed. I understand that SQL Azure works differently from SQL Express, so I have a few questions.
- Is the ASP.NET MVC2 Web Role with its accompanying database meant for deployment to Azure?
- How can I get my database "into the cloud"?
- What is the best way to manage my schema and lookup data for deployment to SQL Azure?
One thing that struck me while I was searching for a solution is that there is not a wealth of good documentation for Azure--all of the tutorials I found are old or targeted at betas. Help!
Edit: The ideal solution to me does not involve opening SQL Server Management Studio to export my schema/data scripts every time I want to deploy. Surely there is a better way than this?