This repository contains the source code for the WebApiDemo project. The goal of this project is to showcase the development of a RESTful API using ASP.NET Core with minimal APIs. The solution demonstrates the implementation of basic CRUD operations for managing user data, highlighting the simplicity and efficiency of ASP.NET Core minimal APIs.
WebApiDemo showcases the development of a RESTful API using ASP.NET Core minimal APIs. The repository includes project WebApiDemo
, illustrating the implementation of CRUD operations for managing user data. Additionally, the project includes an .http
file for testing the API endpoints directly within Visual Studio.
- WebApiDemo: Implements the minimal API for handling CRUD operations.
- WebApiDemo.http: Provides a file for testing API endpoints using the Visual Studio .http file editor.
The solution is organized into two main projects:
- WebApiDemo: Implements the minimal API for handling CRUD operations.
To run the project locally on your machine, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/WebApiDemo.git
- Navigate to the project directory:
cd WebApiDemo
- Restore the NuGet packages:
dotnet restore
- Run the application:
dotnet run
Contributions are welcome! If you'd like to improve this project, open a pull request or report an issue.
This project is licensed under the MIT License.