An ASP.NET Core REST API application to illustrate the use of Minimal APIs.
The API supports both GET and POST requests to generate personalized greetings based on a developer's first and last names.
- GET /greetings: Retrieve a greeting with optional
firstNameandlastNamequery parameters. - POST /greetings: Create a greeting with a JSON request body containing
firstNameandlastName.
The user stories for this project can be found in the docs/user-stories.md document.
The class diagram for this project can be found in the docs/class-diagram.puml document.
The following diagram shows the class hierarchy for the application:
- .NET 9 SDK
- Swashbuckle.AspNetCore (for API documentation)
-
Clone the repository:
git clone <repository-url> cd hello-asp-net-developer
-
Restore dependencies:
dotnet restore
-
Run the application:
dotnet run