Language

System.Web.Http.Dispatcher Namespace

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

Classes

Class Description
DefaultAssembliesResolver Provides an implementation of IAssembliesResolver with no external dependencies.
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.
DefaultHttpControllerSelector Represents a default IHttpControllerSelector instance for choosing a HttpControllerDescriptor given a HttpRequestMessage. A different implementation can be registered via the Services.
DefaultHttpControllerTypeResolver Provides an implementation of IHttpControllerTypeResolver with no external dependencies.
HttpControllerDispatcher Dispatches an incoming HttpRequestMessage to an IHttpController implementation for processing.
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
IAssembliesResolver Provides an abstraction for managing the assemblies of an application. A different implementation can be registered via the DependencyResolver.
IHttpControllerActivator Defines the methods that are required for an IHttpControllerActivator.
IHttpControllerSelector Defines the methods that are required for an IHttpController factory.
IHttpControllerTypeResolver Provides an abstraction for managing the controller types of an application. A different implementation can be registered via the DependencyResolver.