Ajax – do you really need a library?

I have begun working on an ASP.net application that I have needed to enhance with Ajax to get the performance up to scratch.  The users want to scroll through 1000’s of rows of data and are used to the flexibility of a desktop app.

I have based my Ajax on this book.

This does simple things like replacing the contents of a span tag with the rendered content of a distinct (yet incomplete) asp.net page.  So far I have all of the functionality that I need yet have not touched an ajax framework.  I am not sure that I am missing anything – all of the examples look far more cumbersome than what I already have!

My technique keeps a separate page for each specific replaceable region. Performing actions is always called to the form that produced the button (with the exception of navigation).  This appears to be a different technique to most of the examples that I have seen.  I can reuse the server component across distinct pages (with the client side having one script per page).  The update panel looks crude by comparison.  The trick is to do as much work on the server as possible but in small chunks.  You should be able to fill up the entire display window in less than a second.  Once you have that the user can start working while your app thinks about getting the rest of the data.

More Fixes for the XP Search bug

This is a couple of solutions to the windows XP search bug.

I call it a bug, MS calls it a feature.  If windows does not recognize the file extension it will be excluded from searches.

This cost businesses money in pointless searches for files that really do exist but claim not to.

It the banking world it is common to have transfer files with a sequential number extension (possibly a serialized date).

Trying to prove that your app is not skipping messages is far more difficult than it needs to be.

TFS Howler

TFS howler: password changes while VS is open – you lose the ability to check in until you restart VS.  Bug exists in 2005 and 2008
TFS is a very different version control system.   That is not a good thing.  It seems clunky and ill thought out.  Unfortunately I have to use it…

It assumes that you are using visual studio (unless you use the excellent tfs bridge/ tortoise svn).

You need to save everything before you can check in.

K2 Roles

This is an article on K2 Roles.

Personally I think that K2 have made a mistake in their handling of AD Groups as destinations.

It seems to upick the group into it’s parts as the Activity is entered.  Which is great until a new user joins the team. They can’t perform actions on the item until it has been moved state.