0

I want my URLs use '-' but the C# method name cannot contains that character. How do I make this route?

Cadina
  • 53
  • 4

1 Answers1

0

You would need to define a new route handler which handles the hyphens before the controller and action elements are mapped to class and methods. Check out this StackOverflow question

Community
  • 1
  • 1
Matthew Abbott
  • 60,571
  • 9
  • 104
  • 129