Endpoints Explorer in Visual Studio 2022

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

Endpoints Explorer

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

Endpoints Explorer

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.


Similar Articles