The Window server AppFabric is generally available now and the latest version can be download from here. There is a number of features the Window server AppFabric provides to Monitoring, Hosting and managing the load of your application by providing scalability. But here I'm going to talk about the caching feature available in the latest version and using it in ASP.Net session management. Why should I use Windows Server AppFabric for Session Management in ASP.Net? Windows Server AppFabric provides a highly scalable in-memory application cache for all kinds of data. With distributed caching, your application can match increasing demand with increasing throughput by using a cache cluster that automatically manages the complexities of load balancing, scale-out, and failover. With the caching features of AppFabric you get:
protected void btnPut_Click(object sender, EventArgs e){Session["Item1"] = txtItemValue.Text;txtItemValue.Text = "";} Note: Once you move the session state outside of the web server process, all the objects you put in the session need to be serializable. Use the Serializable attribute on your classes to store the custom objects in Session.Helpful? Just put your comments down below; I appreciate your inputs.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: