System.Web.Http.Dispatcher Namespace

The System.Web.Http.Dispatcher namespace contains classes related to action dispatcher.

Classes

  Class Description
Public class DefaultAssembliesResolver Provides an implementation of IAssembliesResolver with no external dependencies.
Public class DefaultHttpControllerActivator Represents a default implementation of an IHttpControllerActivator. A different implementation can be registered via the DependencyResolver. We optimize for the case where we have an ApiControllerActionInvoker instance per HttpControllerDescriptor instance but can support cases where there are many HttpControllerDescriptor instances for one ApiControllerActionInvoker as well. In the latter case the lookup is slightly slower because it goes through the Properties() dictionary.
Public class DefaultHttpControllerSelector Represents a default IHttpControllerSelector instance for choosing a HttpControllerDescriptor given a HttpRequestMessage. A different implementation can be registered via the Services.
Public class DefaultHttpControllerTypeResolver Provides an implementation of IHttpControllerTypeResolver with no external dependencies.
Public class HttpControllerDispatcher Dispatches an incoming HttpRequestMessage to an IHttpController implementation for processing.
Public class HttpRoutingDispatcher This class is the default endpoint message handler which examines the IHttpRoute of the matched route, and chooses which message handler to call. If Handler is null, then it delegates to HttpControllerDispatcher.

Interfaces

  Interface Description
Public interface IAssembliesResolver Provides an abstraction for managing the assemblies of an application. A different implementation can be registered via the DependencyResolver.
Public interface IHttpControllerActivator Defines the methods that are required for an IHttpControllerActivator.
Public interface IHttpControllerSelector Defines the methods that are required for an IHttpController factory.
Public interface IHttpControllerTypeResolver Provides an abstraction for managing the controller types of an application. A different implementation can be registered via the DependencyResolver.