Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

Closed Issue: Allow the definition of the "dispatcher" HttpMessageHandler on the configuration [126]

$
0
0
Currently, on web api, the dispatcher/final message handler can be defined by passing it to the HttpServer ctor.
IMHO, it makes more sense to define this information on the configuration (instead of passing it directly to the HttpServer), namely because:

1) Everything else is defined via configuration
2) The presence of this information on the configuration allows its usage by configuration extensions, namely one to create per-route pipelines that always end on this common message handler
Comments: Dispatcher is being used by the HttpServer, so it is better to have it associated with httpconfiguration.

Viewing all articles
Browse latest Browse all 7925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>