2014 Jax Code Impact: Slides and Code

I had a great time at Jax Code Impact over the weekend. Many thanks to Bayer and Brandy for putting together a free, enjoyable, and educational Saturday conference. As a first year conference, it was impressive to see more than 300 people registered for six tracks of Microsoft-focused presentations. Kevin …

2014 Global Windows Azure Bootcamp: Slides and Code

I had a great time at Global Windows Azure Bootcamp (GWAB) in Jacksonville, FL. I got to meet a bunch of cool people and discuss Azure topics all day. Free food, Bold Bean coffee, and beer helped to create the perfect geekfest atmosphere. I can’t wait for the next Azure …

Using DTOs/POCOs in Azure Table Storage with a EntityAdapter

Before Windows Azure Storage Client Library (SCL) 2.1, any entity that we wanted to put in Azure Table Storage (ATS) had to derive from the TableServiceEntity class. For me that meant maintaining a ATS-specific entity just to get the PartitionKey (PK), RowKey (RK), Timestamp, and ETag. I also had to …

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 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 …

The remote server or share does not support transacted file operations

Despite its pitiful adoption in the developer community, I am implementing Transactional NTFS (TxF) transactions using the Microsoft.KtmIntegration.TransactedFile class. This allows me to reap the benefits of TransactionScope and distributed transactions for file operations (e.g. creates, updates, deletes). This is the only missing piece for typical transactional business applications. With …

Gearing up for Juval Lowy’s Architect’s Master Class

The sole 2010 offering in the USA of IDesign‘s Architect’s Master Class conducted by the man himself, Juval Lowy, is only a few weeks away. I checked in at the IDesign web site, and found some updates the world needs to see. The IDesign C# Coding Standard – updated for .NET …

Auto-populating ASP.NET MVC “controls” after a post

I’m not sure if what I’m doing is actually the right way to create a “user control” in ASP.NET MVC, but it’s worth sharing this tidbit either way. Instead of using a MVC View User Control to create a hidden field, a text box, two anchors, and three JavaScript functions, …