Windows Azure AppFabric Cache- Caching SQL Azure

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 481
Released: Apr 25, 2011
Updated: Apr 25, 2011 by AppFabricDemos
Dev status: Stable Help Icon

Recommended Download

Source Code Codesamples&ReadMe
source code, 287K, uploaded Apr 25, 2011 - 481 downloads

Release Notes

This walkthrough demonstrates how to use the Windows Azure AppFabric Cache to cache data from a SQL Azure database. This includes:
  • Populating an ASP.NET GridView control from SQL Azure
  • Provisioning a Windows Azure AppFabric Cache
  • Retrieving SQL Azure data into the default cache
  • Retrieving SQL Azure data from the default cache
  • Enabling the local cache
  • Retrieving SQL Azure data from the local cache
  • Using ASP.NET code to compare the performance benefits

If you want to follow along with the video, this archive has the following resources:
  • Microsoft Access database containing the sample data. See Migrating from Access to SQL Azure on CodePlex for help on deploying the data to SQL Azure.
  • Solution file containing sample code of the beginning state of the project
  • Text file containing cut-and-paste code samples to achieve the end state of the project
  • This readme file

Prerequisites to Run the Solution
  • SQL Azure account (see Creating an Account and Your SQL Azure Database on CodePlex)
  • SQL Azure database provisioned with data migrated from the Access database
  • Connection string for the SQL Azure database in web.config
  • AppFabric Portal account (described in the video) to provision the cache
  • Visual Studio 2010 or Visual Web Developer Express

Click here to view video on Showcase

Reviews for this release

     
Excellent. Cache has been made so simple. :)
by SmithaRao on Sep 13, 2011 at 2:28 PM