Intro to Web API in .NET 6 - Including Minimal APIs, Swagger, and more

Intro to Web API in .NET 6 - Including Minimal APIs, Swagger, and more

211.932 Lượt nghe
Intro to Web API in .NET 6 - Including Minimal APIs, Swagger, and more
The API project type is one of the most powerful web project types in .NET. Instead of relying on a person to interact with it graphically, the API project type can be interacted with from other applications or directly from a person. This allows the API project type to support microservices, client-side projects like Blazor WebAssembly, mobile application types, and even "regular" projects like WPF or Blazor Server. In this video, we will look at what an API is, what comes out of the box, and how it operates. We will also compare minimal APIs to "regular" APIs. Full Training Courses: https://IAmTimCorey.com Source Code: https://leadmagnets.app/?Resource=IntroToWebAPI Mailing List: https://signup.iamtimcorey.com/ 0:00 - Intro 1:20 - Creating ASP. NET Core Web API project 5:57 - Default API application overview 11:22 - What is API 15:20 - API web app code review 25:06 - Creating API controller 30:56 - REST API 33:19 - Minimal API application 36:42 - Why the minimal API 42:59 - Best practices, summary, and final remarks