0% found this document useful (0 votes)
89 views17 pages

Event Driven Programming - Lab 01

This document discusses building a TODO API using .NET 6 and a microservice architecture. It outlines creating a new .NET 6 Web API project in Visual Studio Code or Visual Studio, developing an API with actions to get, add, update, and delete TODO items that have an ID, task, completion status, and user ID, and adding a new controller. The TODO items will be stored in a database.

Uploaded by

Ebisa Dugo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
89 views17 pages

Event Driven Programming - Lab 01

This document discusses building a TODO API using .NET 6 and a microservice architecture. It outlines creating a new .NET 6 Web API project in Visual Studio Code or Visual Studio, developing an API with actions to get, add, update, and delete TODO items that have an ID, task, completion status, and user ID, and adding a new controller. The TODO items will be stored in a database.

Uploaded by

Ebisa Dugo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 17

Event Driven Programming

Lab 01
Microservice Architecture
Client Server Database
.NET 6 Web API
VS Code

dotnet new webapi -o appName


Visual Studio
Visual Studio
VS Code

dotnet new webapi -o appName


TODO API
Actions

Get all todos


Get todo item by id
Get todo items by user
Add todo item
Update todo item by id
Delete todo item by id
Actions

Get all todos


Get todo item by id
Get todo items by user
Add todo item
Update todo item by id
Delete todo item by id
TODO
ITEM MODEL-

Id

Task

Completed

userId
Add new Controller
Add new Controller

You might also like