Browse by Tags
All Tags »
ASP.NET »
Performance (
RSS)
ASP.NET Output Cache Provider One of the new features that were shipped with ASP.NET 4 was new providers for caching purpose. In this post I’ll explain one of them – the OutputCacheProvider . OutputCacheProvider Up until ASP.NET 4 the output cache mechanism was implemented as in-memory caching and we couldn’t do nothing to change its behavior. If we desired to use a distributed cache like AppFabric caching or our own implementation we couldn’t achieve it. From ASP.NET 4 the caching is now following...
Replacing ASP.NET Session with Velocity Session Provider One nice feature of Microsoft Distributed Cache aka Velocity is a custom session provider that can replace the ASP.NET default session provider . In this post I’ll explain how to replace ASP.NET session with the Velocity session provider that is being provided with Velocity . Why Replacing the ASP.NET Session with Velocity Session? Sometimes we want to share a session across servers in a server farm. The ways to do so are to use a State Server...
Building a Simple Cache Manager As I wrote in a previous post , I’ve started to work in a new project. My role there is a technical team leader of a very big team (10 developers). Part of my role is helping the team to create infrastructure for their applications. As part of the application’s infrastructure, I recommended to start using caching for better performance . In the post I’ll demonstrate the simple cache manager I’ve built for the team. ICacheManager Interface Before building the cache...
Back to Basics – ASP.NET Page State Persister Yesterday I was consulting at a client. The main problems that the client currently has are performance issues. One of the problems I found was the abuse of ViewState without knowing the consequences. I was trying to reduce the ViewState for the pages and because of the spaghetti code of the client’s application I had no chance in doing so. I needed much more time to solve the problem with a proper solution. Meanwhile, the client’s customer wanted results...
Improving Performance By Using ASP.NET Caching - Output Cache What is ASP.NET caching mechanism? When to use caching ? and how can I use it in order to improve my site performance ? are the questions this post series is going to answer. In today’s post I’ll introduce the output cache . You can read the previous posts in the subject: Improving performance by using ASP.NET caching Improving performance by using ASP.NET caching – application caching What is Output Cache ? Output cache is a mechanism...
In the post I describe the application cache mechanism and how to use it....
WebResource Embedded Resource Files Caching Yesterday, I got a mission to check why some web forms in my current project have poor performance . After some research with the Fiddler tool I found that the WebResource.axd files are reloaded in every page request. These files are used for script callbacks by the Ajax extensions. The thing about those files are that they are very big and therefore consume a lot of bandwidth and make the page load very slow. Checking the issue further I noticed that the...
The first post in a new series about ASP.NET caching mechanism. The post introduce the subject of caching....