Windows Server AppFabric

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...

Velocity Cache Notifications

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. 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,...

Replacing ASP.NET Session with Velocity Session Provider

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...

Building a Simple Cache Manager

Friday, August 21, 2009

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. ...
no comments

How to Create a Simple Enterprise Library Cache Manager Provider for Velocity

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...

Creating a Simple Enterprise Library Cache Provider for Velocity

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...

Quick Tip – How to Enable Local Cache in Velocity (Microsoft Distributed Cache) Client

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...

New Release for VelocityAdminShell

Saturday, July 11, 2009

New Release for VelocityAdminShell I’ve published a new release for the VelocityAdminShell. This new release includes a configuration form to enable the configuration of the shell (instead of doing it manually in the config file). The following figure shows the current configuration form: I also changed the look and feel of the shell and added tabs for different operation types: Thanks to Eyal Vardi for the inputs regarding the VelocityAdminShell. ...
2 comments

VelocityAdminShell is Published on CodePlex

Wednesday, June 24, 2009

VelocityAdminShell is Published on CodePlex I’ve published the VelocityAdminShell tool that I wrote about yesterday on CodePlex. You can download the project with its source code from here. As I wrote, if you have any suggestions for improvement or you encounter bugs please contact me in the blog’s contact form or from the CodePlex tool’s site. I’ll keep on updating the tool in the near future. Enjoy!
no comments

Velocity Administration Console

Tuesday, June 23, 2009

Velocity Administration Console Lately I’ve been working on a small administration console project for Microsoft project code named Velocity. If you don’t know, Velocity’s administration is being done with PowerShell. I decided to build a console that will do the same thing but in Windows Forms. The following figure shows the tool I’ve built: You can download the tool from here. Pay attention that the project is still in develop so...