Windows Azure Code Samples
A number of code samples to help you get started with building scalable web application and services that run on Windows Azure.
csmanage.exe - a tool to manage your deployments and services, using the Windows Azure Service Management API
csmanage.exe + client library source Source for csmanage and sample .NET service management API client library
C# Samples - C# Code samples that support Visual Studio 2008 and command line build.
VB Samples - VB Code samples that support Visual Studio 2008 and command line build.
C# Samples - C# Code samples that support Visual Studio 2010.
VB Samples - VB Code samples that support Visual Studio 2010.
Additional C# Samples - Additional C# Code samples that support Visual Studio 2008 and command line build.
Using the samples in Visual Studio 2008 or Visual Studio 2010 require the
Windows Azure Tools for Microsoft Visual Studio.
Please see the
documentation for more information about the samples.
Samples Include:
FastCGI Sample - A simple service that demonstrates running a native code FastCGI application.
FullTrust Sample - A simple service that shows how to create a web role and a worker role that run with full trust privileges.
HelloFabric Sample - A simple service that demonstrates a web role and a worker role and uses the Windows Azure runtime API to interact with the fabric from a running instance.
HelloWorld Sample - Demonstrates how to package a service for deployment to the fabric.
PowershellRole Sample - PowershellRole sample hosts the Powershell runtime within a Windows Azure role. It demonstrates a simple remote console web role as well as a worker role whose implementation is a Powershell script.
Thumbnails Sample - A service that demonstrates a web role and a worker role. The web role provides a front-end application for the user to upload photos and adds a work item to a queue. The worker role fetches the work item from the queue and creates thumbnails in the designated directory.
Additional Samples Include:
AspProviders Sample - Provides a sample library with implementations of these ASP.NET providers: Membership, Role, Profile, Session State.
AspProvidersDemo Sample - A simple service that makes use of the ASP.NET provider sample library.
CloudDrive Sample - A Windows PowerShell provider that enables command-line access to Blob Storage and Queue service resources as though they are file system resources available via a network drive. (samples.zip only)
DistributedSort Sample - A distributed sorting service that demonstrates the use of Blob Storage and the Queue service.
PersonalWebSite Sample - Demonstrates how to port an ASP.NET Web application to the Windows Azure environment.
StorageClient Sample - A sample client library that provides .NET wrapper classes for REST API operations for Blob, Queue, and Table Storage. The sample also includes a console application that can be used to test the library functionality.