Over a million developers have joined DZone.

Windows Azure Learning Path Exercise 1: Use Windows Azure Caching for Session State

· Cloud Zone

Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database on AWS. Try it now! Brought to you in partnership with MongoDB.

In this exercise, you will explore the use session state provider for Windows Azure Caching as the mechanism for out-of-process storage of session data to be useable in a web farm. For this purpose, you will use Azure Store - a sample shopping cart application implemented in MVC. Please make sure to Download Hands-on Lab Source Files before start of Exercise 1.

Follow the step by step instructions to complete the following tasks.

Task 1 – Running the Azure Store Sample Site in the Compute Emulator

In this task, you will run the Azure Store application in the compute emulator using the default session state provider; you will change that provider to take advantage of the Windows Azure Caching service later on.

Task 2 – Configuring Session State Using Windows Azure Caching

In this task, you will change the Session State provider to take advantage of the Windows Azure Cache as the storage mechanism.

Task 3 – Verification

In this task, you will verify the application by pressing F5 in Visual Studio 2010

Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.


Published at DZone with permission of Brian Prince, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}