Figure 1: Windows Azure Portal, SQL Database
Figure 8: The Customers Table
This next section is about building the Web Service that will expose SQL data to our Windows 8 clients.
Figure 12: Creating a new cloud project
Figure 13: Choosing ASP.NET MVC 4 WEB ROLE
Figure 17: The connection string needed by the web service
Figure 18: Modified Get() method
Now that we’ve created our web service, we will now deploy to the cloud. We will need to go back to the Windows Azure portal to do that.
Figure 19: Creating a new cloud service
Figure 20: brunoeasycloudlesson is created
Figure 22: The package files we will upload to the portal to perform the deployment
Figure 25: The deployment underway
The Windows 8 client will call into the web service, which, in turn, will return to our Windows 8 client.
Figure 29: Adding controls to MainPage.xaml (notice the Button and ListView controls in the TOOLBOX)
Figure 30: A button and listview control added
Now it is time to enjoy the fruits of our labor. Start by setting Visual Studio 2012 to use the Simulator as follows:
Figure 31: Setting the Simulator
And what about if you do not want to use Azure?
Thank you very much. A musy post for beginners