According to the official Microsoft documentation available at https://docs.microsoft.com/aspnet/core/fundamentals/routing, the following definition is given for routing:
In controller-based web APIs, routing is defined via the
UseEndpoints() method in
Startup.cs or using data annotations such as
HttpDelete right over the action methods.
As mentioned in Chapter 1, Introduction to Minimal APIs in minimal APIs, we define the...