ASP.NET Session State Sharing across Multiple Azure Regions

Many high-traffic ASP.NET applications in Microsoft Azure are deployed over multiple Microsoft Azure regions in order to handle geographically separated traffic. In these situations, the load balancer always sends traffic to the Microsoft Azure region closest to the user for faster response time. In this scenario, you may run into a situation where you have…

How to Store ASP.NET Session State in Multi-Site Deployments?

ASP.NET is known for developing high-traffic web applications. Many of these applications are deployed to multiple geographical locations. This multi-site deployment is done either for disaster recovery purposes or for handling regional traffic by having the ASP.NET application closer to the end user. In the case of disaster recovery, there is usually one active site…

How to Cache ASP.NET View State in a Distributed Cache?

ASP.NET today is widely used for high traffic web applications that need to handle millions of users and are deployed in load balanced web farms. One important part of ASP.NET is View State that many applications use. ASP.NET View State is a very powerful mechanism that stores pages, controls and custom values between multiple HTTP…

How to Use LINQ for Searching Distributed Cache?

Distributed caching is becoming really popular among developers of high transaction applications because it improves your application’s performance and scalability. And, this popularity means that developers are caching more and more data in it which they also want to be able to search just like they are able to search relational databases. But, one major…

How SQLCacheDependency Synchronizes Distributed Cache with Database?

Distributed Caching has become a popular way of improving .NET application performance and scalability. That is why developers are caching more and more data in distributed cache. However along with this come a few challenges. One important challenge is to ensure that data in the cache is always synchronized with the database. This is because…

When to Use Client Cache with Distributed Caching?

A distributed cache is essential for any application that demands fast performance during extreme transaction loads. An in-memory distributed cache performs better than a database. And, it can provide linear scalability in handling greater transaction loads because it can easily let you add more servers to the cache cluster that a database server cannot do.…