February 2006

25 articles published in February 2006

  1. IE is the slowest AJAX browser

    · 1 min read

    I really hoped that IE7 with it's new XMLHTTP engine (AJAX engine if you will), would out perform the old IE 6 by far. IE 6 is the slowest of the main browsers out there. Firefox and Opera is much faster processing AJAX...

  2. The old confirm button trick

    · 2 min read

    You have probably at some point clicked the wrong input button on a web page, and something bad happened. You deleted the wrong user, submitted to the wrong newsletter or something similar. Wouldn't it have been nice if...

  3. Format the size in bytes

    · 1 min read

    Earlier today, I posted a method that returns the total size of a directory, including all subdirectories. It returns the bytes and not kilobytes, megabytes or gigabytes, so I write a little formatting method to do just...

  4. Calculate the total size of a directory in C#

    · 1 min read

    For some reason, you cannot retrieve the total size of a directory in .NET, including subdirectories, without a workaround. I always found it odd, that some of the most basic features is not implemented in the .NET CLR...

  5. Aardvark'd vs. The Code Room

    · 1 min read

    My boss bought the DVD Aardvark'd from Joel Spolsky ’s company Fog Creek. It’s about the development process of a software product, and it was meant to be an inspiration for us developers. I watched the whole thing with...

  6. Usability vs. accessibility

    · 1 min read

    Most people are not recognizing the possibilities of an accessible website. They do however see the benefits of usability. This is a start, because accessibility IS usability. Usability IS NOT accessibility. When...

  7. Accessibility from within

    · 2 min read

    Accessibility is an abstract concept for the average web designer/developer, because he or she has never needed accessible web pages. A lot of people say that we all benefit from pages made accessible ( here's one ). One...

  8. Override the html form in ASP.NET for URL rewriting

    · 1 min read

    If you are using URL rewriting, the ASP.NET HTML form tag doesn't support it. You have to override the form tag in order to make it work. It was a bug in ASP.NET 1.x and still haven't been fixed in 2.0. Here is the class...

  9. Serialization helper class in C# 2.0

    · 4 min read

    I recently faced the challenge of creating the functionality that allows a class to be saved to disk. Normally I would use databases or other structured format like XML, but this time, the classes were invalid. Invalid...

  10. Client Callback and Page.IsPostBack

    · 1 min read

    I just spend ½ hour trying to find out, why my client callbacks where executing code inside the if (!Page.IsPostBack) region of my Page_Load method. It turns out, the Page class in .NET 2.0 has now got a new property...

  11. Visual Basic functions in C# 2.0

    · 3 min read

    If you used to be a VB developer, but for some reason are writing C# now, you probably miss a couple of functions. I remember being a little frustrated when I did the conversion from VB.NET to C#. It was March 2005 and I...

  12. Talking about storage capacity

    · 1 min read

    Check this out, it's crazy I tell ya, crazy. The CERN institute writes " The Large Hadron Collider (LHC), currently being built at CERN near Geneva, is the largest scientific instrument on the planet. When it begins...

  13. Changed the name of the blog

    · 1 min read

    I just changed the name of this blog from ".NET stuff" to ".NET slave". Why? Because I'm a slave, baby! A slave to the code. Q : That sounds awfully geeky! A : I know, I've got issues Q : Are you truly a slave? A: Yes!...

  14. Book review: Naked Conversations

    · 1 min read

    just finished reading Robert Scoble's and Shel Israel's book Naked Conversations . It's about corporate blogging and " how blogs are changing the way businesses talk with customers ". This falls in the category I call...

  15. Export a DataTable to XML and CSV

    · 3 min read

    If you have a DataTable or DataView you want to export to XML or CSV, I will show you have to do just that. The CSV format is also compliant with Excel, which in my opinion makes it the best suited format for...

  16. Munich by Steven Spielberg

    · 1 min read

    Tonight, me and a couple of friends watched Munich. We were looking forward to seeing it, hoping it would have some of the same qualities as Schindler's List. But it didn't. It was one of the most boring movies I have...

  17. Remove whitespace from stylesheets and JavaScript files

    · 2 min read

    There is a lot of whitespace in both stylesheets and JavaScript files. This is because of indented text and line breaks to name a few. They are typically also filled with comments to make them more maintainable. Believe...

  18. The forgotten performance optimization tricks for ASP.NET

    · 2 min read

    There are a lot of articles explaining the basics in performance optimization in ASP.NET. Here is one and here is another . It is important to know the basics and use them where appropriate. The basics include caching...

  19. Plan ahead to avoid surprises

    · 2 min read

    A couple of colleagues and I talked about how unpleasant surprises could be avoided if you use the time needed to research the task before actually starting to work on it. It turned out, we all did it in our own distinct...

  20. Compact a Microsoft Access database from .NET

    · 2 min read

    Over time, a database becomes fragmented when it is used. This makes it grow in size and perform badly. Not the two qualities you want for your mission-critical data. Luckily, a lot of databases such as MS SQL Server and...

  21. Create vCalendar items from ASP.NET

    · 2 min read

    I recently build a web application that would let visitors add calendar items to their calendar program like Outlook or windows mobile smartphone, just by clicking a link and download the vCalendar item. vCalendar is a...

  22. Remove whitespace from your ASP.NET page

    · 2 min read

    In a normal webpage there is a lot of whitespace. We put it there in form of tabs and carriage-returns in order to make the document more maintainable and easier to read. But it has its price in terms of adding to the...

  23. .NET Profiler

    · 1 min read

    What happened to that fantastic little tool that would find your memory screw-ups in a nice and friendly manor? I have been looking for a profiler for .NET 2.0 for the past year or so, when Visual Studio 2005 was still...

  24. AJAX - because there is no alternative

    · 2 min read

    Say what???! <quote> AJAX is the most promising and coolest thing happening in the web world at the moment – a part of the web 2.0 movement! </quote> If you read any web 2.0 blogs it seems that IT IS the web 2.0...

  25. Internet Explorer 7.0 beta 2

    · 2 min read

    For those of you who tried the beta 1 release, you would agree that a lot has happened since then. The design has improved, the RSS aggregator feature has improved along with a lot of things. The tabbed browsing also...