{"id":14986554,"url":"https://github.com/cloudnative-netcore/netcorekit","last_synced_at":"2025-05-16T04:04:57.706Z","repository":{"id":38010511,"uuid":"144364631","full_name":"cloudnative-netcore/netcorekit","owner":"cloudnative-netcore","description":":heartpulse: A crafted toolkit for building cloud-native apps on the .NET platform","archived":false,"fork":false,"pushed_at":"2023-03-04T00:59:32.000Z","size":5358,"stargazers_count":290,"open_issues_count":31,"forks_count":70,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-05-08T14:46:44.859Z","etag":null,"topics":["12-factor","aspnetcore","clean-architecture","cloud-native","ddd","ddd-architecture","docker","dotnet-core","efcore","feature-flags","generic-repository","grpc","kubernetes","mediatr","microservices-architecture","open-api"],"latest_commit_sha":null,"homepage":"https://vietnam-devs.github.io/","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/cloudnative-netcore.png","metadata":{"files":{"readme":"README.md","changelog":null,"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},"funding":{"github":null,"patreon":"thangchung","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-08-11T07:24:00.000Z","updated_at":"2024-09-20T14:45:33.000Z","dependencies_parsed_at":"2024-06-18T13:47:56.424Z","dependency_job_id":"e8cc26e7-f56e-45ef-898b-614be6817f1f","html_url":"https://github.com/cloudnative-netcore/netcorekit","commit_stats":{"total_commits":142,"total_committers":3,"mean_commits":"47.333333333333336","dds":"0.021126760563380254","last_synced_commit":"d07dc233cc82f78a44c03b346eaddf460a33da2c"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnative-netcore%2Fnetcorekit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnative-netcore%2Fnetcorekit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnative-netcore%2Fnetcorekit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnative-netcore%2Fnetcorekit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudnative-netcore","download_url":"https://codeload.github.com/cloudnative-netcore/netcorekit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464895,"owners_count":22075570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["12-factor","aspnetcore","clean-architecture","cloud-native","ddd","ddd-architecture","docker","dotnet-core","efcore","feature-flags","generic-repository","grpc","kubernetes","mediatr","microservices-architecture","open-api"],"created_at":"2024-09-24T14:13:08.018Z","updated_at":"2025-05-16T04:04:52.695Z","avatar_url":"https://github.com/cloudnative-netcore.png","language":"C#","readme":"# Cloud-native .NET Core Kit\n\n[![Build status](https://img.shields.io/appveyor/ci/thangchung/netcore-kit.svg)](https://ci.appveyor.com/api/project/thangchung/netcore-kit)\n[![Price](https://img.shields.io/badge/price-FREE-0098f7.svg)](https://github.com/cloudnative-netcore/netcorekit/blob/master/LICENSE)\n[![version](https://img.shields.io/nuget/v/NetCoreKit.Domain.svg?label=version)](https://www.nuget.org/packages?q=NetCoreKit)\n\nA set of cloud-native tools and utilities for .NET Core.\n\nThe goal of this project is implement the most common used cloud-native technologies (cloud-agnostic approach, containerization mechanism, container orchestration and so on) and share with the technical community the best way to develop great applications with .NET Core.\n\n## Give a Star! :star:\n\nIf you liked `netcorekit` project or if it helped you, please give a star :star: for this repository. That will not only help strengthen our .NET community but also improve cloud-native apps development skills for .NET developers in around the world. Thank you very much :+1:\n\nCheck out my [blog](https://medium.com/@thangchung) or say hi on [Twitter](https://twitter.com/thangchung)!\n\n### Features\n\n- [x] Simple libraries. No frameworks. Little abstraction.\n- [x] Opt-in and out of the box [features](https://github.com/cloudnative-netcore/netcorekit/wiki/Host-template-guidance) with [Feature Toggles](https://martinfowler.com/articles/feature-toggles.html) technique.\n- [x] Adhere to [twelve-factor app paradigm](https://12factor.net) and more.\n- [x] Authentication/Authorization with OAuth 2.0 and OpenID Connect.\n- [x] [Domain-driven Design](https://en.wikipedia.org/wiki/Domain-driven_design) in mind.\n- [x] Simply [Clean Architecture](http://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html) supports.\n- [x] Generic repository for data persistence.\n- [x] Mapping between domain entity to DTO and vice versa.\n- [x] Clean and demystify error, debug logs.\n- [x] Resilience and health check out of the box.\n- [x] MessagePack for WebAPI and gRPC for internal services.\n- [x] Easy for configuration management.\n- [x] API versioning from Docker container to WebAPI.\n- [x] Documentation template with OpenAPI documentation.\n- [x] Work natively with Kubernetes or even with Service Mesh(Istio).\n\n## Less code to get starting\n\nSmall, lightweight, cloud-native out of the box, and much more simple to get starting with miniservices approach. [Why miniservices?](https://thenewstack.io/miniservices-a-realistic-alternative-to-microservices)\n\n### Look how simple we can start as below:\n\n- **Standard template - NetCoreKit.Template.Standard**: without storage, merely calculation and job tasks:\n\n```csharp\npublic class Startup\n{\n  public void ConfigureServices(IServiceCollection services)\n  {\n    services.AddStandardTemplate();\n  }\n\n  public void Configure(IApplicationBuilder app)\n  {\n    app.UseStandardTemplate();\n  }\n}\n```\n\n- **EfCore template - NetCoreKit.Template.EfCore**: with Entity Framework Core (SQL Server, MySQL, and SQLite providers) comes along with the generic repository in place:\n\n```csharp\npublic class Startup\n{\n  public void ConfigureServices(IServiceCollection services)\n  {\n    services.AddEfCoreTemplate\u003cTodoListDbContext\u003e(svc =\u003e svc.AddEfCoreMySqlDb());\n  }\n\n  public void Configure(IApplicationBuilder app)\n  {\n    app.UseEfCoreTemplate();\n  }\n}\n```\n\n\u003e EfCore template usage can be found at [TodoApi Sample](https://github.com/cloudnative-netcore/netcorekit/tree/master/samples/TodoApi).\n\n- **MongoDb template - NetCoreKit.Template.MongoDb**: with NoSQL (MongoDb provider) comes along with the generic repository in place:\n\n```csharp\npublic class Startup\n{\n  public void ConfigureServices(IServiceCollection services)\n  {\n    services.AddMongoTemplate();\n  }\n\n  public void Configure(IApplicationBuilder app)\n  {\n    app.UseMongoTemplate();\n  }\n}\n```\n\n\u003e MongoDb template usage can be found at [BiMonetaryApi Sample](https://github.com/cloudnative-netcore/netcorekit/tree/master/samples/BiMonetaryApi).\n\n- Read [Get starting](https://github.com/cloudnative-netcore/netcorekit/wiki/Get-Started) section and [Play with Kubernetes](https://github.com/cloudnative-netcore/netcorekit/wiki/Deploy-on-k8s-on-local) section to know more about this cloud-native toolkit.\n- More advance usage is at [Coolstore Microservices](https://github.com/vietnam-devs/coolstore-microservices) project.\n\n### Microservice architecture\n\n![msa_architecture](artwork/msa_architecture.png?raw=true 'msa_architecture')\n\n### Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :p\n","funding_links":["https://patreon.com/thangchung"],"categories":["C\\#"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudnative-netcore%2Fnetcorekit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudnative-netcore%2Fnetcorekit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudnative-netcore%2Fnetcorekit/lists"}