{"id":49950689,"url":"https://github.com/dimesoftware/services","last_synced_at":"2026-05-17T19:04:33.452Z","repository":{"id":152118752,"uuid":"259848612","full_name":"dimesoftware/services","owner":"dimesoftware","description":"👔 Contracts for the service layer of any project.","archived":false,"fork":false,"pushed_at":"2024-11-13T09:08:22.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-01T10:06:11.356Z","etag":null,"topics":["csharp","dotnet","service-layer","service-locator"],"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/dimesoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2020-04-29T06:54:59.000Z","updated_at":"2024-11-13T09:08:05.000Z","dependencies_parsed_at":"2023-12-30T18:42:16.373Z","dependency_job_id":"ff4d1290-3d2b-41f8-8cf3-83b0d21b7b05","html_url":"https://github.com/dimesoftware/services","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dimesoftware/services","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimesoftware%2Fservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimesoftware%2Fservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimesoftware%2Fservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimesoftware%2Fservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimesoftware","download_url":"https://codeload.github.com/dimesoftware/services/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimesoftware%2Fservices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33151625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"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":["csharp","dotnet","service-layer","service-locator"],"created_at":"2026-05-17T19:04:22.577Z","updated_at":"2026-05-17T19:04:33.447Z","avatar_url":"https://github.com/dimesoftware.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"assets/box.svg?raw=true\" width=\"350\" alt=\"Logo\"\u003e\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://dev.azure.com/dimesoftware/Utilities/_apis/build/status/dimenics.services?branchName=master\"/\u003e\n\u003cimg src=\"https://feeds.dev.azure.com/dimesoftware/_apis/public/Packaging/Feeds/a7b896fd-9cd8-4291-afe1-f223483d87f0/Packages/f6766b4e-2b3d-4874-bd8e-f1fb9fa8296c/Badge\" /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eServices\u003c/h1\u003e\n\u003c/div\u003e\n\n## Introduction\n\nContracts for the service layer of any project.\n\n## Getting Started\n\n- You must have Visual Studio 2022 Community or higher.\n- The dotnet cli is also highly recommended.\n\n## About this project\n\nThe most notable types in this assembly include:\n\n- `IQueryService\u003cT\u003e`: matches the R in CRUD operators\n- `ICommandService\u003cT\u003e`: matches the CUD in CRUD operations\n- `IService\u003cT\u003e`: Defines the capabilities of both `IQueryService\u003cT\u003e` and `ICommandService\u003cT\u003e`\n- `IServiceLocator`: Defines how to instantiate service class instances\n\n## Build and Test\n\n- Run dotnet restore\n- Run dotnet build\n- Run dotnet test\n\n## Installation\n\nUse the package manager NuGet to install Dime.System:\n\n`dotnet add package Dime.Services`\n\n## Usage\n\n``` csharp\nusing Dime;\n\npublic class CustomerService : ICustomerService\u003cCustomer\u003e\n{\n  public async Task\u003cIEnumerable\u003cCustomerDto\u003e\u003e GetAllAsync\u003cCustomerDto\u003e()\n  {\n      IEnumerable\u003cCustomer\u003e customers = await this.Context.Customers.ToListAsync();\n      return customers.Select(x =\u003e this.Mapper.Map\u003cCustomerDto\u003e(x));\n  }\n}\n```\n\n## Contributing\n\n![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)\n\nPull requests are welcome. Please check out the contribution and code of conduct guidelines.\n\n## License\n\n[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimesoftware%2Fservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimesoftware%2Fservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimesoftware%2Fservices/lists"}