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 ...
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 – ...
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 ...
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 ...
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 think there’s great benefit in not only knowing how to design your code to use common patterns but also to be able to speak about them clearly and concisely to others. If I mention that the problem ...
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 ...
Don’t Do Role-Based Authorization Checks; Do Activity-Based Checks 24 May, 2011. It was a Tuesday.
Introduction Way too many times I encounter applications that claim to have a domain (model) and that domain driven design has been used to develop it, but in reality what I find is a collection of ...
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 ...
23 January, 2009. It was a Friday. In Domain-Driven Design, creating a rich domain model in code is essential for capturing the richness and complexity of the real-world domain. These domain models, ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results