Author Archives: Jimmy Bogard

About Jimmy Bogard

I'm a technical architect with Headspring in Austin, TX. I focus on DDD, distributed systems, and any other acronym-centric design/architecture/methodology. I created AutoMapper and am a co-author of the ASP.NET MVC in Action books.

My OSS CI/CD Pipeline

As far back as I’ve been doing open source, I’ve borrowed other project’s build scripts. Because build scripts are almost always committed with source control, you get to see not only other projects’ code, but how they build, test and … Continue reading 

Posted in OSS | 20 Comments

AutoMapper 5.0 Beta released

This week marks a huge milestone in AutoMapper-land, the beta release of the 5.0 work we’ve been doing over the last many, many months. In the previous release, 4.2.1, I obsoleted much of the dynamic configuration API in favor of … Continue reading 

Posted in AutoMapper | 10 Comments

Entities aren’t resources, resources aren’t representations

One of the easy mistakes in building a REST API is trying to take your rows out of the database and expose them directly as JSON. Such technology exists, where you can directly expose stored procedures as SOAP web services, … Continue reading 

Posted in REST | 3 Comments

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 | 21 Comments

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 | 10 Comments

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 | 18 Comments

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 | 18 Comments

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 | 37 Comments

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# | 5 Comments

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# | 7 Comments