Author Archives:

Integrating AutoMapper with ASP.NET Core DI

Part of the release of ASP.NET Core is a new DI framework that’s completely integrated with the ASP.NET pipeline. Previous ASP.NET frameworks either had no DI or used service location in various formats to resolve dependencies. One of the nice … Continue reading 

Posted in ASPNetCore, AutoMapper, DependencyInjection | 13 Comments

MediatR Extensions for Microsoft Dependency Injection Released

To help those building applications using the new Microsoft DI libraries (used in Orleans, ASP.NET Core, etc.), I pushed out a helper package to register all of your MediatR handlers into the container. MediatR.Extensions.Microsoft.DependencyInjection To use, just add the AddMediatR … Continue reading 

Posted in ASPNetCore, MediatR | 7 Comments

HtmlTags 4.1 Released for ASP.NET 4 and ASP.NET Core

One of the libraries that I use on most projects (but probably don’t talk about it much) is now updated for the latest ASP.NET Core MVC. In order to do so, I broke out the classic ASP.NET and ASP.NET Core … Continue reading 

Posted in ASPNetCore, ASPNETMVC | Leave a comment

AutoMapper 5.0 Released

Release notes: 5.0.0 5.0.1 Today I pushed out AutoMapper 5.0.1, the culmination of about 9 months of work from myself and many others to build a better, faster AutoMapper. Technically I pushed out a 5.0.0 package last week, but it … Continue reading 

Posted in AutoMapper | 6 Comments

AutoMapper 5.0 speed increases

Just an update on the work we’ve been doing to speed up AutoMapper. I’ve captured times to map some common scenarios (1M mappings). Time is in seconds:   Flattening Ctor Complex Deep Native 0.0148 0.0060 0.9615 0.2070 5.0 0.2203 0.1791 … Continue reading 

Posted in AutoMapper | 12 Comments

10 Lessons from a Long Running DDD Project – Part 2

In Part 1 of this 2-part series, I walked through some lessons learned from the first incarnation of our project. The original project I’d still qualify as a success, in that it was delivered on-time, within budget, and is still … Continue reading 

Posted in DomainDrivenDesign | 9 Comments

10 Lessons from a Long Running DDD Project – Part 1

Round about 7 years ago, I was part of a very large project which rooted its design and architecture around domain-driven design concepts. I’ve blogged a lot about that experience (and others), but one interesting aspect of the experience is … Continue reading 

Posted in DomainDrivenDesign | 9 Comments

Launching ASP.NET Core 1.0 course

This is a bit of a different post for me. I obviously blog and speak a lot about how I build apps at Headspring, and one question I get quite often is “can you make some courses on Pluralsight about … Continue reading 

Posted in ASPNetCore | 20 Comments

What Microservices Is Not

From what the term “Service” does not imply, from “What is a service (2016 edition)”: “Cloud” “Server” “ESB” “API” XML JSON REST HTTP SOAP WSDL Swagger Docker Mesos Svc Fabric Zookeeper Kubernetes SQL NoSQL MQTT AMQP Scale Reliability “Stateless” “Stateful” … Continue reading 

Posted in DomainDrivenDesign, Microservices | 7 Comments

CQRS and REST: the perfect match

In many of my applications, the UI and API gravitate towards task-oriented UIs. Instead of “editing an invoice”, I “approve an invoice”, with specialized models, behaviors and screens just for accomplishing that task. But what happens when we move from … Continue reading 

Posted in CQRS, DomainDrivenDesign, Microservices, REST | 20 Comments