3

The question is quite straightforward:

When we mention about implementing a custom Route Handler, when to derive from Route, and when from RouteBase ?

Some possible scenarios:

  1. SubdomainRouting
  2. Include localization in URL
  3. Custom GetVirtualPath for correct URL generation
  4. Custom Constraints
Gaurav
  • 8,367
  • 14
  • 55
  • 90
Cristian E.
  • 3,116
  • 7
  • 31
  • 61

1 Answers1

0

If you can do your redirection with what already exist from Route, select Route, if it's too complicated and need very special redirection code you can start from the Abstract RouteBase class.

Zyo
  • 1,934
  • 21
  • 25