Samples

Multi-feature samples that demonstrate best practices for developing applications hosted on Azure and leveraging Azure services.

Azure Code Samples

The Azure Code Gallery has a growing list of sample applications contributed by Microsoft and the Azure community.

Web

Sample: FixIt

A Visual Studio project that accompanies the e-book Building Real-World Cloud Apps with Azure. The code demonstrates best practices for cloud apps as presented in the e-book.

Technologies used: Websites, PowerShell scripts for REST management API, Storage (Blobs and Queues), SQL Database, Cloud Services

Sample: Enterprise Pizza - Connecting Websites to On-premises Using Service Bus

This demonstrates how developers can connect a Website hosted in Azure Websites to their on-premises enterprise applications using the Azure Service Bus.

Sample: PhluffyShuffy

This sample demonstrates a website that allows users to upload multiple photos and get back an image composed of all the pictures shuffled. It uses the Azure WebJobs SDK for the background tasks.

Technologies used: Websites, ASP.NET MVC, SQL Database, Table Service, Blob Service, Queue Service

Sample: .NET Multi-tier Storage Application

The multi-tier ASP.NET web application demonstrates how to use Azure Storage tables, queues, and blobs.

Multi-tier apps

Sample: SiteMonitR

The SiteMonitR scheduled job pings all of the sites in a list of sites stored in Azure Storage. As each site's status is obtained, a message is sent to a storage queue. A job running in a website picks up the results of each site's status check and saves the log entry to a storage table. A Web API controller that is hosted in an Azure website receives messages from the job when sites are pinged. The Web API controller then sends updates to the SiteMonitR dashboard via a SignalR Hub. The result is a web-based website monitoring tool.

Technologies used: Websites, WebJobs, Table Service, SignalR

Sample: .NET Multi-tier Storage Application

The multi-tier ASP.NET web application demonstrates how to use Azure Storage tables, queues, and blobs.

Hybrid apps

Sample: Hybrid reference implementation using BizTalk Server, Cloud Services, Service Bus, and SQL Database

Based on real-world customer projects led by the Business Platform Division’s Customer Advisory Team (CAT), this reference implementation comprises a production quality, fully documented hybrid solution that demonstrates how customers can extend their existing on-premises BizTalk Server infrastructure into the Cloud.

Technologies used: Cloud Services, Service Bus, SQL Database, Queue Service, Blob Service, BizTalk Server 2010