ASP.NET Main apps can mix the use of standard routing and attribute routing. It is really typical to implement traditional routes for controllers serving HTML webpages for browsers, and attribute routing for controllers serving REST APIs. The id while in the preceding code is described as optional by the route https://paysameonetodoaspnethomew58535.bloggactivo.com/28243093/the-best-side-of-asp-net-homework-help