News

One of the big problems I’ve been trying to solve recently, is in my current WinForms application that using a Model-View-Presenter setup. I have my workflow between forms coupled to the forms ...
Alternate Title: An IoC Container is a Rich Man’s Factory Pattern Implementation I ruffled some feathers with my last post on Poor Man’s Dependency Injection (PDMI), so please allow me to clarify ...
Introduction This post is part of my series about implementing a CI/CD pipeline. Please refer to this post for an introduction and a full table of content. In this post I want to demonstrate step by ...
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’ DDD, a good Service has these ...
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 detours, eventually coming to the ...
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 library I built (well, extracted from ...
Since we’re a big user of IoC containers, namely StructureMap (which was obviously a big inspiration in the design of the configuration), I tried to make AutoMapper IoC-friendly out of the box. It ...
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 ...
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 a number of different ways that ...
Funny, we were just working on the first one today! But for us, it was in MVVM land, going DTO->VM, where you want validation to be based on the *source* members. If you check out the latest download ...
The IMapper interface is a lot lighter, and the underlying type is now just concerned with executing maps, removing a lot of the threading problems I was having before. I’m keeping the existing ...
We can then run a container in test mode as follows docker run -dt --name test --entrypoint python tests.py python-sample That is really helpful! We can use one and the same container image to ...