Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8845271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:41:53+00:00 2026-06-14T11:41:53+00:00

If one is using azure cache for asp.net mvc session state management, do deployments

  • 0

If one is using azure cache for asp.net mvc session state management, do deployments including dlls/web.configs changes still boot users/force a new session?

I would assume that since the session is then external to the app that it would keep it open, and not force the user to login again. True?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T11:41:55+00:00Added an answer on June 14, 2026 at 11:41 am

    You should look at the new caching features in the Azure 1.8 SDK (released last week):
    http://msdn.microsoft.com/en-us/library/windowsazure/hh914161.aspx

    Caching for roles is no longer in “preview” BTW. If you set up a cache cluster and your session state is in that Cache Cluster, then your web roles can go down and your application will continue to work normally.

    You can also use the Azure AppFabric caching (which is caching as a service) they provide assemblies for an AzureCachingSessionStateProvider:
    http://msdn.microsoft.com/en-us/wazplatformtrainingcourse_buildingappswithcacheservice_topic3.aspx

    To answer your question: Does distributed session state work if I take down one web role to deploy code?…yes.
    http://robbincremers.me/2012/02/23/using-windows-azure-caching-service-to-improve-performance-for-your-cloud-services/

    I posted a link with how it works with a load balancer. Since the load balancer is stateless it can route any request to any web role/server…since the session state is in a distributed cache, then any web role can successfully respond to the request. If you have 3 web roles and you take 1 or 2 down to update code, the remaining ones can still return requests.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Azure ACS in my ASP.net MVC 3 website (hosted in Azure too),
I am using Asp.net mvc3 and displaying the .pdf file on my one of
I'm currenlty using Azure Blob to store files, and upload/download from ASP.Net Application hosted
I've developed a simple system using ASP.NET MVC and WCF for customers to register
I have a web application running on Windows Azure. It is built with ASP.Net
I am creating my first ASP.Net MVC3 Application using Azure as DB Storage. There
I am using EF to access Sql azure. In one situation I need to
I want to list all the hosted services using Azure service Management REST Api.
I am using a custom Api Token implementation using WCF Web API on Azure.
How should one configure an Azure Webrole when using a TCP-based WCF on the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.