SelectList is not selecting my “selectedValue”

I learn something every day whether I like it or not. Today’s lesson: SelectList thinks she’s smarter than you. Observations I was working in an MVC4 app, making some forms light up with some custom HtmlHelpers. Everything is dandy until a drop-down doesn’t re-populate with the previously selected value after …

SelectList is not selecting my “selectedValue”

I learn something every day whether I like it or not. Today’s lesson: SelectList thinks she’s smarter than you. Observations I was working in an MVC4 app, making some forms light up with some custom HtmlHelpers. Everything is dandy until a drop-down doesn’t re-populate with the previously selected value after …

Extending Enterprise Library 5 Data Access Part 2: Extensions

In Part 1: Out-of-the-box Features, I went through some of the great new features with Enterprise Library 5 Data Access including accessors and mappers. Before version 5, most of my EntLib extensions code was in place to perform these new features (not as eloquently, of course). I have become attached …

Extending Enterprise Library 5 Data Access Part 1: Out-of-the-box Features

In a previous post about my extensions for Enterprise Library pre-version 5, There was quite a bit of customized logic to create custom entities from a result set. Enterprise Library 5 now takes care of almost all of my customizations with the advent of accessors, row mappers, result set mappers, …

My data access story before Enterprise Library 5

In .NET 1.1, I tried the original MS Data Access Application Block’s SqlHelper (you can still download it here). It was great for most of the common uses, but was lacking in some areas. The consuming code looked sloppy and encouraged blind faith that database objects never changed. It also …