{"id":36924139,"url":"https://github.com/NetDevPack/NetDevPack","last_synced_at":"2026-01-19T18:00:45.999Z","repository":{"id":41120736,"uuid":"268701472","full_name":"NetDevPack/NetDevPack","owner":"NetDevPack","description":"A smart set of common classes and implementations to improve your development productivity.","archived":false,"fork":false,"pushed_at":"2025-11-19T02:33:28.000Z","size":1180,"stargazers_count":822,"open_issues_count":2,"forks_count":102,"subscribers_count":35,"default_branch":"master","last_synced_at":"2026-01-14T08:53:18.876Z","etag":null,"topics":["aspnetcore","cqrs","ddd","devpack","fluentvalidation","identity","mediatr","messaging","notification","specification-pattern","validation"],"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/NetDevPack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"patreon":"eduardopires"}},"created_at":"2020-06-02T04:34:18.000Z","updated_at":"2026-01-13T01:02:03.000Z","dependencies_parsed_at":"2023-02-01T03:30:57.580Z","dependency_job_id":null,"html_url":"https://github.com/NetDevPack/NetDevPack","commit_stats":null,"previous_names":["eduardopires/netdevpack"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/NetDevPack/NetDevPack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetDevPack%2FNetDevPack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetDevPack%2FNetDevPack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetDevPack%2FNetDevPack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetDevPack%2FNetDevPack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NetDevPack","download_url":"https://codeload.github.com/NetDevPack/NetDevPack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetDevPack%2FNetDevPack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28578952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T17:42:58.221Z","status":"ssl_error","status_checked_at":"2026-01-19T17:40:54.158Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aspnetcore","cqrs","ddd","devpack","fluentvalidation","identity","mediatr","messaging","notification","specification-pattern","validation"],"created_at":"2026-01-12T19:00:25.487Z","updated_at":"2026-01-19T18:00:45.994Z","avatar_url":"https://github.com/NetDevPack.png","language":"C#","readme":"﻿\u003cimg src=\"https://repository-images.githubusercontent.com/268701472/8bf84980-a6ce-11ea-83da-e2133c5a3a7a\" alt=\".NET DevPack\" width=\"300px\" /\u003e\n\n| Package |  Version | Popularity |\n| ------- | ----- | ----- |\n| `NetDevPack` | [![NuGet](https://img.shields.io/nuget/v/NetDevPack.svg)](https://nuget.org/packages/NetDevPack) | [![Nuget](https://img.shields.io/nuget/dt/NetDevPack.svg)](https://nuget.org/packages/NetDevPack) |\n\n## What is the .NET DevPack?\n\nNetDevPack is a comprehensive set of reusable classes and interfaces designed to improve development experience and productivity in .NET applications. It encapsulates best practices and common patterns such as Domain-Driven Design (DDD), CQRS, Validation, Notification, and Mediator.\n\n## Give a Star! ⭐\n\nIf you find this project useful, please give it a star! It helps us grow and improve the community.\n\n## Features\n\n- ✅ Domain-driven design base classes and interfaces  \n- ✅ CQRS support via Mediator pattern  \n- ✅ FluentValidation integration  \n- ✅ Domain events and notifications handling  \n- ✅ Unit of Work and repository base contracts\n\n## Installation\n\nInstall via NuGet:\n\n```bash\ndotnet add package NetDevPack\n```\n\n## Basic Usage\n\n### Domain Entity\n\n```csharp\nusing NetDevPack.Domain;\n\npublic class Customer : Entity\n{\n    public string Name { get; private set; }\n\n    public Customer(Guid id, string name)\n    {\n        Id = id;\n        Name = name;\n    }\n}\n```\n\n### Repository Interface\n\n```csharp\nusing NetDevPack.Data;\n\npublic interface ICustomerRepository : IRepository\u003cCustomer\u003e\n{\n    Task\u003cCustomer\u003e GetByName(string name);\n}\n```\n\n### Using the Mediator\n\n```csharp\npublic class CustomerCommandHandler : IRequestHandler\u003cRegisterCustomerCommand, ValidationResult\u003e\n{\n    private readonly IMediatorHandler _mediator;\n    \n    public CustomerCommandHandler(IMediatorHandler mediator)\n    {\n        _mediator = mediator;\n    }\n\n    public async Task\u003cValidationResult\u003e Handle(RegisterCustomerCommand request, CancellationToken cancellationToken)\n    {\n        // Business logic\n        await _mediator.PublishEvent(new CustomerRegisteredEvent(...));\n        return new ValidationResult();\n    }\n}\n```\n\n### Fluent Validation\n\n```csharp\nusing FluentValidation;\n\npublic class CustomerValidator : AbstractValidator\u003cCustomer\u003e\n{\n    public CustomerValidator()\n    {\n        RuleFor(c =\u003e c.Name).NotEmpty();\n    }\n}\n```\n\n## Example\n\nFor a full implementation example, check [Equinox Project](https://github.com/EduardoPires/EquinoxProject/)\n\n## Compatibility\n\nSupports:\n- ✅ .NET Standard 2.1  \n- ✅ .NET 5 through 9 (including latest versions)  \n- ⚠️ Legacy support for .NET Core 3.1 and older (with limitations)\n  \n## About\n.NET DevPack was developed by [Eduardo Pires](http://eduardopires.net.br) under the [MIT license](LICENSE).\n","funding_links":["https://patreon.com/eduardopires"],"categories":["C# #"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNetDevPack%2FNetDevPack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNetDevPack%2FNetDevPack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNetDevPack%2FNetDevPack/lists"}