Web API Endpoints Explorer
Web API Endpoints Explorer is a VS tool that allows interaction with API projects based on ASP.NET Core. For this demonstration, from the resources you downloaded in the Technical requirements section, you have available a project named Chapter6_Code_API
to which I have added several endpoints.
Once you have opened the project, you can test the endpoints explorer through View | Other Windows | Endpoints Explorer, which will display a new window called Endpoints Explorer, as you can see in Figure 6.26:
Figure 6.26 – The Endpoints Explorer window
The Endpoints Explorer displays all the endpoints it has found in your project, as well as the type of HTTP method and its path. If you right-click on one of the endpoints, you will be presented with two options:
- Open in the Editor: This action will open the controller where the endpoint is specified
- Generate Request: This action will generate an
http
file and add...