Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

DZone's Guide to

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

· Cloud Zone
Free Resource

Are you joining the containers revolution? Start leveraging container management using Platform9's ultimate guide to Kubernetes deployment.

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

Using Containers? Read our Kubernetes Comparison eBook to learn the positives and negatives of Kubernetes, Mesos, Docker Swarm and EC2 Container Services.

Topics:

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

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}