How can Azure maintain APPLICATION state?

I know how Azure saves SESSION state - I implemented it in my application using the NeF MacKenzie-based Microsoft Windows Azure Development Cookbook AppFabric. However, this AppFabric-based approach does not seem to preserve the APPLICATION state (for example, Application ["name"] = MyObject), which is required by my application.

I suspect that I will need to use Azure Tables, but this will require transcoding. Therefore, before taking this path, I would like to know if there is a simpler approach to maintaining the state of the application, preferably one that does not require transcoding my application.

Thank,

Bill

+3
source share
2 answers

, Application [key].

Azure. , Azure, .

, , 72 . , , psuedo:

object o = cache.Get("MyItem"); 
if (o != null){ 
   MyType myType = (MyType) o; 
   //use the item
} 
else 
{  
//recreate the item 
}
+6

, Microsoft SQL .

Azure, .

0

All Articles