10
Vote

Make the ApiControllerActionSelector more extensible

description

The goal is to have the default action selector (ApiControllerActionSelector) expose some hooks or properties so that it's easier to customize.

comments

HongmeiG wrote Aug 11, 2012 at 12:52 AM

Yes, we should provide a list of potential matched actions, and let the user to further pruning the list.

tugberk wrote Sep 30, 2012 at 9:50 PM

Can u guys also add a virtual method to return a collection of the parameters that action selector would consider when it does the parameter match as discussed here: http://aspnetwebstack.codeplex.com/SourceControl/network/forks/tugberk/aspnetwebstack/contribution/3338

roncain wrote Jan 7 at 7:04 PM

The API changes should be public and common to all implementations of the action selector, not just the default. This will allow custom action selectors to expose their decisions. It will also allow the tracer for the action selector to report those decisions, even if the selector has been replaced by the developer.

pakming wrote Mar 12 at 8:45 AM

Please also make DefaultHttpControllerSelector more extensible, for the similar reason.

ghstahl wrote May 23 at 6:07 PM

A yes vote from me.