News

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 “why”. If we treat our entities as data ...
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 ...
Don’t Do Role-Based Authorization Checks; Do Activity-Based Checks 24 May, 2011. It was a Tuesday.
Dependency Injection Is NOT The Same As The Dependency Inversion Principle 22 September, 2011. It was a Thursday.
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 ...
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 ...
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 ...
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 ...
In my opinion Command Query Responsibility Segregation (CQRS) is one of the most useful architectural patterns when used in the context of a complex line of business application (LOB). Martin Fowler ...
Follow me on RSS and Twitter Follow @ehexter This is a multi post series on ASP.Net MVC Portable Areas Part 1 – Introduction Part 2 – Sample Portable Area Part 3 – Usage of a Portable Area Part 4 – ...
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 ...
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 ...