This is a simple and modular .NET Aspire Web API project designed to manage Users and their associated Tasks. Built using .NET Aspire’s application model, it serves as a base template for testing features, building proof-of-concepts (POCs), or experimenting with modern cloud-native patterns in a clean, structured environment.
- .NET 9 SDK
- SQL Server Database
- Clone this repository:
git clone https://github.com/steverzag/user-tasks.git cd <repository-folder>
- Restore dependencies:
dotnet restore
- Build the application:
dotnet build
- Apply Database Migrations:
dotnet ef database update --project ./UsersTasks/UsersTasks.API.csprojMake sure you have the EF Core tools installed globally:
dotnet tool install --global dotnet-efTo run the application locally:
dotnet run --project ./UsersTasks/UsersTasks.API.csprojOr to run the application using Aspire
dotnet run --project ./UsersTasks.AppHost/UsersTasks.AppHost.csproj
By default, the application will be available at http://localhost:5000 (or https://localhost:5001 for HTTPS).
The application exposes the endpoints that allows to create or modify users and tasks. Check ./UserTasks.http file for detailed information.