You are hereMonthly archive / October 2010

October 2010


rahul's picture

T-Sql - Keeping Top n rows in a table

The title sounds like related to a logging operation, isn't it? Well yes, it is.

In an existing logging operation, I needed to ensure that the number of log entries remained below a specified threshhold. And I came up with the following sql quickly:

 

rahul's picture

ExtJs - Copying GridPanel single row data to clipboard

This blog post is more of a continuation of 2 of my earlier blog posts, Cross-browser approach to copy content to clipboard in javascript, and Copying GridPanel content to clipboard. I would advise reading of the above blog posts if you haven't already to understand the code being discussed below.

rahul's picture

.NET - Serializing custom configuration sections and generating documentation for them

So yesterday, I was creating a custom configuration section in web.config for an ASP.NET application. I did not had direct contact with the administrators who would administer the day-to-day operations of the application, and needed to make them aware of the various options available for the custom configuration section together with their quick description. I decided to display the options and their basic description in the Administration UI of the application itself.

rahul's picture

Using databases to synchronize and co-ordinate processes on a web farm

I was thinking what title was more appropriate for this blog post, the one actually used above, or would "Sql Server as lock manager" would have been more appropriate.

Today only, I had a situation where I needed to ensure that multiple instances of one of our ASP.NET applications deployed on a web farm co-ordinated with each other in executing certain actions and did not get into a race situation with each instance trying to do the same thing as others.

rahul's picture

Exchange - Downloading email file attachments with EWS Managed API

I recently had an opportunity to work with Exchange server having created an ExtJs/Ext.Net based email client for Exchange. And I used the Exchange Web Services Managed API for .NET to interface with the Exchange server itself.

rahul's picture

ExtJs - Printing GridPanels with GroupingView and GroupSummary plugin

I was thinking of writing this blog entry for sometime now. A couple of months earlier, I needed to enable client-side printing of ExtJs GridPanels. And just as I was to begin writing code for the same, I came across the wonderful Ext.ux.Printer class from Ed Spencer, that provided the necessary framework for printing any ExtJs component, and out-of-the-box functionality for printing GridPanels and TreePanels.

Recent comments