Coding Shorts: .http files Can Make Writing .NET APIs That Much Easier

Опубликовано: 16 Ноябрь 2024
на канале: Shawn Wildermuth
3,386
245

There are so many tools for executing HTTP requests for debugging of APIs, but I'd like to introduce you to a new one. The REST Client plugin for VSCode (and the same functionality in Visual Studio 2022 Preview 1 and later) both let you quickly just have a text file that contains requests. I like this approach as I can design my API and then have a punch list for API calls that I've implemented. Let me show you how it works.

You can hire me too! You can reach me at my new website:
https://shawn.wildermuth.com

00:00 Introduction
00:39 The Problem
01:32 .http Files
02:44 Multiple Requests
04:44 Using Variables
05:52 VSCode Plugin
06:30 Visual Studio Preview
07:13 Debugging Requests
08:27 Wrapping Up

The source code for this is at:

https://github.com/shawnwildermuth/co...

If you like this video, you might like other videos in my Instructional Videos:
   • Instructional Videos