This is a quick entry just to show how to migrate an existing ASP.NET (or ASP.NET MVC) Web Application to Windows Azure. Make sure you have the Azure Tools SDK installed before stepping through this, otherwise you’ll get an empty project folder and end up with web page in Visual Studio. With your existing solution/project open in Visual Studio 2010 right click on the solution and add a new project. You will see the dialog as shown in the image below (click for large full size image, same goes for subsequent images)
Name your project and then click on OK. The following secondary dialog will appear. Since you want to use one of your existing web applications leave the “Cloud Service Solution:” section empty and click OK.
You will then see the following project appear in your Visual Studio 2010 Solution.
Right click on the Roles Folder in the new project as shown below. You will get the following options as shown; “New Web Role Project…”, “Web Role Project in solution…”, and “New Worker Role Project…” and select the “Web Role Project in solution…”.
The following dialog will pop up with any available web applications, in my case there is a single ASP.NET Web Application that is listed. Click OK and you now of a Windows Azure Cloud Deployable Application. Complete a build and right click on the Cloud Deployment Project and click Publish for the next steps into the cloud. But I’ll leave that particular exercise’s steps for another entry.