Speaking at Odense .NET User Group

On March 10th I'll be giving a presentation at Odense .NET User Group on Scalability & Availability on the Microsoft platform.

Read the complete 961 bytes...

Digg it | Kick it | Dzone it | Reddit


TechTalk on Scalability & Availability using NLB and IIS ARR

As promised during my TechTalk today at Microsoft Denmark, here are the links to all slides and demo code. Unfortunately you'll not be able to download the VPC's as those total around 30GB.

Read the complete 533 bytes...

Digg it | Kick it | Dzone it | Reddit


Fixing Flash bugs and intercepting IIS Application Request Routing cookies

What does Flash, upload, cookies, IIS load balancing and cookies have to do with each others? More than I'd like :(

Read the complete 9495 bytes...

Digg it | Kick it | Dzone it | Reddit


Reading width & height of Flash file

Obtaining the movie height & weidth of a Flash file is an easy task using the swfdump tool that comes as part of the swftools package. Here's an example of how to invoke swfdump from C# and read out the height & width of a given Flash file.

Read the complete 2321 bytes...

Digg it | Kick it | Dzone it | Reddit


Defending against the improbable

As little children we've all been taught that it's better to program defensively than relying on exceptions being thrown. However, sometimes it's preferably to just hope for the best and catch exceptions if they happen.

Read the complete 6088 bytes...

Digg it | Kick it | Dzone it | Reddit


Working with identity column seed & increment values

All of the following samples are based on the following table:

Read the complete 5174 bytes...

Digg it | Kick it | Dzone it | Reddit


Solving access denied errors using Process Monitor

Access denied errors are not uncommon when deploying new websites / features that interact with the filesystem. While it might work in local testing, it suddenly doesn't anymore when deployed. Using Process Monitor I'll show how to easily debug these issues.

Read the complete 4425 bytes...

Digg it | Kick it | Dzone it | Reddit


How to do URL rewriting on IIS 7 properly

One of my earlier blog posts, and the all time most popular one, was about how to make URL rewriting on IIS 7 work like IIS 6. While my method did provide a means to the goal, it's humiliatingly far from what I should've done. Since the old post is still the most visited post on my blog I feel obligated to write a followup on how to do proper url rewriting in IIS 7.

Read the complete 6157 bytes...

Digg it | Kick it | Dzone it | Reddit


Simple file synchronization using robocopy

On numerous occations I've had a need for synchronizing directories of files & subdirectories. I've used it for synchronizing work files from my stationary PC to my laptop in the pre-always-on era (today I use SVN for almost all files that needs to be in synch). Recently I needed to implement a very KISS backup solution that simply synchronized two directories once a week for offsite storing of the backup data.

Read the complete 4802 bytes...

Digg it | Kick it | Dzone it | Reddit


Writing a calculator in C# using SableCC

Writing a calculator is a simple task - just add nine buttons labeled 1-9 and add a plus and minus button and we're almost good to go. In this entry I'm going to write a calculator called SimpleCalc that does not have a GUI, instead it'll take in an arbitrary expression and calculate the results of it. The input I'll use as my immediate goal is the following:

Read the complete 26532 bytes...

Digg it | Kick it | Dzone it | Reddit