Brian H. Prince is a Principal Cloud Evangelist for Microsoft, based in the US. He gets super excited whenever he talks about technology, especially cloud computing, patterns, and practices. His job is to help customers strategically leverage technology, and help them bring their architecture to a super level.In a past life Brian was a part of super startups, super marketing firms, and super consulting firms. Much of his super architecture background includes building super scalable applications, application integration, and award winning web applications. All of them were super.Further, he is a co-founder of the non-profit organization CodeMash (www.codemash.org). He speaks at various international technology conferences. He only wishes his job didn’t require him to say ‘super’ so much. Brian is the co-author of “Azure in Action”, published by Manning Press.Brian holds a Bachelor of Arts degree in Computer Science and Physics from Capital University, Columbus, Ohio. He is also a zealous gamer. For example, he is a huge fan of Fallout 3, Portal, and pretty much every other game he plays. Brian is a DZone MVB and is not an employee of DZone and has posted 15 posts at DZone. You can read more from them at their website. View Full User Profile

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

06.04.2012
| 1742 views |
  • submit to reddit

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

Published at DZone with permission of Brian Pince, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)