Replace Dispatcher in Web Host Scenarios
Enable the ability to replace the http controller dispatcher in asp.net web host scenarios; In the beta, it is not possible.
I would like to still leverage the http handler functionality, but I want the ability to replace the dispatcher with my own dispatcher.
For example, we could replace the existing controller dispatcher with the the GlobalConfiguration.Dispatcher propoerty. Today, it is statically typed to HttpControllerDispatcher and is read-only, but you could see a scenario where this could be typed to HttpMessageHandler and writable to the user.
When you configure your Web API routes you can specify a message handler for that route in the MapHttpRoute extension method.