1

I'm working on a distributed application that runs on Windows Azure, but I'm new of this kind of environment. I have a question about server-side state management. Where should I store global almost static data?

Because it is a distributed environment if a user makes a request to the application, there is no guarantee that subsequent requests will be routed to the same server and so I think that I should use Sql Azure or Table Storage Session Provider (but I've read that can be performance issues) to store the data.

I can also use Windows Azure AppFabric Caching that enables session maintenance.

What is the better solution to store global information that don't need to be secured? Is there something similar to "Application" (like Application["key"] = value)?

Thanks

divibisan
  • 11,659
  • 11
  • 40
  • 58
Sara
  • 121
  • 6

2 Answers2

0

Please see my responses on the following thread:

Microsoft Azure .NET 4.5 WebForms App : Session TimeOut / InProc / Single Instance

Specifics are below:

If you want to maintain session state you have to use one of the following options

  • SQL Session State Provider using Azure SQL
  • Azure Table Session State
  • Session State with Azure Redis Cache

You can find details on how to do this at the following links:

The easiest way in my opinion is using Azure Redis Cache as noted in the link above.

Let me know if this helps!

Community
  • 1
  • 1
Joe Raio
  • 1,795
  • 1
  • 12
  • 17
  • Why didn't you just mark this question as a duplicate of the one you answered? – David Makogon Dec 10 '15 at 18:51
  • I was not aware I have the ability to do that. Am I able to remove my answer and do this? – Joe Raio Dec 10 '15 at 18:54
  • 1
    Well... I went back and read the question you had answered. While your answer there applies to this question, it doesn't really apply to the other question (and the questions are definitely not duplicates). – David Makogon Dec 10 '15 at 18:56
0

Definitely at that time perhaps, but now Azure Storage Tables :)

Kat Lim Ruiz
  • 2,425
  • 2
  • 26
  • 32