I am trying to create an endpoint for something like this: https://www.example.com/hyphen-param?id=123
I've tried using MapHttpRoute
MapPageRoute
[Route("hyphen-param", HttpVerbs.Get)]
[RoutePrefix("{hyphen-param}")]
I need the Class name to have a hyphen not just a route within the class.
Nothing has worked so far, any insight would be appreciated. Thanks!