Category Archives: Programming

A Better SelectList for ASP.Net MVC (Revisited)

Some time ago I wrote up a set of overloaded methods to help build a select list from an enumerable object. I’ve revisited the code and made it [..]

Programming , , , ,

Kill the Password

While Wired‘s cover story about the failure of passwords (“Kill the Password: Why a String of Characters Can’t Protect Us Anymore”) is now a couple of months old, [..]

Observations, Programming , ,

Click “Close” to Acknowledge

I’m not sure if this deserves to be complained about publicly, but it seems pretty strange to me that closing a dialog box equates to acknowledging receipt of [..]

Observations, Programming

A Better SelectList for ASP.Net MVC

UPDATE: revised code listing here. The following is a more complete version of the code I posted as an answer to a Stack Overflow question. The purpose is [..]

Programming , , , ,

Password limits. Why?

I was creating an account for a web site today and hit this error: Seriously? Why is there a limit to the password length? If I want a [..]

Observations, Programming , ,

SQL: Turn a Date Range into a List of Dates

I’m working on a project today that deals with date ranges being stored in SQL Server. Imagine a row in a table with a starting and an ending [..]

Programming , ,

WebControl with embedded stylesheet rendering at design time

I have a working solution to the embedded image in an embedded stylesheet problem, but I would appreciate any suggestions for improvement. This does its own substitution of [..]

Programming , ,