Thursday, 24 August 2006

Have you’ve ever written any code on .NET that does XSL transformations? Here’s another strong reason why you might think of making the jump to .NET 2.0 and start taking advantage of the .NET 2.0’s XslCompiledTransform class.

Anton Lapounov does a comparison of the major XSL transformers out there and the results are eye opening.

If you’ve tried building any of your pre 2.0 applications in Visual Studio 2005, you would have already seen the warning which keeps pushing you to use the XslCompiledTransform class.

The major jump in performance is due to the fact that we’re now using an XSL compiler as opposed to the rest which are all interpreters.

.NET | .NET | .NET
08/24/2006 11:29:49 (India Standard Time, UTC+05:30)  #    Disclaimer  |  Comments [0]  |  Trackback
 Tuesday, 22 August 2006

Sri Lanka is finally starting to take it’s fledgling steps in moving to the internet. Yesterday I booked tickets over the web through (wow 2006 and finally).

The whole experience was quite good, but it will be a long time before these become mainstream (I’m only talking about Colombo). One impeding factor is that unlike in most other countries, the business model is not ad based instead an additional payment of 25/– is charged for each ticket. Given that these reservertions are only available for balcony tickets this is not a major problem.

In addition to this the membership fee costs 250/– but as a promotional offer is free till August 23 (tomorrow). If I were you I would simply create a login for myself just in case. My advise to the company, drop this membership business. uses a simple AJAXy interface to show the box plan and allows you to select the seats you want to book and add them to your shopping cart.

The current listing shows only Liberty and Majestic cinemas, but they plan to add more stuff like concerts, theater and seminars.

Oh and BTW the site is developed using ASP.NET, goody, goody!

08/22/2006 07:32:11 (India Standard Time, UTC+05:30)  #    Disclaimer  |  Comments [1]  |  Trackback
 Monday, 14 August 2006

Microsoft just released Windows Live Writer today and I'm guessing this is going to replace BlogJet as my default editor. Get it here.

Just a quick summary of the features:

  • Works with all great blog tools
  • WYSIWYG (literally), this is done by downloading your style/theme. Your editor shows up just like your actual blog
  • Uploading pictures (wow, just noticed that it has cool effects to apply, like the drop shadow you see below)Auto saving of posts (no more lost ones)
  • more than one account to blog to (alas doesn't support the Group Posting that BlogJet has - the only con)
  • Did I mention that it is FREE!

08/14/2006 07:42:50 (India Standard Time, UTC+05:30)  #    Disclaimer  |  Comments [1]  |  Trackback
 Wednesday, 02 August 2006

I’m in love with Skype’s new integration feature with Outlook contacts, now I can pull up phone numbers in super quick time without having to use Outlook’s contact search.


Tips | Tips | Tips
08/02/2006 07:46:28 (India Standard Time, UTC+05:30)  #    Disclaimer  |  Comments [0]  |  Trackback

Quick note out to all you guys that we’ve shifted the user group meeting to the Microsoft office at WTC and unfortunately you can only attend if you registered early due to seating issues.

Don’t keep that from holding you back though, feel free to gate crash if you don’t mind standing!

Remember: There will be no UG meeting at Gateway, Borella instead at Microsoft, 31st Floor, West Wing, WTC.

08/02/2006 07:39:24 (India Standard Time, UTC+05:30)  #    Disclaimer  |  Comments [0]  |  Trackback
 Thursday, 08 June 2006

This month’s user group meeting would go down as one of the funnier ones. Imagine me presenting in a pitch dark room with no lights, I only realized how hilarious it was after I saw Wela doing his presentation (mine was the first). All I could see from the back was his black silhouette against the presentation backdrop. I would definitely have been a sight to watch (and not in a good way).

Overall I enjoyed doing yesterday’s presentation which had zero demos, but we really did spend time drilling through the CLR, exception handling, garbage collection best practices with a heavy dose of the IDisposable interface thrown in for good measure.

If you were at yesterday’s session please do leave your comments (both good and bad are equally welcome).

I’ll also post the link to the slide once Wela uploads them somewhere.

Wela’s presentation on CSS, Themes and Skins was quite insightful. I learnt a couple of tricks including Style Hierarchies in CSS as well as the abc’s on ASP.NET Theming.

06/08/2006 09:29:42 (India Standard Time, UTC+05:30)  #    Disclaimer  |  Comments [1]  |  Trackback
 Tuesday, 06 June 2006

The Visual Studio shortcut of the day is CTRL+] which allows you to jump between two matching braces. The name is somewhat misleading since brace matching works not just for braces but also includes parentheses and all other pair statements like #region - #endregion, #if and so on.

All you have to do is move the cursor to either the left or right of a brace and press CTRL+] to toggle moving between the two ends in the code editor.

A word of warning to Visual Basic users, you guys don't uses braces so you don't get the Automatic Brace Matching feature. Ouch.

06/06/2006 08:25:05 (India Standard Time, UTC+05:30)  #    Disclaimer  |  Comments [1]  |  Trackback
 Monday, 05 June 2006

I was browsing through my stats pages and came across a couple of pretty interesting findings.

It's quite funny that my blog turns up #1 on Google when someone does a search for 'sex pics' in Sri Lanka.

Next, why on earth does my blog come up #1 before Sanjiva's for 'blog linux Sri Lanka'

A quick search on gives much better results . On 'blog linux Sri Lanka', never makes an appearance in the first few pages.

06/05/2006 02:45:18 (India Standard Time, UTC+05:30)  #    Disclaimer  |  Comments [1]  |  Trackback
 Thursday, 01 June 2006

After a gruelling 3 hours the winners of Imagine Cup ‘06 were announced for the Sri Lanka. It was great to see the time and effort that all the teams had put into preparing their presentations. There were video clips and full 3D animations to convey the solutions they were offering.

Unfortunately although four of the five finalists were from Colombo University, it was the team from Moratuwa University that stole the crown. There were lots of opinions on who should have wont it, and my take on the matter is that although there were better polished and more complete solutions it was the Panchayudha solution which had a unique outlook on solving a real world problem and doing so, they have a better prospect representing Sri Lanka at the global finals.

Kudos to Jina from Microsoft who organized and ran the entire show which went quite well given the logistics of planning an event with over 20 students presenting.

06/01/2006 10:19:55 (India Standard Time, UTC+05:30)  #    Disclaimer  |  Comments [6]  |  Trackback