Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Learn Minimal APIs in .NET 7

via freeCodeCamp

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive tutorial on building Minimal APIs in .NET 7 through hands-on coding exercises. Master the creation of well-constructed Minimal API Endpoints using C#, .NET 7, and Swagger. Explore key concepts including API basics, request and response handling, endpoint creation, route parameters, dependency injection, DTOs, AutoMapper, Fluent Validators, and asynchronous programming. Follow along with step-by-step instructions, from project setup to implementing CRUD operations for a Coupon model. Gain practical experience by completing assignments on PUT and DELETE endpoints. Access the accompanying GitHub repository for reference code and enhance your skills in modern .NET development.

Syllabus

⌨️ Introduction
⌨️ Topics Covered
⌨️ Why Minimal API?
⌨️ Create Project
⌨️ Comparing Files Minimal vs Standard
⌨️ Program file changes
⌨️ Clean Program class file
⌨️ API Basics
⌨️ What is API?
⌨️ Request and response
⌨️ Request Object
⌨️ Response Object
⌨️ httpverb
⌨️ Create First Endpoint
⌨️ Return Types
⌨️ Route Parameters
⌨️ Create Coupon Model and Coupon Store
⌨️ Get All Endpoint
⌨️ Get Individual Coupon
⌨️ Create Coupon
⌨️ Name Endpoints
⌨️ Products and Accepts in Minimal API
⌨️ Dependency Injection in Minimal API
⌨️ Add DTOs
⌨️ AutoMapper and Dependency Injection
⌨️ Fluent Validators
⌨️ Async Endpoints
⌨️ API Response
⌨️ Assignment - Put and Delete
⌨️ Assignment Solution - Put and Delete Endpoints

Taught by

freeCodeCamp.org

Reviews

Start your review of Learn Minimal APIs in .NET 7

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.