Microsoft.AspNetCore.Routing.RoutePatternException – Invalid route pattern
The Microsoft.AspNetCore.Routing.RoutePatternException with the message “Invalid route pattern” occurs in ASP.NET Core when the route pattern defined in your application is not valid. This typically happens due to syntax errors,….