Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Samples for Domain Driven Design (esp .NET focused)

Ok so I've ordered Applying Domain-Driven Design and Patterns: Using .Net, but while I wait for it to arrive I'm looking at starting to apply the techniques in my current project. I really grasp the concepts quite well now, but when I try to apply them I get caught up with the execution and end up leaking my respsonsibilities across the various projects. As such I'm looking for resources out there that can guide me in the right direction, especially sample projects with actual code that I can work against. I remember a sample site out there in the Alt.Net world that had a real working project that people could browse but can't seem to find it? Does anyone out there have that link, or any other links they could share??

Edit: I have since found this sample application from the DomainDrivenDesign.org site (although it is Java based) as well as the example outlined below.

I am still looking for the Alt.Net sample application if anyone knows where to find it?

like image 233
mwjackson Avatar asked Nov 11 '08 11:11

mwjackson


People also ask

What is DDD example?

An aggregate is a domain-driven design pattern. It's a cluster of domain objects (e.g. entity, value object), treated as one single unit. A car is a good example. It consists of wheels, lights and an engine.

What is domain-driven design in microservices example?

Initially coined by Eric Evans, Domain-Driven Design (DDD) is defined as designing software systems based on the underlying model of the business domain. Domain-Driven Design has an organizational relationship to microservices and categorizes them so their usage is easily understood.

Is DDD same as microservices?

The components within those boundaries end up being your microservices, although in some cases a BC or business microservices can be composed of several physical services. DDD is about boundaries and so are microservices.

Which EF approach we can use for domain-driven design?

Code-First is mainly useful in Domain Driven Design. In the Code-First approach, you focus on the domain of your application and start creating classes for your domain entity rather than design your database first and then create the classes which match your database design.


2 Answers

The following CodePlex projects seem to be right up your ally:

  • .NET Domain-Driven Design with C#: Problem-Design-Solution
  • Domain Driven Design (.NET) Example Application
  • StoreDDD
like image 93
slf Avatar answered Oct 04 '22 18:10

slf


Mark Nijhof made a great .Net example app using the CQRS pattern which is a hot implementation of DDD. You can read all about it on Marks blog

like image 35
Keith Bloom Avatar answered Oct 04 '22 20:10

Keith Bloom