July 2004 Blog Posts
Fame, fortune, a link from asp.net. My poor little DSL is going to burp, I
can just see it. I remember getting linked from the original MSDN communities site, I got a really ugly t-shirt that
time, now I just get hits. Shame the adsense ads are rather off topic.
One of my old MSN UK friends is now blogging. Nice to see
fatherhood hasn't stopped him from random purchasing, the
Hello Kitty typing USB hub is,...
One of the painful things about good old ASP was string formatting, VBScript simply didn't have anything useful. C# (and VB.Net) do, but MSDN doesn't provide a quick reference to the formatting options. So here's a quick reference.
To compare string formatting in C# to those in C lets have an example,
char szOutput[256];
sprintf(szOutput, "At loop position %d.\n", i);
sprintf takes an output buffer, a format string and any number of arguments to substitute into the format string.
The C# equivalent for sprintf is String.Format, which takes a format string and the arguments. It returns a string, ...
The wedding photos are starting to trickle in.
A while back various people on the asp.net blogs were
raving about resharper. Now aside from the "you're not refactoring, you're
rewriting, you agile marketing muppet" factor the syntax highlighting as you code looked useful (this is coming in Whidbey
anyway, but why wait?). So I downloaded it, installed it, and when I started Visual Studio I got errors all over the place.
Rather than spend time trying to figure out why, I uninstalled the product and dismissed it (I...