YoVDO

Learn Minimal APIs in .NET 7

Offered By: freeCodeCamp

Tags

.NET Courses C# Courses API Development Courses Dependency Injection Courses Swagger Courses

Course Description

Overview

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

Related Courses

Introduction to Functional Programming
Delft University of Technology via edX
MongoDB for .NET Developers
MongoDB University
基于.Net的Web开发技术
Xi'an Jiaotong University via Coursera
Web Development with ASP.NET C# and Entity Framework Code-First
Canvas Network
Blazor and JavaScript Interoperability
Coursera Project Network via Coursera