Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clifftech123/minimal-api-aspnetcore-sample
A minimal API sample project using ASP.NET Core 8 to demonstrate creating APIs with minimal code.
https://github.com/clifftech123/minimal-api-aspnetcore-sample
api csharp dotnet webapi
Last synced: about 9 hours ago
JSON representation
A minimal API sample project using ASP.NET Core 8 to demonstrate creating APIs with minimal code.
- Host: GitHub
- URL: https://github.com/clifftech123/minimal-api-aspnetcore-sample
- Owner: Clifftech123
- Created: 2024-07-31T20:40:55.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-05T19:03:25.000Z (3 months ago)
- Last Synced: 2024-08-06T20:34:52.579Z (3 months ago)
- Topics: api, csharp, dotnet, webapi
- Language: C#
- Homepage:
- Size: 285 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimal API Sample with ASP.NET Core 8
ASP.NET Core 8 introduces a new way to create APIs with minimal code. This project demonstrates how to create a minimal API with ASP.NET Core 8 using a recipe API.
![Minimal API](/Assets/API.png)
## Prerequisites
- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0)
- [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/)
- [Visual Studio Code](https://code.visualstudio.com/)
- [C# for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp)## Getting Started
1. Clone the repository:
```bash
git clone https://github.com/Clifftech123/minimal-api-aspnetcore-sample
```2. Change to the project directory:
```bash
cd src/minimal-api-aspnetcore-sample```
3. Run the project:
```bash
dotnet run
```4. Open your browser and navigate to `https://localhost:7071/index.html`.
## Contributing
Contributions are welcome! Here's how you can help:
- Report bugs
- Suggest features
- Submit pull requestsChanges made:
1. Corrected typos and grammatical errors.
2. Removed redundant sentences.
3. Improved formatting for better readability.