{"id":50882360,"url":"https://github.com/beyondnetcode/shell.ddd","last_synced_at":"2026-06-15T14:01:37.116Z","repository":{"id":361890060,"uuid":"1254308966","full_name":"beyondnetcode/Shell.ddd","owner":"beyondnetcode","description":"Domain-Driven Design library for .NET with entities, aggregate roots, value objects, domain events, business rules, and AutoMapper support.","archived":false,"fork":false,"pushed_at":"2026-06-07T17:08:07.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-13T09:18:34.447Z","etag":null,"topics":["csharp","ddd","ddd-architecture","net"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beyondnetcode.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-30T12:05:21.000Z","updated_at":"2026-06-07T17:08:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/beyondnetcode/Shell.ddd","commit_stats":null,"previous_names":["beyondnetcode/shell.ddd"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/beyondnetcode/Shell.ddd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondnetcode%2FShell.ddd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondnetcode%2FShell.ddd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondnetcode%2FShell.ddd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondnetcode%2FShell.ddd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beyondnetcode","download_url":"https://codeload.github.com/beyondnetcode/Shell.ddd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondnetcode%2FShell.ddd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34365597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","ddd","ddd-architecture","net"],"created_at":"2026-06-15T14:01:34.526Z","updated_at":"2026-06-15T14:01:37.109Z","avatar_url":"https://github.com/beyondnetcode.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BeyondNet.Ddd\n\n\u003cp\u003e\n  \u003cstrong\u003eEnglish\u003c/strong\u003e | \u003ca href=\"README.es.md\"\u003eEspañol\u003c/a\u003e\n\u003c/p\u003e\n\nBeyondNet.Ddd is a library for implementing Domain-Driven Design (DDD) patterns in .NET 10. It provides a solid foundation for building complex business applications with clean, maintainable domain models.\n\n## Features\n\n- **Entity Base Class**: Full-featured entity implementation with tracking, validation, and business rules\n- **Aggregate Root**: Specialized entity for aggregate roots with domain events support\n- **Value Objects**: Immutable value objects with built-in validation (IdValueObject, AuditValueObject, etc.)\n- **Business Rules**: Rule engine with `BrokenRulesManager` for domain validation\n- **Property Change Tracking**: INotifyPropertyChanged implementation with change tracking\n- **AutoMapper Integration**: Seamless mapping between DTOs and domain entities\n- **MediatR Integration**: Built-in support for domain events via MediatR\n\n## Architecture\n\nThe library is organized into modular packages:\n\n```\nBeyondNetCode.Shell.Ddd              # Core DDD (Entity, AggregateRoot, DomainEvents)\nBeyondNetCode.Shell.Ddd.ValueObjects  # Value Objects and Validators\nBeyondNetCode.Shell.Ddd.AutoMapper    # AutoMapper integration\n```\n\n## Installation\n\n```bash\n# Core library\ndotnet add package BeyondNetCode.Shell.Ddd\n\n# Value Objects\ndotnet add package BeyondNetCode.Shell.Ddd.ValueObjects\n\n# AutoMapper integration\ndotnet add package BeyondNetCode.Shell.Ddd.AutoMapper\n```\n\n## Core Concepts\n\n### Entity\n\n```csharp\npublic class SampleEntityProps : IProps\n{\n    public SampleName Name { get; set; }\n}\n\npublic class SampleEntity : Entity\u003cSampleEntity, SampleEntityProps\u003e\n{\n    public SampleEntity(SampleEntityProps props) : base(props)\n    {\n        // Entity initialization\n    }\n\n    public static SampleEntity Create(string name)\n    {\n        var props = new SampleEntityProps { Name = new SampleName(name) };\n        return new SampleEntity(props);\n    }\n}\n```\n\n### Aggregate Root\n\n```csharp\npublic class SampleAggregateRoot : AggregateRoot\u003cSampleAggregateRoot, SampleAggregateRootProps\u003e\n{\n    public SampleAggregateRoot(SampleAggregateRootProps props) : base(props)\n    {\n        DomainEvents = new DomainEventsManager(this);\n    }\n\n    public void AddDomainEvent(DomainEvent domainEvent)\n    {\n        DomainEvents.Add(domainEvent);\n    }\n}\n```\n\n### Value Objects\n\n```csharp\npublic class SampleName : ValueObject\u003cSampleName\u003e\n{\n    public string Value { get; }\n\n    protected override IEnumerable\u003cobject\u003e GetEqualityComponents()\n    {\n        yield return Value;\n    }\n}\n```\n\n### Business Rules\n\n```csharp\npublic class SampleEntity : Entity\u003cSampleEntity, SampleEntityProps\u003e\n{\n    public override void AddValidators()\n    {\n        ValidatorRules.Add(new SampleEntityValidator());\n    }\n}\n```\n\n## Testing\n\n```bash\ndotnet test\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for GitFlow workflow and coding standards.\n\n## Versioning\n\nSee [VERSIONING.md](VERSIONING.md) for SemVer strategy.\n\n## License\n\nMIT - See [LICENSE](LICENSE)\n\n## Acknowledgments\n\nSee [DISCLAIMER.md](DISCLAIMER.md) for original code authorship.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyondnetcode%2Fshell.ddd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyondnetcode%2Fshell.ddd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyondnetcode%2Fshell.ddd/lists"}