Home / Phase 1 · Foundations / Week 5
Phase 1 · Foundations / WEEK 05 OF 26 ASP.NET Core APIs Learn how to build professional REST APIs using ASP.NET Core. By the end of the week, you'll create and document APIs that are ready to host AI capabilities in later weeks.
WEEKLY PROGRESS 0 / 7
0% complete
YOUR WEEKLY PLAN
The daily plan 7 days · self-paced
Focus What is a REST API? API Request / Response lifecycle Controller-based architecture ASP.NET Core project structure Exercise dotnet new webapi -n Week5-WebApi Deliverable Web API project created Application runs locally
Focus Controller classes HTTP methods Route attributes API endpoints Coding Exercise BooksController GET /booksGET /books/{id}Deliverable First custom controller Two working endpoints
Focus POST requestsPUT requestsDELETE requestsResource updates Exercise POST /booksPUT /books/{id}DELETE /books/{id}
Focus IActionResult ActionResult<T> Status codes Error responses Exercise NotFound() BadRequest() CreatedAtAction() Deliverable Proper HTTP responses Error handling
Focus OpenAPI API documentation Endpoint testing API discoverability Deliverable Fully documented API Screenshots for README
Required Endpoints POST /api/promptsGET /api/prompts/historyFocus API design Clean architecture Models Controllers Validation Stretch Goals Prompt history storage Logging Request tracking
Architecture Diagram Client ↓ API ↓ Controller ↓ Service ↓ Data Store Review Questions 1. What is REST? 2. What is the role of a controller? 3. What is the difference between GET and POST? 4. Why is Swagger useful? 5. How would an AI model fit into this architecture? Weekly Deliverables ASP.NET Core Web API BooksController CRUD Operations Swagger Documentation Prompt Completion API Updated GitHub Repository
WEEK 05 OUTCOMES Success criteria Track the skills and outcomes this week is designed to build.
WEEK 05 CHECKPOINT Milestones Mark the portfolio artifacts and deliverables you’ve completed.
YOUR WORKSPACE Week notes Capture questions, decisions, or next steps as you work.
Saved in this browser
Weekly activities adapted from the Week 5 workbook. Learning resource links open in a new tab.