The Asp.Net Site Has a Problem

Have you been to http://www.asp.net lately? I have no idea why, but it’s slowing my browser to a crawl for a period of 5-10 seconds just after the DOM renders. I’ve tried across several machines, and it’s really annoying, especially since it happens on every page load instead of just once. I think it’s the Silverlight check that’s causing the issues. Regardless of the issue, if you’re going to make a site to evangelize a product you created (and that’s written on the platform that your site is promoting), it probably shouldn’t suck.

C# Collapsible Properties

Here’s a sweet way to display properties. Basically, I had a bunch of generic properties that I was using shorthand notation for, and one that was a read-only property which served as an aggregate of a few other properties. I couldn’t shortcut it, but the implementation of it was trivial, so I hid it inside a region whose name looked exactly like a shorthand property. Tough to explain, but easy to understand:

Collapsed Property

Expanded Property

Expanded Property