21 August, 2008. It was a Thursday. Services are first-class citizens of the domain model. When concepts of the model would distort any Entity or Value Object, a Service is appropriate. From Evans’ ...
24 May, 2011. It was a Tuesday. I’ve built a few dozen security mechanisms in my career. Unfortunately, I kept getting it wrong, hence the need to keep building them. Over the years, though, I learned ...
In most of the projects I’ve worked on in the last several years, I’ve put in place a mediator to manage the delivery of messages to handlers. I’ve covered the motivation behind such a pattern in the ...
12 August, 2008. It was a Tuesday. A question came up on the ALT.NET message board asking whether Value Objects should be used across service boundaries. Of course, the conversation took several ...
20 July, 2016. It was a Wednesday. 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 ...
18 September, 2009. It was a Friday. I’m getting more and more requests around the area of two-way mapping, meaning you’d do something like: Product being an entity, I can’t for the life of me ...
1 July, 2015. It was a Wednesday. 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 ...
1 June, 2016. It was a Wednesday. 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, ...
15 February, 2009. It was a Sunday. It’s a common question, “Where do I put validation?” Simple answer: put it where it’s needed. But it’s not just a question of “where”, but of “when”, “what” and ...
3 September, 2010. It was a Friday. Moving from subversion to git can be a struggle, trying to understand what terms like checkout, commit, branch, remote, rebase all mean in the git world. I learned ...
13 October, 2016. It was a Thursday. A while ago, I blogged about using MediatR to build a processing pipeline for requests in the form of commands and queries in your application. MediatR is a ...
8 October, 2012. It was a Monday. So I’m over Repositories, and definitely over abstracting your data layer, but where does that leave us? I don’t think creating an abstraction over your ORM provides ...