vaughnvernon / iddd_samples_net Goto Github PK
View Code? Open in Web Editor NEWThese are the sample Bounded Contexts for C#.NET from the book "Implementing Domain-Driven Design" by Vaughn Vernon: http://vaughnvernon.co/?page_id=168
License: Other
These are the sample Bounded Contexts for C#.NET from the book "Implementing Domain-Driven Design" by Vaughn Vernon: http://vaughnvernon.co/?page_id=168
License: Other
These are the sample Bounded Contexts for C#.NET from the book "Implementing Domain-Driven Design" by Vaughn Vernon: http://vaughnvernon.co/?page_id=168 Java Samples: https://github.com/VaughnVernon/IDDD_Samples NOTE: These are currently an early work in progress. It's been pushed here so contributors can create pull requests, etc. Please don't complain unless you are willing to help ;) Vaughn
Hello Vaughn, great to see this code out here. One of the members in our study group found this and pointed us to it. Under IdentityAccessContext, DataModelTests.csproj and idd_identity_access_data_layer.csproj are not found.
Also, VisualDesignToolHook is missing.
I'm complaining, but I'm willing to help :) Any suggestions?
AssertionConcern should be a reusable component and not a base class for every object that need to do assertions.
Composition Over Inheritance
It should be something like this:
https://github.com/phatboyg/Magnum/blob/master/src/Magnum/Guard.cs
Hello guys
With current implementation we are publishing ProductCreated domain event in ctor for product.
If we will implement IProductRepository and use EF Core than this ctor will be called on read existed product from db.
Is ctor a good place to decide that new instance of product is created for new product?
Some ctor will be called when product will be readed from db or deserialized from json (let's for example we are working with json files as storage) and what ctor exactly depeneds on implementation of repository or ORM conventions.
Hi Vaughn,
I am trying to understand your implementation and got stuck in understanding where "PlanBackLogItem" is used. Can you please point out if you dont mind....
Cheers,
~Hari
I don't understand why EntityWithCompositeId is a special case. For me, this code could be applied to all entities (with a composite or unique id).
Started work here: https://github.com/yreynhout/IDDD_Samples_NET
void When(IDomainEvent e)
{
(this as dynamic).Apply(e);
}
protected void Apply(IDomainEvent e)
{
this.mutatingEvents.Add(e);
When(e);
}
This code doesn't work, it generates an StackOverflow exception due to it's infinite recursion.
I would like to give my contribution to the project. But i'm little bit confused about current project structure. Where should be placed unit test projects due to actual project convention?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.