WebAPI Improvements in .NET 5 - OpenAPI, Better F5, and NSwag

Описание к видео WebAPI Improvements in .NET 5 - OpenAPI, Better F5, and NSwag

In .NET 5, WebAPI has an important quality of life upgrade. In this video, we are going to look at the integration of OpenAPI into the project, how it works, and then why it is so important. We will also look briefly at NSwag and how to use it to generate API clients for our other applications using OpenAPI.

Source Code: https://leadmagnets.app/?Resource=Web...

Mailing List: https://signup.iamtimcorey.com/
Purchase courses: https://www.iamtimcorey.com

0:00 - Intro
0:56 - OpenAPI: Building ASP .NET Core Web API app
3:53 - Demo App overview: configuration
8:13 - Demo App overview: OpenAPI with Swagger
14:07 - swagger.json
15:48 - Using swagger.json in Blazor Web Assembly App:
18:35 - • Connected services: Swagger Client
21:28 - • Connecting to OpenAPI
27:29 - • CORS policy exception explained
30:00 - • OpenAPI: Add CORS
33:59 - NSwag generated code
37:01 - Connecting to OpenAPi from console app
43:32 - Note on HttpClienet
44:38 - Summary and concluding remarks

Thanks to Ralfs HBK for the chapter breakdown

Комментарии

Информация по комментариям в разработке