Author Archives:

Validation inside or outside entities?

A common question I get asked, especially around a vertical slice architecture, is where does validation happen? If you’re doing DDD, you might want to put validation inside your entities. But personally, I’ve found that validation as part of an … Continue reading 

Posted in DomainDrivenDesign | Leave a comment

Software Lessons from Property Brothers

Yes, I know the “software is like construction” metaphor has been overplayed, but hear me out here. One of my guilty pleasures is a home improvement show on HGTV, Property Brothers. The show covers a home buyer who wants the … Continue reading 

Posted in Agile, Architecture | Leave a comment

AutoMapper 4.2.1 released – Static is back (limited) edition

After a bit of feedback and soul searching and honestly tired of dealing with questions, some of the static API is restored in this release. You can now (and in the future) use Mapper.Initialize and Mapper.Map: https://github.com/AutoMapper/AutoMapper/releases/tag/v4.2.1 The big pain … Continue reading 

Posted in AutoMapper | Leave a comment

AutoMapper 4.2.0 released

Yesterday I bit the bullet and pushed out the 4.2.0 release. This was a fairly large internal refactoring, with the entire static API marked as obsolete and a new instance-based API exposed. Some helpful links for the move: Wiki on … Continue reading 

Posted in AutoMapper | Leave a comment

Removing the static API from AutoMapper

As I work towards the 4.2 release of AutoMapper, I got a little inspiration. Over the past year or so I’ve given some talks/podcasts about a long-lived open source codebase. One of my biggest regrets was that I made AutoMapper … Continue reading 

Posted in AutoMapper | Leave a comment

C# 6 Feature Review: Expression-Bodied Function Members

In the last post, I looked at auto-property enhancements, with several comments pointing out some nicer usages. I recently went through the HtmlTags codebase, C# 6-ifying “all the things”, and auto property and expression bodied function members were used pretty … Continue reading 

Posted in C# | 1 Comment

C# 6 Feature Review: Auto-Property Enhancements

With the release of Visual Studio 2015 came the (final) release of the Roslyn C# compiler and C# 6. This latest version of C#’s feature list seems to be…less than exciting, but it’s important to keep in mind that before … Continue reading 

Posted in C# | 1 Comment

AutoMapper 4.1.0 Released

Release notes here: https://github.com/AutoMapper/AutoMapper/releases/tag/v4.1.0 Supports the following frameworks: .NET 4.0 .NET 4.5 dotnet (all dnxcore/UWP targets) MonoTouch MonoTouch10 PCL profile 259 MonoDroid WinRT/Windows Phone 8.1 Windows Phone 8.0 Silverlight 5 This was a bit of an internal refactoring release. With … Continue reading 

Posted in AutoMapper | Leave a comment

Platform generalists versus framework specialists

A trend I’ve noticed especially in Javascript/front-end jobs are emphasizing, requiring, even titling jobs after specific Javascript frameworks. “Ember.js engineer needed”. “Angular programmer”. This raises a few of thoughts for me: Is the framework so complicated you need someone with … Continue reading 

Posted in Architecture | Leave a comment

AutoMapper 4.0 Released

Release notes here: https://github.com/AutoMapper/AutoMapper/releases/tag/v4.0.0 On NuGet of course. This was a big release – I undertook the exciting challenge of supporting all the new platforms from VS 2015, and in the process, collapsed all of the projects/assemblies into exactly one … Continue reading 

Posted in AutoMapper | Leave a comment