System.Web.Http
Initializes a new instance of the class.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Actions and controllers marked with this attribute are skipped by during authorization.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets the <see name="HttpConfiguration" /> of the current ApiController. The setter is not intended to be used other than for unit testing purpose.
Gets model state after the model binding process. This ModelState will be empty before model binding happens. Please do not populate this property other than for unit testing purpose.
Gets the <see name="HttpRequestMessage" /> of the current ApiController. The setter is not intended to be used other than for unit testing purpose.
An authorization filter that verifies the request's .
Initializes a new instance of the class.
Processes requests that fail authorization. This default implementation creates a new response with the Unauthorized status code. Override this method to provide your own handling for unauthorized requests.
The context.
Called when an action is being authorized. This method uses the user returned via . Authorization is denied if - the request is not associated with any user. - the user is not authenticated, - the user is authenticated but is not in the authorized group of (if defined), or if the user is not in any of the authorized (if defined). If authorization is denied then this method will invoke to process the unauthorized request.
The context.
The context parameter is null.
Gets or sets the authorized roles.
The roles string.
Gets a unique identifier for this .
Gets or sets the authorized users.
The users string.
This provides a centralized list of type-safe accessors describing where and how we use the dependency resolver.
Controller activator is used to instantiate an .
An instance or null if none are registered.
Get a controller factory, which instantiates a string name into an . This may be implemented by first getting the from the controller name, and then using a .
Gets a service.
An instance or null if none found.
Get ValueProviderFactories. The order of returned providers is the priority order that we search the factories.
Extension methods for <see cref="T:System.Collections.Generic.IDictionary`2" />.
Gets the value of <typeparamref name="T" /> associated with the specified key or throw an if either the key is not present or the value is not of type <typeparamref name="T" />.
The <see cref="T:System.Collections.Generic.IDictionary`2" /> instance where TValue is object.
The key whose value to get.
Gets the value of <typeparamref name="T" /> associated with the specified key or default value if either the key is not present or the value is not of type <typeparamref name="T" />.
true if key was found, value is non-null, and value is of type <typeparamref name="T" />; otherwise false.
The <see cref="T:System.Collections.Generic.IDictionary`2" /> instance where TValue is object.
The key whose value to get.
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter.
The type of the value associated with the specified key.
This attribute is used on action parameters to indicate they come only from the content body of the incoming .
Initializes a new instance of the class.
This attribute is used on action parameters to indicate they come only from the of the incoming .
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Configuration of instances.
Initializes a new instance of the class.
Initializes a new instance of the class.
The to associate with this instance.
Gets the list of global filters.
Gets the media type formatters.
Gets or sets a value indicating whether error details should be included in error messages.
Gets an ordered list of instances to be invoked as an travels up the stack and an travels down in stack in return. The handlers are invoked in a bottom-up fashion in the incoming path and top-down in the outgoing path. That is, the last entry is called first for an incoming request message but invoked last for an outgoing response message.
The message handler collection.
Gets the properties associated with this instance.
Gets the associated with this instance.
Gets the used to resolve services to use by this .
Gets the root virtual path. The property always returns "/" as the first character of the returned value.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Provides extension methods for the class.
Gets the for the given request.
The .
The HTTP request.
Gets the for the given request or null if not available.
The or null.
The HTTP request.
Gets the for the given request or null if not available.
The or null.
The HTTP request.
Gets the for the given request or null if not available.
The or null.
The HTTP request.
An exception that allows for a given to be returned to the client.
Initializes a new instance of the class.
Initializes a new instance of the class.
The response message.
Initializes a new instance of the class.
The status code to use with the .
Initializes a new instance of the class.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class.
The message that describes the error.
Initializes a new instance of the class.
The message that describes the error.
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Initializes a new instance of the class.
The message that describes the error.
The status code to use with the .
Gets the to return to the client.
Initializes a new instance of the class with a value of "/".
Initializes a new instance of the class.
Gets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Extension methods for
Maps the specified route template and sets default constraints.
A reference to the mapped route.
A collection of routes for the application.
The name of the route to map.
The route template for the route.
An object that contains default route values.
Maps the specified route template and sets default route values and constraints.
A reference to the mapped route.
A collection of routes for the application.
The name of the route to map.
The route template for the route.
An object that contains default route values.
A set of expressions that specify values for routeTemplate.
Defines an implementation of an which dispatches an incoming and creates an as a result.
Initializes a new instance of the class with default configuration and dispatcher.
Initializes a new instance of the class with default dispatcher.
Http dispatcher responsible for handling incoming requests.
Initializes a new instance of the class with default dispatcher.
The used to configure this instance.
Initializes a new instance of the class.
The used to configure this instance.
Http dispatcher responsible for handling incoming requests.
Gets the .
Gets the dispatcher.
Releases unmanaged and - optionally - managed resources
true to release both managed and unmanaged resources; false to release only unmanaged SRResources.
Enum to indicate whether error details, such as exception messages and stack traces, should be included in error messages.
Only include error details when responding to a local request.
Always include error details.
Never include error details.
Initializes a new instance of the class.
This result filter indicates that the results returned from an action should be limited to the specified ResultLimit.
Initializes a new instance of the class.
Gets {insert text here}.
Initializes a new instance of the class.
Reflection based action selector. We optimize for the case where we have an instance per instance but can support cases where there are many instances for one as well. In the latter case the lookup is slightly slower because it goes through the dictionary.
Initializes a new instance of the class.
Contains information for the executing action.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Extension methods for .
Gets the for this .
The .
The execution context.
The binding context.
Gets the instance for a given .
An instance.
The context.
Gets the collection of registered instances.
A collection of instances.
The context.
Gets the collection of registered instances.
A collection of registered instances.
The context.
The metadata.
Gets the for this .
true if was present; otherwise false.
The action context.
The binding context.
When this method returns, the value associated with the specified binding context, if the context is found; otherwise, the default value for the type of the value parameter.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Executes the described action.
The return value of the action.
The context.
The arguments.
Returns the filters for the given configuration and action. The filter collection is ordered according to the FilterScope (in order from least specific to most specific: First, Global, Controller, Action). If a given filter disallows duplicates (AllowMultiple=False) then the most specific filter is maintained and less specific filters get removed (e.g. if there is a Authorize filter with a Controller scope and another one with an Action scope then the one with the Action scope will be maintained and the one with the Controller scope will be discarded).
A <see cref="T:System.Collections.ObjectModel.Collection`1" /> of all filters associated with this .
Gets the properties associated with this instance.
Gets {insert text here}.
Provides a mechanism for a implementation to indicate what kind of , , and to use for that controller. The types are first looked up in the and if not found there then created directly.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Contains information for a single HTTP operation.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets the HTTP controller.
The HTTP controller.
Gets or sets the controller descriptor.
The controller descriptor.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets the properties associated with this instance.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Gets the properties associated with this instance.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Default implementation of an . A different implementation can be registered via the . We optimize for the case where we have an instance per instance but can support cases where there are many instances for one as well. In the latter case the lookup is slightly slower because it goes through the dictionary.
Initializes a new instance of the class.
Creates the specified by controllerType using the given controllerContext
An instance of type controllerType.
The controller context.
Type of the controller.
Default instance creating new instances. A different implementation can be registered via the .
Initializes a new instance of the class.
The configuration.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Dispatches an incoming to an implementation for processing.
Initializes a new instance of the class using default .
Initializes a new instance of the class.
Gets the .
Releases unmanaged and - optionally - managed resources
true to release both managed and unmanaged resources; false to release only unmanaged SRResources.
Provides an abstraction for managing the compilation of an application. A different implementation can be registered via the .
Creates a cached file.
The object for the new file.
Name of the file.
Gets an object factory for the specified virtual path.
true if file exists; otherwise false.
The virtual path.
Compiles a file, given its virtual path, and returns the compiled type.
The compiled .
The virtual path.
Returns a list of assembly references that all page compilations must reference.
An of assembly references.
Reads a cached file.
The object for the file, or null if the file does not exist.
Name of the file.
Defines the methods that are required for an .
Defines the methods that are required for an factory.
Creates the using the specified context and controller name.
An instance.
The controller context.
Name of the controller.
Releases an instance.
The controller.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Gets {insert text here}.
Initializes a new instance of the class.
Gets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets {insert text here}.
Provides common keys for properties stored in the
Provides a key for the associated with this request.
Provides a key for the associated with this request.
Provides a key for the current stored in . If is null then no context is stored.
Provides a key for the current stored in .
Initializes a new instance of the class.
Gets {insert text here}.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
This class associates a with its corresponding and necessary to perform model binding.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Asks how the request content should be read for the given .
A value indicating how the request content body should be read.
The for the action to be invoked.
Initializes a new instance of the class.
Sets the type of the model binder. This type must be either a subclass of or any type with a parameterless constructor that implements /
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Enum to indicate how the request body content should be (or was) read.
Do not read the request content.
Read the request content as key/value pairs.
Read the request content as a single object of a specific type.
Read the request content as key/value pairs if the formatter supports it, otherwise read as a single object.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
This class provides an that can bind to
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
This class is an that delegates to one of a collection of instances.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
This class is an that validates the current model instance in the . It is meant to be used for model validation whenever the normal name/value model validation is not available.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Route class for self-host (i.e. hosted outside of ASP.NET). This class is mostly the same as the System.Web.Routing.Route implementation. This class has the same URL matching functionality as System.Web.Routing.Route. However, in order for this route to match when generating URLs, a special "httproute" key must be specified when generating the URL.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Attempt to generate a URI that represents the values passed in based on current values from the and new values using the specified .
A instance or null if URI cannot be generated.
The HTTP execution context.
The route values.
Gets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets {insert text here}.
Gets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
defines the interface for a route expressing how to map an incoming to a particular controller and action.
Gets the constraints for the route parameters.
Gets any additional data tokens not used directly to determine whether a route matches an incoming .
Gets the default values for route parameters if not provided by the incoming .
Determine whether this route is a match for the incoming request by looking up the <see cref="!:IRouteData" /> for the route.
The <see cref="!:RouteData" /> for a route if matches; otherwise null.
The virtual path root.
The request.
Compute a URI based on the route and the values provided.
The controller context.
The values.
Gets the route template describing the URI pattern to match against.
Gets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Try to get a service of the given type.
an instance of the service, or null if the service is not found
Type of service to request.
Try to get a list of services of the given type.
an enumeration (possibly empty) of the service. Return an empty enumeration is the service is not found (don't return null)
Type of services to request.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
An implementation of which providers validators for attributes which derive from . It also provides a validator for types which implement . To support client side validation, you can either register adapters through the static methods on this class, or by having your validation attributes implement . The logic to support IClientValidatable is implemented in .
Initializes a new instance of the class.
Gets or sets {insert text here}.
Registers the default adapter type for objects which implement . The adapter type must derive from and it must contain a public constructor which takes two parameters of types and .
Registers the default adapter factory for objects which implement .
Registers an adapter type for the given modelType, which must implement . The adapter type must derive from and it must contain a public constructor which takes two parameters of types and .
Registers an adapter factory for the given modelType, which must implement .
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets {insert text here}.
Gets {insert text here}.
Initializes a new instance of the class.
Gets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
This attribute is used optionally to assign a prefix to an action parameter to be used during model binding.
Initializes a new instance of the class.
Gets or sets the name to consider as the parameter name during model binding
This attribute is used to specify a custom .
Initializes a new instance of the class.
Gets or sets the type of the .
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Gets or sets {insert text here}.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
This class provides a facade over a instance.
Creates a new instance of the class.
The inner to use. It may be null.
The culture to use. It cannot be null.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.