ardalis / ddd-guestbook Goto Github PK
View Code? Open in Web Editor NEWA DDD guestbook example written for ASP.NET Core
License: MIT License
A DDD guestbook example written for ASP.NET Core
License: MIT License
Nice source of concepts for DDD . I noticed you don't have an AggregateRoot class . Any reason . Would be better to simply inherit AggregateRoot from Entity and handle DomainEvents in them because Entity is just a plain class wrt to Domain . But AggregateRoot is a enriched class with domain events and integration events .
You are sharing the same read.me from the CleanArchitecture repository. This is confusing when you need to run the source that uses .net core 2.x.
Hi Steve,
I'm trying to get my environment setup for the workshop that is coming up in a couple of weeks @ DevIntersection. It appears that there is an issue with building the CleanArchitecture.Infrastructure project. It's possible that I am missing a dependency, but, wanted to pass along, in case you had any suggestions (please see below).
Thanks!
asdf
EF Core InMemory has some issues we're currently working around in the Guestbook implementation that wouldn't be there if we were using a real database. I believe SqlLite will get around these issues while still not requiring students to have an actual db instance installed, or to install anything (it's just a nuget package). Confirm and update labs accordingly.
I notice you have added, and are referencing, the Infrastructure layer in your UI layer (in startup.cs) for DI purposes.
Can you recommend any ways in which to remove this dependency? (Apart from using StructureMap!)
I have been reading about creating a factory in the Core layer to accomplish this?
Only problem I see with using the 'factory in Core' approach is that I would need to reference the Infrastructure layer in the core layer to do this, removing the core reference in the infrastructure project ( to avoid circular dependency) which completely changes the role of the Core project (not really "central" anymore, just a middle layer).
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.