Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 requests

Changes made:
1. Corrected typos and grammatical errors.
2. Removed redundant sentences.
3. Improved formatting for better readability.