DDD

Weaving your domain classes with Fody

When I model the business domain with C#, the resulting data structures tend to contain a lot of boilerplate code. It's repeated from class to class and it gets more difficult to see the essence of the model behind the repetitive cruft. In this article I show off one trick to reduce this boilerplate code with Fody library.

Read more...

Units of measurement in domain design

If you have business application of any decent size, your most important code probably resides in domain logic. Try to make it as simple and readable as possible, and it will always pay you back. Today I want to discuss one aspect of writing clean domain code: units of measurement.

Read more...