Earlier this week it was announced that Windows Azure now supports .NET 4. I figured a few of you would want to know how you could write a RIA Services application that ran on the cloud, so I thought I’d put something simple together to get you started. This post covers creating and modifying a RIA business application to run on Windows Azure. I’m assuming you already have some familiarity with Azure, the website, and the tools. If not, a couple great places to start are the official home page and Jim’s blog.
These steps show how to create a business application project targeted at the cloud and ready for local development. Steps 2 and 3 can also be followed to modify a preexisting business application for the cloud.
At this point, you should be able to run the application in the Azure development fabric. To prepare the application to run in the cloud, there are only a couple other updates that must be made.
description="Profile provider using table storage"
Also in step 4, be sure to update the appSettings to match the values specified on your storage account summary page. When setting the endpoints, you will need to use the https scheme (e.g. https://accountname.table.core.windows.net).
At this point you should be able to deploy your business application. This MSDN topic will help guide you through deploying a cloud service from Visual Studio when you’re ready.
One more thing to consider before deploying is whether you need to migrate your data to Azure. There are plenty of guides out there for this so just look around.
Finally, if you’re interested in Logging and Tracing on Windows Azure, I found this MSDN article by Mike Kelly particularly helpful.
That’s all for this post. In part two I’ll help you get started using RIA with Windows Azure and SQL Azure.