NDC talk on SOLID in slices not layers video online

The talk I gave at NDC Oslo 2015 is up on SOLID architecture in slices not layers: https://vimeo.com/131633177 In it I talk about flipping this style architecture: To one that focuses on vertical deliverable features: Enjoy!

Posted in Architecture | 13 Comments

End-to-end Hypermedia: Building a React Client

In the last post, I walked through what is to me the most interesting part of REST – the client. It’s easy to build a server API, but no API is complete without someone actually using that API. This is … Continue reading 

Posted in React, REST | 6 Comments

End-to-End Hypermedia: Building the Client

Now that we’ve built our hypermedia-rich server component, we can focus now on the client portion. Building the server piece, while somewhat involved, isn’t too much different than building a plain JSON API. We had to build a piece to … Continue reading 

Posted in REST | 1 Comment

End-to-End Hypermedia: Building the Server

In the last post, we looked at choosing a hypermedia type. This isn’t the easiest of things to do, and can take quite a bit of effort to settle on a choice. On top of that, you very often need … Continue reading 

Posted in REST | 7 Comments

End-to-End Hypermedia: Choosing a Media Type

So you’ve decided to make the leap and build a hypermedia-rich API. Hopefully, this decision came from necessity and not boredom, but that’s a post for another day. At this point, you’re presented with a bit of a problem. You … Continue reading 

Posted in REST | 3 Comments

End-to-End Hypermedia: Making the Leap

REST, a term that few people understand and fewer know how to implement, has become a blanket term for any sort of Web API. That’s unfortunate, because the underlying foundation of REST has a lot of benefits. So much so … Continue reading 

Posted in REST | 26 Comments

CQRS with MediatR and AutoMapper

CQRS is a simple pattern – two objects for command/queries where once there was one. These days just about every system I build utilizes CQRS, as it’s a natural progression from refactoring your apps around the patterns arising from reads … Continue reading 

Posted in Architecture, AutoMapper, CQRS, MediatR | 62 Comments

Saga Implementation Patterns: Singleton

NServiceBus sagas are great tools for managing asynchronous business processes. We use them all the time for dealing with long-running transactions, integration, and even places we just want to have a little more control over a process. Occasionally we have … Continue reading 

Posted in NServiceBus | 5 Comments

Clean Tests: Database Persistence

Other posts in this series: A Primer Building Test Types Isolating Internal State Isolating the Database Isolation with Fakes Database Persistence A couple of posts ago, I walked through my preferred solution of isolating database state using intelligent database wiping … Continue reading 

Posted in Testing | 1 Comment

Clean Tests: Isolation with Fakes

Other posts in this series: A Primer Building Test Types Isolating Internal State Isolating the Database Isolation with Fakes Database Persistence So far in this series, I’ve walked through different modes of isolation – from internal state using child containers … Continue reading 

Posted in Testing | 6 Comments