{"id":19024918,"url":"https://github.com/sonujose/coreapplication_reference","last_synced_at":"2026-04-30T00:30:21.460Z","repository":{"id":115803555,"uuid":"155040523","full_name":"sonujose/coreapplication_reference","owner":"sonujose","description":"Core application with ef core, in-memory","archived":false,"fork":false,"pushed_at":"2018-10-28T06:05:03.000Z","size":2659,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T01:45:01.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sonujose.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}},"created_at":"2018-10-28T06:03:06.000Z","updated_at":"2018-10-28T06:05:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"f85e6b61-3f81-4536-9bf1-d4db71863885","html_url":"https://github.com/sonujose/coreapplication_reference","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonujose%2Fcoreapplication_reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonujose%2Fcoreapplication_reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonujose%2Fcoreapplication_reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonujose%2Fcoreapplication_reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonujose","download_url":"https://codeload.github.com/sonujose/coreapplication_reference/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240072132,"owners_count":19743526,"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":[],"created_at":"2024-11-08T20:39:32.322Z","updated_at":"2026-04-30T00:30:21.431Z","avatar_url":"https://github.com/sonujose.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ASP.NET Core WebApi Sample with HATEOAS, Versioning \u0026 Swagger\n\nIn this repository I want to give a plain starting point at how to build a WebAPI with ASP.NET Core.\n\nThis repository contains a controller which is dealing with FoodItems. You can GET/POST/PUT/PATCH and DELETE them.\n\nHope this helps.\n\nSee the examples here: \n\n## Versions\n\n``` http://localhost:29435/swagger ```\n\n![ASPNETCOREWebAPIVersions](./.github/versions.jpg)\n\n## GET all Foods\n\n``` http://localhost:29435/api/v1/foods ```\n\n![ASPNETCOREWebAPIGET](./.github/get.jpg)\n\n## GET single food\n\n``` http://localhost:29435/api/v1/foods/2 ```\n\n![ASPNETCOREWebAPIGET](./.github/getSingle.jpg)\n\n## POST a foodItem\n\n``` http://localhost:29435/api/v1/foods ```\n\n```javascript\n  {\n      \"name\": \"Lasagne\",\n      \"type\": \"Main\",\n      \"calories\": 3000,\n      \"created\": \"2017-09-16T17:50:08.1510899+02:00\"\n  }\n```\n\n![ASPNETCOREWebAPIGET](./.github/post.jpg)\n\n## PUT a foodItem\n\n``` http://localhost:29435/api/v1/foods/5 ```\n\n``` javascript\n{\n    \"name\": \"Lasagne2\",\n    \"type\": \"Main\",\n    \"calories\": 3000,\n    \"created\": \"2017-09-16T17:50:08.1510899+02:00\"\n}\n```\n\n![ASPNETCOREWebAPIGET](./.github/put.jpg)\n\n\n## PATCH a foodItem\n\n``` http://localhost:29435/api/v1/foods/5 ```\n\n``` javascript\n[\n  { \"op\": \"replace\", \"path\": \"/name\", \"value\": \"mynewname\" }\n]\n```\n\n![ASPNETCOREWebAPIGET](./.github/patch.jpg)\n\n## DELETE a foodItem\n\n``` http://localhost:29435/api/v1/foods/5 ```\n\n\n![ASPNETCOREWebAPIGET](./.github/delete.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonujose%2Fcoreapplication_reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonujose%2Fcoreapplication_reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonujose%2Fcoreapplication_reference/lists"}