{"id":18838254,"url":"https://github.com/jonahandersson/dotnet-minimal-web-api-example","last_synced_at":"2026-02-23T15:02:02.086Z","repository":{"id":114467123,"uuid":"511088172","full_name":"jonahandersson/dotnet-minimal-web-api-example","owner":"jonahandersson","description":".NET 7 Example of Minimal API C# .NET","archived":false,"fork":false,"pushed_at":"2023-09-05T19:59:23.000Z","size":304,"stargazers_count":14,"open_issues_count":3,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-10T23:37:42.798Z","etag":null,"topics":["asp-net-core","aspnetcore","dot-net-7","dotnet","dotnet-6","minimal-api","swagger","swagger-api","web-api","webapi"],"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/jonahandersson.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":"2022-07-06T10:18:19.000Z","updated_at":"2025-09-17T08:26:31.000Z","dependencies_parsed_at":"2023-06-08T06:30:36.602Z","dependency_job_id":null,"html_url":"https://github.com/jonahandersson/dotnet-minimal-web-api-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonahandersson/dotnet-minimal-web-api-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonahandersson%2Fdotnet-minimal-web-api-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonahandersson%2Fdotnet-minimal-web-api-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonahandersson%2Fdotnet-minimal-web-api-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonahandersson%2Fdotnet-minimal-web-api-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonahandersson","download_url":"https://codeload.github.com/jonahandersson/dotnet-minimal-web-api-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonahandersson%2Fdotnet-minimal-web-api-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29746499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: 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":["asp-net-core","aspnetcore","dot-net-7","dotnet","dotnet-6","minimal-api","swagger","swagger-api","web-api","webapi"],"created_at":"2024-11-08T02:38:31.495Z","updated_at":"2026-02-23T15:02:02.065Z","avatar_url":"https://github.com/jonahandersson.png","language":"C#","readme":"# C# .NET 7 Minimal Web API \n##### Example source code with simple CRUD Operations (PUT, POST, GET, DELETE) with Swagger/Open API \n\n#### NOTE: Ongoing project \n\n#### DESCRIPTION:\n\nSimple example in C# .NET 7 for minimal web APIs with basic CRUD operations and example data \n\n##### MINIMAL APIs - ORIGIN AND WHAT?\n\nMinimal APIs are architected to create HTTP APIs with minimal dependencies. They are ideal for microservices and apps that want to include only the minimum files, features, and dependencies in ASP.NET Core. History of the minimal API traces back in November 2019.\n\nMore details about it blogged on my website \u003ca href=\"https://jonahandersson.tech/minimal-web-apis-in-net-and-azure-api-management-combined/\" target=\"_blank\"\u003eMinimal Web APIs in .NET and Azure API Management Combined\u003c/a\u003e\n\nBelow is the image that shows how minimal API works with OpenAPI (Swagger)\n![alt text](https://github.com/jonahandersson/dotnet-minimal-web-api-example/blob/master/minimalAPIDemoExample.png )\n\nOpenAPI (Swagger) Test Run Query Get Data that returns expected data in JSON format\n![image](https://user-images.githubusercontent.com/14919667/208229781-226b3a19-e1eb-41ba-b12b-e4abfe7ce303.png)\n\n### REFERENCES, EXAMPLES AND QUICKSTARTS\n\n- [Tutorial: Create a minimal web API with ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/tutorials/min-web-api?view=aspnetcore-6.0\u0026tabs=visual-studio?WT.mc_id=AZ-MVP-5004251)\n-  [Minimal Web APIs in .NET and Azure API Management Combined by Jonah Andersson](https://jonahandersson.tech/minimal-web-apis-in-net-and-azure-api-management-combined/)\n- [Microsoft Docs: Minimal APIs Overview](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis?view=aspnetcore-6.0?WT.mc_id=AZ-MVP-5004251)\n- [Introduction to Minimal APIs in .NET 6 by Claudio Bernasconi](https://www.claudiobernasconi.ch/2022/02/23/introduction-to-minimal-apis-in-dotnet6/)\n- [Code Maze: Minimal APIs in .NET 6](https://code-maze.com/dotnet-minimal-api/)\n- [Code Maze:Configuring and Using Swagger UI in ASP.NET Core Web API](https://code-maze.com/swagger-ui-asp-net-core-web-api)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonahandersson%2Fdotnet-minimal-web-api-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonahandersson%2Fdotnet-minimal-web-api-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonahandersson%2Fdotnet-minimal-web-api-example/lists"}