February 2007 Entries

Another breaking change in ASP.NET 2.0: Session.SessionID

I only recently became aware of another breaking change in ASP.NET 2.0: In order to optimize session state management, some changes have been implemented. One of the most puzzling ones when you're not aware of it can be reproduced as follows: In ASP.NET 1.1, create a new web application. Add a label to the page, name it lblSessionID. <asp:Label Runat="server" ID="lblSessionID" /> In the code behind, add the following code in the "Page_Load" method: protected void Page_Load(object sender, EventArgs ......

JavaScript code minimizer (not obfuscator!)

A few years ago, I translated Douglas Crockford's JsMin from C to C#, because we wanted to use this functionality in our build process. JsMin is a code minimizer for JavaScript. It will remove all comments, empty lines, turn tabs into single spaces, etc... The goal is to reduce the size of JavaScript files to the minimum necessary, without modifying the functionality. Additionally to reducing the script's size, JsMin also makes it more difficult to read, however it is not an obfuscator. Objects, ......

Scrum

I just spent the last 4 days in a course for my project; the last 2 were a Scrum course. The Scrum course was really good. It's a new process for us, and it's sure going to need adaptation from us, but it really sounds like a fun way to do things. I especially like the "protection" that the Srum master is supposed to provide to the developers, shielding them from disturbances (including management...). Also, the realistic side of evaluating and planning on every sprint, the evaluation by the team ......

Gōng Xǐ Fā Cái!!

First of all, Happy Chinese New Year! No big celebration for us this year as we just came back from holidays yesterday, but a nice dinner at the local chinese restaurant with beautiful chinese clothes for our 2 daughters. Gong Xi Fa Cái As said, we just came back from one week skiing in Austrian Serfaus, and we had a great time! Alise (5) spent 6 days in ski school and made huge progresses, and we put Laeticia (3 in March) on the skis for the first time. She even went on the big tracks, between my ......

Ski holidays!

We will be in ski holidays next week in Serfaus, Austria! Can't wait... We were there last year already and had a great time! So, no posts next week (I take the laptop with me, but it's more on my wife's request, since she doesn't ski and can use it to watch DVDs or play games with my youngest daughter Laeticia (still too young to ski) while Alise and I go to ski). I have a few subjects in preparation for future postings. Also, on the professional side, we are starting development (most of last year ......

JavaScript guidelines published

In agreement with the head of our R&D department, I published my firm's JavaScript Coding Guidelines. I work for Siemens Building Technologies. We developed these guidelines for a web application project in 2004, based on our C# guidelines. Please note the following: The purpose of publishing this document on the World Wide Web is to promote and encourage consistent practices in the JavaScript programming community. We publish this document as information only. Siemens will not accept any responsibility ......