concept http verb in category asp.net

This is an excerpt from Manning's book ASP.NET Core in Action, Second Edition.
Page handlers are typically named by convention, based on the HTTP verb that they respond to. They return either
void, indicating that the Razor Page’s template should be rendered, or anIActionResultwhich contains other instructions for generating the response, redirecting the user to a different page, for example.
The
EndpointMiddlewareuses the handler route value and the HTTP verb together with a standard naming convention to identify which page handler to execute, as shown in figure 5.11. The handler parameter is optional, and typically provided as part of the request’s query string or as a route parameter, as described above. The async suffix is also optional and is often used when the handler uses asynchronous programming constructs such asTaskorasync/await[6].Figure 5.11 Razor Page handlers are matched to a request based on the HTTP verb and the optional handler parameter.
![]()