{"id":18894650,"url":"https://github.com/ademcatamak/specificationpatternexample","last_synced_at":"2026-03-03T20:32:24.347Z","repository":{"id":116948265,"uuid":"301567826","full_name":"AdemCatamak/SpecificationPatternExample","owner":"AdemCatamak","description":"https://medium.com/@ademcatamak/specification-design-pattern-c814649be0ef","archived":false,"fork":false,"pushed_at":"2021-08-25T07:57:20.000Z","size":14,"stargazers_count":19,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T12:48:23.011Z","etag":null,"topics":["design-patterns","ef-core","sample-app","specification-pattern"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdemCatamak.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-10-05T23:53:52.000Z","updated_at":"2024-06-05T05:17:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf8fbf87-73a6-4526-aa61-c3889dc277c5","html_url":"https://github.com/AdemCatamak/SpecificationPatternExample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AdemCatamak/SpecificationPatternExample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdemCatamak%2FSpecificationPatternExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdemCatamak%2FSpecificationPatternExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdemCatamak%2FSpecificationPatternExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdemCatamak%2FSpecificationPatternExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdemCatamak","download_url":"https://codeload.github.com/AdemCatamak/SpecificationPatternExample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdemCatamak%2FSpecificationPatternExample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30058287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["design-patterns","ef-core","sample-app","specification-pattern"],"created_at":"2024-11-08T08:23:56.377Z","updated_at":"2026-03-03T20:32:24.298Z","avatar_url":"https://github.com/AdemCatamak.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Specification Design Pattern\n\nMedium üzerinde yayınlanmış bir yazıya ait örnek kodlar bu repository içerisinde yer almaktadır. Yazıya bu link aracılığı ile erişebilirsiniz: \nhttps://medium.com/@ademcatamak/specification-tasarim-deseni-d142692a8e41\n\nThis repo contains sample codes for the Medium article, which you can access via https://medium.com/@ademcatamak/specification-design-pattern-c814649be0ef.\n\nThe implementation of design pattern is in the _SpecificationPatternExample.Specification_ project which has no dependencies. You are free to copy this project and use it.\n\n__Note__: You can access the implementation of the design pattern via [NuGet](https://www.nuget.org/packages/Spectacular/) using the name [Spectacular](https://github.com/AdemCatamak/Spectacular).\n\n## __RUN__\n\nWhen you run the program and send some GET requests, created sql queries can be seen via console screen. The easiest way of running the program is using `docker-compose up`. If you want to debug the code, you have two ways which are listed below.\n\n__Way 1__\n\nThe project could be executed via _docker-compose_. If you have an IDE which is capable of debugging _docker-compose file_, _docker-compose.yml_ which is located at the main directory would be useful for you.\n\nIn case of choosing this way to run the project, you can reach swagger screen via _http://localhost:10000_.\n\nNote: Because the sql server needs more time to be ready compared to SpecificationPatternExample-Api, it might take a while for you to reach the endpoints after `docker-compose up` command execution.\n\n__Way 2__\n\nIf you want to execute the project without using docker, it is required that you set the connection strings inside the SpecificationPatternExample/appsettings.json file.\n\nChanges to be made are:\n1. ConnectionStrings -\u003e SqlServer value should be changed with the Sql Server connection string that you have.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fademcatamak%2Fspecificationpatternexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fademcatamak%2Fspecificationpatternexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fademcatamak%2Fspecificationpatternexample/lists"}