I have a custom handler I've written that executes a custom action based on a parameter, for example:
/action/option1
would execute the action handler with option1. I can have any number of options for the parameter...
however this action is a custom handler, NOT an mvc controller, because I'm returning a plain text (possibly moving to a json response in the future) not an html page.
how can I route urls of that format to run through the custom handler, passing the option as a parameter? I though of using the iis7 url rewrite, which sounds ideal but I didn't know if there was a better option...
thanks!