Friday, December 4, 2009
Windows Server AppFabric One of the announcements in the PDC was the release of beta1 for a new windows server which is called AppFabric. What is AppFabric? From the AppFabric site – “Windows Server AppFabric is a set of integrated technologies that make it easier to build, scale and manage Web and composite applications that run on IIS.” AppFabric is a collection of technologies in one consolidated...
Friday, November 13, 2009
Velocity Cache Notifications
I’ve been asked by a friend how to use cache notifications in Velocity. if you don’t know, Velocity, Microsoft distributed cache, offers a cache notification mechanism that can help you to get notified when cache operations occur. This post will help you to get started with Velocity cache notifications.
As written earlier, Velocity has a cache notifications feature. That feature enables us to get notified when cache operations occur in our cache cluster. What happens when this feature is enabled is that we get asynchronous cache notifications for many aspects of the cluster including the cache,...
Tuesday, October 6, 2009
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 or a database. When Velocity came out it was released (currently in CTP) with a custom session provider. The use...
Monday, July 27, 2009
How to Create a Simple Enterprise Library Cache Manager Provider for Velocity
In the previous post I promised to give the recipe of how to create the a simple Velocity cache manager provider using the Application Block Software Factory. In this post I’ll keep my promise.
Creating the Project
The first thing to do is to create the project. If you don’t have Application Block Software Factory installed on your computer then you can read an old post that I wrote in order to install it. In VS2008, choose the Guidance Packages –> Application Block Software Factory project type and...
Sunday, July 26, 2009
Creating a Simple Enterprise Library Cache Provider for Velocity I decided to write a simple cache manager provider for Velocity (Microsoft Distributed Cache) using the Enterprise Library Application Block Software Factory. You can download the solution from here. If you put the two dll’s I provided (Microsoft.Practices.EnterpriseLibrary.Caching.Velocity.dll and Microsoft.Practices.EnterpriseLibrary.Caching.Velocity.Configuration.Design.dll) in the directory of EntLibConfig...
Thursday, July 16, 2009
Quick Tip – How to Enable Local Cache in Velocity (Microsoft Distributed Cache) Client Since I got this question twice this week, I’m writing this post. One of Velocity (Microsoft Distributed Cache) features is called local cache. In this post I’ll show how to enable that feature. Velocity Client Local Cache Local cache is a Velocity feature that can help speed up access on Velocity clients. When enabled, a de-serialized...