Consuming cloud data from a Windows 8 Metro/Grid Application This will be the first in a series of highly detailed posts with tons of code. I believe these posts will contain the core skills needed by the modern Windows Developer. I'm talking about only two things:
Download the Windows Azure SDK and Tools - To do these posts, absolutely necessary
This post is more conceptual. The next few posts will be much more prescriptive, with detailed step by step instructions, combined with all the code snippets, resulting in both Windows 8 Metro Clients and Windows Azure Cloud Servers, all running simultaneously on a single Windows 8 machine.
The untold story - a clear explanation of hosting a cloud-based, RESTful back-end for the a Windows 8 Metro client. The client below demonstrates our high level purpose.
Windows 8 Metro Grid Applications I love the Windows Metro 'Grid Template' that comes with the standard library of templates included in Visual Studio Express 2012 RC for Windows 8. These templates give you an incredible amount of useful code to jump start your application development. There are various layout and interaction models.
Sample Application: From the Cloud to your Windows 8 Metro Grid Application Entry Screen I created an application called Fast Motorcycle Application. It is similar to the Contoso cookbook example, but much simpler. The sample provides data models from both server and client that support a Windows 8 Metro Grid application.
GroupItemsPage.xaml - (first thing a user sees) This is first of three screens.
GroupDetailsPage.xaml (user clicks on category, like “Sport Bikes”) This is second of three screens.
ItemDetailsPage.xaml (user clicks on individual bike) This is the third of three screens.
Visual Studio 2010 – Windows Azure Cloud Project We will host a compiled version our Windows Azure Cloud Project in a Microsoft data center. We will be running our cloud application within Internet Information Server and within Windows Server 2008 R2. Our Cloud Based Solution = FastMotorcycleProject.sln Notice the solution contains two sub projects. Eventually, this will be compiled, packaged up and deployed to Windows Azure.
Windows Azure Project - FastMotorcycleProject.sln Here is the solution we will soon build up from scratch.
Follow - Up: More posts are coming (my code works I just need to explain it!) The next post will show the building of the Windows 8 Metro Client.