GithubHelp home page GithubHelp logo

ardalis / ddd-guestbook Goto Github PK

View Code? Open in Web Editor NEW
670.0 38.0 145.0 5.1 MB

A DDD guestbook example written for ASP.NET Core

License: MIT License

C# 89.53% JavaScript 0.55% CSS 1.03% HTML 8.89%
ddd ddd-architecture asp-net-core

ddd-guestbook's People

Contributors

ardalis avatar dependabot[bot] avatar efleming18 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ddd-guestbook's Issues

AggregateRoot missing ?

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 .

Issue building CleanArchitecture.Infrastructure

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).

image

Thanks!

Modify to use SqlLite

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.

Removing reference to Infra project in Web Project

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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.