Visual Studio 2022 has a new feature that lets us easily find and test API endpoints. We can now test endpoints directly in Visual Studio.
After opening a project, you can navigate to View -> Other windows -> Endpoints Explorer

This will automatically detect your endpoints that use the attribute [ApiController], and you will have a general view of the project.

You can also use click-right over and endpoint and select "Generate Request" to test the request.
Note. Your project should be running to use this functionality.

It will be easy to navigate between endpoints and understand a project for new developers.

Rohit GuptaPosted Jun 1, 2023, 7:30 AM
Hey, great article. Can you please let me know which version of VS 2022 you are using? As I am using 17.5.5, and I am not able to find it.