/dotnet-minimal-web-api-example

.NET 7 Example of Minimal API C# .NET

Primary LanguageC#

C# .NET 7 Minimal Web API

Example source code with simple CRUD Operations (PUT, POST, GET, DELETE) with Swagger/Open API

NOTE: Ongoing project

DESCRIPTION:

Simple example in C# .NET 7 for minimal web APIs with basic CRUD operations and example data

MINIMAL APIs - ORIGIN AND WHAT?

Minimal 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.

More details about it blogged on my website Minimal Web APIs in .NET and Azure API Management Combined

Below is the image that shows how minimal API works with OpenAPI (Swagger) alt text

OpenAPI (Swagger) Test Run Query Get Data that returns expected data in JSON format image

REFERENCES, EXAMPLES AND QUICKSTARTS