Author Archives:

Mixing async and sync in distributed systems

One of the more difficult transitions when moving from a synchronous UI to an inherently async/CQRS-based UI is the burden of figuring out what to do with all these synchronous operations. Especially when dealing with existing systems, users that expect … Continue reading 

Posted in Domain-Driven Design | 3 Comments

Limits of performance optimization

Back in college, where I was an Electrical Engineering undergrad, I had an especially difficult professor for my microcontrollers course. In this course, we would hand-roll assembly language instructions and upload them to the 68HC12 testing board. (Side-note, I never, … Continue reading 

Posted in Architecture | 5 Comments

Persisting enumeration classes with NHibernate

As part of my “Crafting Wicked Domain Models” talk, I walk through the concept of enumeration classes, yanked from Java and on Jon Skeet’s list of biggest C# mistakes (or missing features). In my talk, I leave out how to … Continue reading 

Posted in Domain-Driven Design, NHibernate | 15 Comments

Custom errors and error detail policy in ASP.NET Web API

Today Kurt and I were attempting to debug an Web API service we had deployed to a remote machine. The service was returning 500 errors, and for various reasons, we couldn’t just try to do the requests from that deployed … Continue reading 

Posted in ASP.NET MVC, ASP.NET Web API | 13 Comments

ASP.NET Web API, MVC, ViewModels and Formatters

There are probably a few more terms I can throw in there, but over the past few days, I’ve been struggling to bridge the gap from how I build applications in ASP.NET MVC and how I see folks building them … Continue reading 

Posted in ASP.NET MVC, ASP.NET Web API | 25 Comments

Working with Forks on GitHub or CodePlex

So you want to contribute to a Git project on GitHub or CodePlex. The first thing you always do here is create a fork, which is easy enough: After you create your fork, you’ll likely then clone that forked repository … Continue reading 

Posted in git | 2 Comments

How to fork the ASP.NET Web Stack to GitHub

I find GitHub a lot easier to work with for visual diffs etc., so if you’re interested in forking the newly released ASP.NET Web Stack on CodePlex to GitHub, it’s quite simple. Prerequisites: First, get a GitHub account and make … Continue reading 

Posted in ASP.NET MVC, git | 14 Comments

ASP.NET MVC, Web API, Razor and Open Source and what it means

In case you missed it, a large part of ASP.NET is not only going open source, but will be developed in the open on CodePlex and will accept contributions. Now, ASP.NET MVC has always been open source, but has always … Continue reading 

Posted in Community | 16 Comments

Dallas Day of Dot Net NServiceBus presentation posted

About a week ago or so I presented at Dallas Day of .NET on Keeping Integration Sane with NServiceBus. I talked about the three main ways I’ve had to integrate with other systems I don’t control, including: Sending files Receiving … Continue reading 

Posted in NServiceBus | 1 Comment

Integrating and isolating the container in tests

In unit tests, an IoC container rarely enters the mix. In integration tests, or more end-to-end tests, I like to use the exact same configuration for the container as I do in production. Recreating production scenarios and environments in tests … Continue reading 

Posted in TDD | 6 Comments