Learn how to build Minimal APIs in .NET 7 with hands-on course. By the end of the course, you will be able to build well-constructed Minimal API Endpoints using C#, .NET7, and Swagger.
? Code: https://github.com/bhrugen/MinimalAPIDemo_Coupon
?? Course created by @DotNetMastery
Advance Minimal API Course : https://www.dotnetmastery.com/Home/Details?courseId=27
?? Contents ??
?? (0:00:00) Introduction
?? (0:01:30) Topics Covered
?? (0:02:47) Why Minimal API?
?? (0:06:07) Create Project
?? (0:07:57) Comparing Files Minimal vs Standard
?? (0:11:05) Program file changes
?? (0:13:50) Clean Program class file
?? (0:16:02) API Basics
?? (0:16:44) What is API?
?? (0:21:11) Request and response
?? (0:25:59) Request Object
?? (0:30:12) Response Object
?? (0:35:36) httpverb
?? (0:40:38) Create First Endpoint
?? (0:43:43) Return Types
?? (0:46:15) Route Parameters
?? (0:48:29) Create Coupon Model and Coupon Store
?? (0:51:38) Get All Endpoint
?? (0:53:09) Get Individual Coupon
?? (0:55:19) Create Coupon
?? (0:59:53) Name Endpoints
?? (1:03:17) Products and Accepts in Minimal API
?? (1:06:58) Dependency Injection in Minimal API
?? (1:10:25) Add DTOs
?? (1:13:56) AutoMapper and Dependency Injection
?? (1:18:32) Fluent Validators
?? (1:24:07) Async Endpoints
?? (1:26:11) API Response
?? (1:32:57) Assignment – Put and Delete
?? (1:33:49) Assignment Solution – Put and Delete Endpoints
? Thanks to our Champion and Sponsor supporters:
? Nattira Maneerat
? Heather Wcislo
? Serhiy Kalinets
? Erdeniz Unvan
? Justin Hual
? Agustín Kussrow
? Otis Morgan
—
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news