Microsoft.AspNetCore.Mvc.Core Pretty print a type name. The . true to print a fully qualified name. true to include generic parameter names. The pretty printed type name. Helper code used when implementing authentication middleware Add all ClaimsIdentities from an additional ClaimPrincipal to the ClaimsPrincipal Merges a new claims principal, placing all new identities first, and eliminating any empty unauthenticated identities from context.User The containing existing . The containing to be added. Initializes a fast . This constructor does not cache the helper. For caching, use . Gets the backing . Gets (or sets in derived types) the property name. Gets the property value getter. Gets the property value setter. Returns the property value for the specified . The object whose property value will be returned. The property value. Sets the property value for the specified . The object whose property value will be set. The property value. Creates and caches fast property helpers that expose getters for every public get property on the underlying type. The type info to extract property accessors for. A cached array of all public properties of the specified type. Creates and caches fast property helpers that expose getters for every public get property on the specified type. The type to extract property accessors for. A cached array of all public properties of the specified type. Creates and caches fast property helpers that expose getters for every non-hidden get property on the specified type. excludes properties defined on base types that have been hidden by definitions using the new keyword. The type info to extract property accessors for. A cached array of all public properties of the specified type. Creates and caches fast property helpers that expose getters for every non-hidden get property on the specified type. excludes properties defined on base types that have been hidden by definitions using the new keyword. The type to extract property accessors for. A cached array of all public properties of the specified type. Creates a single fast property getter. The result is not cached. propertyInfo to extract the getter for. a fast getter. This method is more memory efficient than a dynamically compiled lambda, and about the same speed. Creates a single fast property getter which is safe for a null input object. The result is not cached. propertyInfo to extract the getter for. a fast getter. This method is more memory efficient than a dynamically compiled lambda, and about the same speed. Creates a single fast property setter for reference types. The result is not cached. propertyInfo to extract the setter for. a fast getter. This method is more memory efficient than a dynamically compiled lambda, and about the same speed. This only works for reference types. Given an object, adds each instance property with a public get method as a key and its associated value to a dictionary. If the object is already an instance, then a copy is returned. The implementation of PropertyHelper will cache the property accessors per-type. This is faster when the same type is used multiple times with ObjectToDictionary. Executes the configured method on . This can be used whether or not the configured method is asynchronous. Even if the target method is asynchronous, it's desirable to invoke it using Execute rather than ExecuteAsync if you know at compile time what the return type is, because then you can directly "await" that value (via a cast), and then the generated code will be able to reference the resulting awaitable as a value-typed variable. If you use ExecuteAsync instead, the generated code will have to treat the resulting awaitable as a boxed object, because it doesn't know at compile time what type it would be. The object whose method is to be executed. Parameters to pass to the method. The method return value. Executes the configured method on . This can only be used if the configured method is asynchronous. If you don't know at compile time the type of the method's returned awaitable, you can use ExecuteAsync, which supplies an awaitable-of-object. This always works, but can incur several extra heap allocations as compared with using Execute and then using "await" on the result value typecasted to the known awaitable type. The possible extra heap allocations are for: 1. The custom awaitable (though usually there's a heap allocation for this anyway, since normally it's a reference type, and you normally create a new instance per call). 2. The custom awaiter (whether or not it's a value type, since if it's not, you need a new instance of it, and if it is, it will have to be boxed so the calling code can reference it as an object). 3. The async result value, if it's a value type (it has to be boxed as an object, since the calling code doesn't know what type it's going to be). The object whose method is to be executed. Parameters to pass to the method. An object that you can "await" to get the method return value. Provides a common awaitable structure that can return, regardless of whether the underlying value is a System.Task, an FSharpAsync, or an application-defined custom awaitable. Helper for detecting whether a given type is FSharpAsync`1, and if so, supplying an for mapping instances of that type to a C# awaitable. The main design goal here is to avoid taking a compile-time dependency on FSharp.Core.dll, because non-F# applications wouldn't use it. So all the references to FSharp types have to be constructed dynamically at runtime. Helper related to generic interface definitions and implementing classes. Determine whether is or implements a closed generic created from . The of interest. The open generic to match. Usually an interface. The closed generic created from that is or implements. null if the two s have no such relationship. This method will return if is typeof(KeyValuePair{,}), and is typeof(KeyValuePair{string, object}). Contains the extension methods for . Removes all application model conventions of the specified type. The list of s. The type to remove. Removes all application model conventions of the specified type. The list of s. The type to remove. Adds a to all the controllers in the application. The list of in . The which needs to be added. Adds a to all the actions in the application. The list of in . The which needs to be added. Adds a to all the parameters in the application. The list of in . The which needs to be added. Adds a to all properties and parameters in the application. The list of in . The which needs to be added. An interface for configuring MVC services. Gets the where MVC services are configured. Gets the where s are configured. An interface for configuring essential MVC services. Gets the where essential MVC services are configured. Gets the where s are configured. Extensions for configuring MVC using an . Registers an action to configure . The . An . The . Adds an to the list of on the . The . The of the . The . Configures the of the using the given . The . The The . Registers discovered controllers as services in the . The . The . Sets the for ASP.NET Core MVC for the application. The . The value to configure. The . Registers an action to configure . The . An . The . Registers discovered controllers as services in the . The . The . Adds an to the list of on the . The . The of the . The . Configures the of the using the given . The . The The . Sets the for ASP.NET Core MVC for the application. The . The value to configure. The . Extension methods for setting up essential MVC services in an . Adds the minimum essential MVC services to the specified . Additional services including MVC's support for authorization, formatters, and validation must be added separately using the returned from this method. The to add services to. An that can be used to further configure the MVC services. The approach for configuring MVC is provided for experienced MVC developers who wish to have full control over the set of default services registered. will register the minimum set of services necessary to route requests and invoke controllers. It is not expected that any application will satisfy its requirements with just a call to . Additional configuration using the will be required. Adds the minimum essential MVC services to the specified . Additional services including MVC's support for authorization, formatters, and validation must be added separately using the returned from this method. The to add services to. An to configure the provided . An that can be used to further configure the MVC services. The approach for configuring MVC is provided for experienced MVC developers who wish to have full control over the set of default services registered. will register the minimum set of services necessary to route requests and invoke controllers. It is not expected that any application will satisfy its requirements with just a call to . Additional configuration using the will be required. Provides a parser for the Range Header in an . Returns the normalized form of the requested range if the Range Header in the is valid. The associated with the request. The associated with the given . The total length of the file representation requested. The . A boolean value which represents if the contain a single valid range request. A which represents the normalized form of the range parsed from the or null if it cannot be normalized. If the Range header exists but cannot be parsed correctly, or if the provided length is 0, then the range request cannot be satisfied (status 416). This results in (true,null) return values. An that returns a Accepted (202) response with a Location header. Initializes a new instance of the with the values provided. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The route data to use for generating the URL. The value to format in the entity body. Gets or sets the used to generate URLs. Gets or sets the name of the action to use for generating the URL. Gets or sets the name of the controller to use for generating the URL. Gets or sets the route data to use for generating the URL. An that returns a Accepted (202) response with a Location header. Initializes a new instance of the class with the values provided. The route data to use for generating the URL. The value to format in the entity body. Initializes a new instance of the class with the values provided. The name of the route to use for generating the URL. The route data to use for generating the URL. The value to format in the entity body. Gets or sets the used to generate URLs. Gets or sets the name of the route to use for generating the URL. Gets or sets the route data to use for generating the URL. An that returns an Accepted (202) response with a Location header. Initializes a new instance of the class with the values provided. Initializes a new instance of the class with the values provided. The location at which the status of requested content can be monitored. The value to format in the entity body. Initializes a new instance of the class with the values provided. The location at which the status of requested content can be monitored It is an optional parameter and may be null The value to format in the entity body. Gets or sets the location at which the status of the requested content can be monitored. Specifies what HTTP methods an action supports. Initializes a new instance of the class. The HTTP method the action supports. Initializes a new instance of the class. The HTTP methods the action supports. Gets the HTTP methods the action supports. The route template. May be null. Gets the route order. The order determines the order of route execution. Routes with a lower order value are tried first. When a route doesn't specify a value, it gets the value of the or a default value of 0 if the doesn't define a value on the controller. Base class for attributes which can implement conditional logic to enable or disable an action for a given request. See . Determines whether the action selection is valid for the specified route context. The route context. Information about the action. if the action selection is valid for the specified context; otherwise, . Specifies that a controller property should be set with the current when creating the controller. The property must have a public set method. Specifies the name of an action. Initializes a new instance. The name of the action. Gets the name of the action. A default implementation of . Executes the result operation of the action method asynchronously. This method is called by MVC to process the result of an action method. The default implementation of this method calls the method and returns a completed task. The context in which the result is executed. The context information includes information about the action that was executed and request information. A task that represents the asynchronous execute operation. Executes the result operation of the action method synchronously. This method is called by MVC to process the result of an action method. The context in which the result is executed. The context information includes information about the action that was executed and request information. A type that wraps either an instance or an . The type of the result. Initializes a new instance of using the specified . The value. Intializes a new instance of using the specified . The . Gets the . Gets the value. Options used to configure behavior for types annotated with . Delegate invoked on actions annotated with to convert invalid into an By default, the delegate produces a that wraps a serialized form of . Gets or sets a value that determines if the filter that returns an when is invalid is suppressed. . Gets or sets a value that determines if model binding sources are inferred for action parameters on controllers annotated with is suppressed. When enabled, the following sources are inferred: Parameters that appear as route values, are assumed to be bound from the path (). Parameters of type and are assumed to be bound from form. Parameters that are complex () are assumed to be bound from the body (). All other parameters are assumed to be bound from the query. Gets or sets a value that determines if an multipart/form-data consumes action constraint is added to parameters that are bound from form data. Indicates that a type and all derived types are used to serve HTTP API responses. The presence of this attribute can be used to target conventions, filters and other behaviors based on the purpose of the controller. Controls the visibility and group name for an ApiDescription of the associated controller class or action method. Represents group name metadata for an ApiDescription. The group name for the ApiDescription of the associated action or controller. Represents visibility metadata for an ApiDescription. If false then no ApiDescription objects will be created for the associated controller or action. Provides metadata information about the request format to an IApiDescriptionProvider. An should implement this interface to expose metadata information to an IApiDescriptionProvider. Gets a filtered list of content types which are supported by the for the and . The content type for which the supported content types are desired, or null if any content type can be used. The for which the supported content types are desired. Content types which are supported by the . Provides a set of possible content types than can be consumed by the action. Configures a collection of allowed content types which can be consumed by the action. The Provides a return type, status code and a set of possible content types returned by a successful execution of the action. Gets the optimistic return type of the action. Gets the HTTP status code of the response. Configures a collection of allowed content types which can be produced by the action. Provides metadata information about the response format to an IApiDescriptionProvider. An should implement this interface to expose metadata information to an IApiDescriptionProvider. Gets a filtered list of content types which are supported by the for the and . The content type for which the supported content types are desired, or null if any content type can be used. The for which the supported content types are desired. Content types which are supported by the . Gets or sets the for this action. allows configuration of settings for ApiExplorer which apply to the action. Settings applied by override settings from and . Gets a collection of route values that must be present in the for the corresponding action to be selected. The value of is considered an implicit route value corresponding to the key action and the value of is considered an implicit route value corresponding to the key controller. These entries will be implicitly added to when the action descriptor is created, but will not be visible in . Entries in can override entries in . Gets a set of properties associated with the action. These properties will be copied to . Entries will take precedence over entries with the same key in and . A model for ApiExplorer properties associated with a controller or action. Creates a new . Creates a new with properties copied from . The to copy. If true, APIExplorer.ApiDescription objects will be created for the associated controller or action. Set this value to configure whether or not the associated controller or action will appear in ApiExplorer. The value for APIExplorer.ApiDescription.GroupName of APIExplorer.ApiDescription objects created for the associated controller or action. Gets or sets the for the application. allows configuration of default settings for ApiExplorer that apply to all actions unless overridden by or . If using to set to true, this setting will only be honored for actions which use attribute routing. Gets a set of properties associated with all actions. These properties will be copied to . A context object for . Gets the . Gets or sets a value that determines if this model participates in link generation. Gets or sets a value that determines if this model participates in path matching (inbound routing). Combines two instances and returns a new instance with the result. The left . The right . A new instance of that represents the combination of the two instances or null if both parameters are null. Combines the prefix and route template for an attribute route. The prefix. The route template. The combined pattern. Determines if a template pattern can be used to override a prefix. The template. true if this is an overriding template, false otherwise. Route templates starting with "~/" or "/" can be used to override the prefix. Gets or sets the for this controller. allows configuration of settings for ApiExplorer which apply to all actions in the controller unless overridden by . Settings applied by override settings from . Gets a collection of route values that must be present in the for the corresponding action to be selected. Entries in can be overridden by entries in . Gets a set of properties associated with the controller. These properties will be copied to . Entries will take precedence over entries with the same key in . Allows customization of the . To use this interface, create an class which implements the interface and place it on an action method. customizations run after customizations and before customizations. Called to apply the convention to the . The . Allows customization of the . Implementations of this interface can be registered in to customize metadata about the application. run before other types of customizations to the reflected model. Called to apply the convention to the . The . Builds or modifies an for action discovery. Gets the order value for determining the order of execution of providers. Providers execute in ascending numeric value of the property. Providers are executed in an ordering determined by an ascending sort of the property. A provider with a lower numeric value of will have its called before that of a provider with a higher numeric value of . The method is called in the reverse ordering after all calls to . A provider with a lower numeric value of will have its method called after that of a provider with a higher numeric value of . If two providers have the same numeric value of , then their relative execution order is undefined. Executed for the first pass of building. See . The . Executed for the second pass of building. See . The . Allows customization of the . To use this interface, create an class which implements the interface and place it on a controller class. customizations run after customizations and before customizations. Called to apply the convention to the . The . Allows customization of the properties and parameters on controllers and Razor Pages. To use this interface, create an class which implements the interface and place it on an action method parameter. Called to apply the convention to the . The . Allows customization of the . To use this interface, create an class which implements the interface and place it on an action method parameter. customizations run after customizations. A model type for reading and manipulation properties and parameters. Derived instances of this type represent properties and parameters for controllers, and Razor Pages. A type which is used to represent a property in a . Creates a new instance of . The for the underlying property. Any attributes which are annotated on the property. Creates a new instance of from a given . The which needs to be copied. Gets or sets the this is associated with. Returns an ordered list of application assemblies. The order is as follows: * Entry assembly * Assemblies specified in the application's deps file ordered by name. Each assembly is immediately followed by assemblies specified by annotated ordered by name. References (directly or transitively) one of the Mvc packages listed in . Does not reference (directly or transitively) one of the Mvc packages listed by . One of the references listed in . A part of an MVC application. Gets the name. Specifies a contract for synthesizing one or more instances from an . By default, Mvc registers each application assembly that it discovers as an . Assemblies can optionally specify an to configure parts for the assembly by using . Gets one or more instances for the specified . The . Gets the for the specified assembly. An assembly may specify an using . Otherwise, is used. The . An instance of . Manages the parts and features of an MVC application. Gets the list of s. Gets the list of instances. Instances in this collection are stored in precedence order. An that appears earlier in the list has a higher precendence. An may choose to use this an interface as a way to resolve conflicts when multiple instances resolve equivalent feature values. Populates the given using the list of s configured on the . The type of the feature. The feature instance to populate. An backed by an . Initializes a new instance. The backing . Gets the of the . Gets the name of the . Default . Gets an instance of . Gets the sequence of instances that are created by this instance of . Applications may use this method to get the same behavior as this factory produces during MVC's default part discovery. The . The sequence of instances. Marker interface for implementations. A provider for a given feature. The type of the feature. Updates the instance. The list of instances in the application. The feature instance to populate. instances in appear in the same ordered sequence they are stored in . This ordering may be used by the feature provider to make precedence decisions. Exposes a set of types from an . Gets the list of available types in the . Exposes one or more reference paths from an . Gets reference paths used to perform runtime compilation. An that produces no parts. This factory may be used to to preempt Mvc's default part discovery allowing for custom configuration at a later stage. Provides a type. Creates a new instance of with the specified type. The factory type. Creates a new instance of with the specified type name. The assembly qualified type name. Gets the factory type. Specifies a assembly to load as part of MVC's assembly discovery mechanism. Initializes a new instance of . The file name, without extension, of the related assembly. Gets the assembly file name without extension. Gets instances specified by . The assembly containing instances. Determines if the method throws if a related assembly could not be located. Related instances. Specifies the area containing a controller or action. Initializes a new instance. The area containing the controller or action. An implementation of An implementation of which applies a specific . MVC recognizes the and adds an instance of this filter to the associated action or controller. Initializes a new instance. Initialize a new instance. Authorization policy to be used. Initialize a new instance. The to use to resolve policy names. The to combine into an . Initializes a new instance of . The to combine into an . Initializes a new instance of . The name of the policy to require for authorization. The to use to resolve policy names. The to combine into an . Gets the authorization policy to be used. Ifnull, the policy will be constructed using . An that when executed will produce a Bad Request (400) response. Creates a new instance. Contains the errors to be returned to the client. Creates a new instance. containing the validation errors. A that when executed will produce a Bad Request (400) response. Creates a new instance. This attribute can be used on action parameters and types, to indicate model level metadata. Creates a new instance of . Names of parameters to include in binding. Gets the names of properties to include in model binding. Allows a user to specify a particular prefix to match during model binding. Represents the model name used during model binding. An attribute that enables binding for all properties the decorated controller or Razor Page model defines. When true, allows properties to be bound on GET requests. When false, properties do not get model bound or validated on GET requests. Defaults to false. Defines a set of settings which can be used for response caching. Gets or sets the duration in seconds for which the response is cached. If this property is set to a non null value, the "max-age" in "Cache-control" header is set in the . Gets or sets the location where the data from a particular URL must be cached. If this property is set to a non null value, the "Cache-control" header is set in the . Gets or sets the value which determines whether the data should be stored or not. When set to , it sets "Cache-control" header in to "no-store". Ignores the "Location" parameter for values other than "None". Ignores the "Duration" parameter. Gets or sets the value for the Vary header in . Gets or sets the query keys to vary by. requires the response cache middleware. An that on execution invokes . Initializes a new instance of . Initializes a new instance of with the specified authentication scheme. The authentication scheme to challenge. Initializes a new instance of with the specified authentication schemes. The authentication schemes to challenge. Initializes a new instance of with the specified . used to perform the authentication challenge. Initializes a new instance of with the specified authentication scheme and . The authentication schemes to challenge. used to perform the authentication challenge. Initializes a new instance of with the specified authentication schemes and . The authentication scheme to challenge. used to perform the authentication challenge. Gets or sets the authentication schemes that are challenged. Gets or sets the used to perform the authentication challenge. Specifies the version compatibility of runtime behaviors configured by . The best way to set a compatibility version is by using or in your application's ConfigureServices method. Setting the compatibility version using : public class Startup { ... public void ConfigureServices(IServiceCollection services) { services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1); } ... } Setting compatiblity version to a specific version will change the default values of various settings to match a particular minor release of ASP.NET Core MVC. Sets the default value of settings on to match the behavior of ASP.NET Core MVC 2.0. Sets the default value of settings on to match the behavior of ASP.NET Core MVC 2.1. ASP.NET Core MVC 2.1 introduces compatibility switches for the following: MvcJsonOptions.AllowInputFormatterExceptionMessages RazorPagesOptions.AllowAreas Sets the default value of settings on to match the latest release. Use this value with care, upgrading minor versions will cause breaking changes when using . An that when executed will produce a Conflict (409) response. Creates a new instance. Contains the errors to be returned to the client. Creates a new instance. containing the validation errors. A that when executed will produce a Conflict (409) response. Creates a new instance. A filter that specifies the supported request content types. is used to select an action when there would otherwise be multiple matches. Creates a new instance of . Gets or sets the supported request content types. Used to select an action when there would otherwise be multiple matches. Gets or set the content representing the body of the response. Gets or sets the Content-Type header for the response. Gets or sets the HTTP status code. Indicates that the type and any derived types that this attribute is applied to are considered a controller by the default controller discovery mechanism, unless is applied to any type in the hierarchy. A base class for an MVC controller without view support. Gets the for the executing action. Gets the for the executing action. Gets the for the executing action. Gets the for the executing action. Gets the that contains the state of the model and of model-binding validation. Gets or sets the . activates this property while activating controllers. If user code directly instantiates a controller, the getter returns an empty . Gets or sets the . Gets or sets the . Gets or sets the . Gets or sets the . Gets the for user associated with the executing action. Creates a object by specifying a . The status code to set on the response. The created object for the response. Creates a object by specifying a and The status code to set on the response. The value to set on the . The created object for the response. Creates a object with by specifying a string. The content to write to the response. The created object for the response. Creates a object with by specifying a string and a content type. The content to write to the response. The content type (MIME type). The created object for the response. Creates a object with by specifying a string, a , and . The content to write to the response. The content type (MIME type). The content encoding. The created object for the response. If encoding is provided by both the 'charset' and the parameters, then the parameter is chosen as the final encoding. Creates a object with by specifying a string and a . The content to write to the response. The content type (MIME type). The created object for the response. Creates a object that produces an empty response. The created object for the response. Creates a object that produces an empty response. The created for the response. Creates an object that produces an response. The content value to format in the entity body. The created for the response. Creates a object that redirects () to the specified . The URL to redirect to. The created for the response. Creates a object with set to true () using the specified . The URL to redirect to. The created for the response. Creates a object with set to false and set to true () using the specified . The URL to redirect to. The created for the response. Creates a object with set to true and set to true () using the specified . The URL to redirect to. The created for the response. Creates a object that redirects () to the specified local . The local URL to redirect to. The created for the response. Creates a object with set to true () using the specified . The local URL to redirect to. The created for the response. Creates a object with set to false and set to true () using the specified . The local URL to redirect to. The created for the response. Creates a object with set to true and set to true () using the specified . The local URL to redirect to. The created for the response. Redirects () to an action with the same name as current one. The 'controller' and 'action' names are retrieved from the ambient values of the current request. The created for the response. A POST request to an action named "Product" updates a product and redirects to an action, also named "Product", showing details of the updated product. [HttpGet] public IActionResult Product(int id) { var product = RetrieveProduct(id); return View(product); } [HttpPost] public IActionResult Product(int id, Product product) { UpdateProduct(product); return RedirectToAction(); } Redirects () to the specified action using the . The name of the action. The created for the response. Redirects () to the specified action using the and . The name of the action. The parameters for a route. The created for the response. Redirects () to the specified action using the and the . The name of the action. The name of the controller. The created for the response. Redirects () to the specified action using the specified , , and . The name of the action. The name of the controller. The parameters for a route. The created for the response. Redirects () to the specified action using the specified , , and . The name of the action. The name of the controller. The fragment to add to the URL. The created for the response. Redirects () to the specified action using the specified , , , and . The name of the action. The name of the controller. The parameters for a route. The fragment to add to the URL. The created for the response. Redirects () to the specified action with set to false and set to true, using the specified , , , and . The name of the action. The name of the controller. The route data to use for generating the URL. The fragment to add to the URL. The created for the response. Redirects () to the specified action with set to true using the specified . The name of the action. The created for the response. Redirects () to the specified action with set to true using the specified and . The name of the action. The parameters for a route. The created for the response. Redirects () to the specified action with set to true using the specified and . The name of the action. The name of the controller. The created for the response. Redirects () to the specified action with set to true using the specified , , and . The name of the action. The name of the controller. The fragment to add to the URL. The created for the response. Redirects () to the specified action with set to true using the specified , , and . The name of the action. The name of the controller. The parameters for a route. The created for the response. Redirects () to the specified action with set to true using the specified , , , and . The name of the action. The name of the controller. The parameters for a route. The fragment to add to the URL. The created for the response. Redirects () to the specified action with set to true and set to true, using the specified , , , and . The name of the action. The name of the controller. The route data to use for generating the URL. The fragment to add to the URL. The created for the response. Redirects () to the specified route using the specified . The name of the route. The created for the response. Redirects () to the specified route using the specified . The parameters for a route. The created for the response. Redirects () to the specified route using the specified and . The name of the route. The parameters for a route. The created for the response. Redirects () to the specified route using the specified and . The name of the route. The fragment to add to the URL. The created for the response. Redirects () to the specified route using the specified , , and . The name of the route. The parameters for a route. The fragment to add to the URL. The created for the response. Redirects () to the specified route with set to false and set to true, using the specified , , and . The name of the route. The route data to use for generating the URL. The fragment to add to the URL. The created for the response. Redirects () to the specified route with set to true using the specified . The name of the route. The created for the response. Redirects () to the specified route with set to true using the specified . The parameters for a route. The created for the response. Redirects () to the specified route with set to true using the specified and . The name of the route. The parameters for a route. The created for the response. Redirects () to the specified route with set to true using the specified and . The name of the route. The fragment to add to the URL. The created for the response. Redirects () to the specified route with set to true using the specified , , and . The name of the route. The parameters for a route. The fragment to add to the URL. The created for the response. Redirects () to the specified route with set to true and set to true, using the specified , , and . The name of the route. The route data to use for generating the URL. The fragment to add to the URL. The created for the response. Redirects () to the specified . The name of the page. The . Redirects () to the specified using the specified . The name of the page. The parameters for a route. The . Redirects () to the specified using the specified . The name of the page. The page handler to redirect to. The . Redirects () to the specified . The name of the page. The page handler to redirect to. The parameters for a route. The . Redirects () to the specified using the specified . The name of the page. The page handler to redirect to. The fragment to add to the URL. The . Redirects () to the specified using the specified and . The name of the page. The page handler to redirect to. The parameters for a route. The fragment to add to the URL. The . Redirects () to the specified . The name of the page. The with set. Redirects () to the specified using the specified . The name of the page. The parameters for a route. The with set. Redirects () to the specified using the specified . The name of the page. The page handler to redirect to. The with set. Redirects () to the specified using the specified . The name of the page. The page handler to redirect to. The fragment to add to the URL. The with set. Redirects () to the specified using the specified and . The name of the page. The page handler to redirect to. The parameters for a route. The fragment to add to the URL. The with set. Redirects () to the specified page with set to false and set to true, using the specified , , and . The name of the page. The page handler to redirect to. The route data to use for generating the URL. The fragment to add to the URL. The created for the response. Redirects () to the specified route with set to true and set to true, using the specified , , and . The name of the page. The page handler to redirect to. The route data to use for generating the URL. The fragment to add to the URL. The created for the response. Returns a file with the specified as content (), and the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The file contents. The Content-Type of the file. The created for the response. Returns a file with the specified as content (), and the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The file contents. The Content-Type of the file. Set to true to enable range requests processing. The created for the response. Returns a file with the specified as content (), the specified as the Content-Type and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The file contents. The Content-Type of the file. The suggested file name. The created for the response. Returns a file with the specified as content (), the specified as the Content-Type and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The file contents. The Content-Type of the file. The suggested file name. Set to true to enable range requests processing. The created for the response. Returns a file with the specified as content (), and the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The file contents. The Content-Type of the file. The of when the file was last modified. The associated with the file. The created for the response. Returns a file with the specified as content (), and the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The file contents. The Content-Type of the file. The of when the file was last modified. The associated with the file. Set to true to enable range requests processing. The created for the response. Returns a file with the specified as content (), the specified as the Content-Type, and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The file contents. The Content-Type of the file. The suggested file name. The of when the file was last modified. The associated with the file. The created for the response. Returns a file with the specified as content (), the specified as the Content-Type, and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The file contents. The Content-Type of the file. The suggested file name. The of when the file was last modified. The associated with the file. Set to true to enable range requests processing. The created for the response. Returns a file in the specified (), with the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The with the contents of the file. The Content-Type of the file. The created for the response. Returns a file in the specified (), with the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The with the contents of the file. The Content-Type of the file. Set to true to enable range requests processing. The created for the response. Returns a file in the specified () with the specified as the Content-Type and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The with the contents of the file. The Content-Type of the file. The suggested file name. The created for the response. Returns a file in the specified () with the specified as the Content-Type and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The with the contents of the file. The Content-Type of the file. The suggested file name. Set to true to enable range requests processing. The created for the response. Returns a file in the specified (), and the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The with the contents of the file. The Content-Type of the file. The of when the file was last modified. The associated with the file. The created for the response. Returns a file in the specified (), and the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The with the contents of the file. The Content-Type of the file. The of when the file was last modified. The associated with the file. Set to true to enable range requests processing. The created for the response. Returns a file in the specified (), the specified as the Content-Type, and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The with the contents of the file. The Content-Type of the file. The suggested file name. The of when the file was last modified. The associated with the file. The created for the response. Returns a file in the specified (), the specified as the Content-Type, and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The with the contents of the file. The Content-Type of the file. The suggested file name. The of when the file was last modified. The associated with the file. Set to true to enable range requests processing. The created for the response. Returns the file specified by () with the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The virtual path of the file to be returned. The Content-Type of the file. The created for the response. Returns the file specified by () with the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The virtual path of the file to be returned. The Content-Type of the file. Set to true to enable range requests processing. The created for the response. Returns the file specified by () with the specified as the Content-Type and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The virtual path of the file to be returned. The Content-Type of the file. The suggested file name. The created for the response. Returns the file specified by () with the specified as the Content-Type and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The virtual path of the file to be returned. The Content-Type of the file. The suggested file name. Set to true to enable range requests processing. The created for the response. Returns the file specified by (), and the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The virtual path of the file to be returned. The Content-Type of the file. The of when the file was last modified. The associated with the file. The created for the response. Returns the file specified by (), and the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The virtual path of the file to be returned. The Content-Type of the file. The of when the file was last modified. The associated with the file. Set to true to enable range requests processing. The created for the response. Returns the file specified by (), the specified as the Content-Type, and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The virtual path of the file to be returned. The Content-Type of the file. The suggested file name. The of when the file was last modified. The associated with the file. The created for the response. Returns the file specified by (), the specified as the Content-Type, and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The virtual path of the file to be returned. The Content-Type of the file. The suggested file name. The of when the file was last modified. The associated with the file. Set to true to enable range requests processing. The created for the response. Returns the file specified by () with the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The path to the file. The path must be an absolute path. The Content-Type of the file. The created for the response. Returns the file specified by () with the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The path to the file. The path must be an absolute path. The Content-Type of the file. Set to true to enable range requests processing. The created for the response. Returns the file specified by () with the specified as the Content-Type and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The path to the file. The path must be an absolute path. The Content-Type of the file. The suggested file name. The created for the response. Returns the file specified by () with the specified as the Content-Type and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The path to the file. The path must be an absolute path. The Content-Type of the file. The suggested file name. Set to true to enable range requests processing. The created for the response. Returns the file specified by (), and the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The path to the file. The path must be an absolute path. The Content-Type of the file. The of when the file was last modified. The associated with the file. The created for the response. Returns the file specified by (), and the specified as the Content-Type. This supports range requests ( or if the range is not satisfiable). The path to the file. The path must be an absolute path. The Content-Type of the file. The of when the file was last modified. The associated with the file. Set to true to enable range requests processing. The created for the response. Returns the file specified by (), the specified as the Content-Type, and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The path to the file. The path must be an absolute path. The Content-Type of the file. The suggested file name. The of when the file was last modified. The associated with the file. The created for the response. Returns the file specified by (), the specified as the Content-Type, and the specified as the suggested file name. This supports range requests ( or if the range is not satisfiable). The path to the file. The path must be an absolute path. The Content-Type of the file. The suggested file name. The of when the file was last modified. The associated with the file. Set to true to enable range requests processing. The created for the response. Creates an that produces an response. The created for the response. Creates an that produces a response. The created for the response. Creates an that produces a response. The created for the response. Creates an that produces a response. The created for the response. Creates an that produces a response. An error object to be returned to the client. The created for the response. Creates an that produces a response. The containing errors to be returned to the client. The created for the response. Creates an that produces a response. The created for the response. Creates an that produces a response. An error object to be returned to the client. The created for the response. Creates an that produces a response. The containing errors to be returned to the client. The created for the response. Creates an that produces a response. The created for the response. Creates an that produces a response. Contains errors to be returned to the client. The created for the response. Creates an that produces a response. The containing errors to be returned to the client. The created for the response. Creates an that produces a response. The created for the response. Creates an that produces a response. The created for the response. Creates an that produces a response with validation errors from . The created for the response. Creates a object that produces a response. The URI at which the content has been created. The content value to format in the entity body. The created for the response. Creates a object that produces a response. The URI at which the content has been created. The content value to format in the entity body. The created for the response. Creates a object that produces a response. The name of the action to use for generating the URL. The content value to format in the entity body. The created for the response. Creates a object that produces a response. The name of the action to use for generating the URL. The route data to use for generating the URL. The content value to format in the entity body. The created for the response. Creates a object that produces a response. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The route data to use for generating the URL. The content value to format in the entity body. The created for the response. Creates a object that produces a response. The name of the route to use for generating the URL. The content value to format in the entity body. The created for the response. Creates a object that produces a response. The route data to use for generating the URL. The content value to format in the entity body. The created for the response. Creates a object that produces a response. The name of the route to use for generating the URL. The route data to use for generating the URL. The content value to format in the entity body. The created for the response. Creates a object that produces an response. The created for the response. Creates a object that produces an response. The optional content value to format in the entity body; may be null. The created for the response. Creates a object that produces an response. The optional URI with the location at which the status of requested content can be monitored. May be null. The created for the response. Creates a object that produces an response. The optional URI with the location at which the status of requested content can be monitored. May be null. The created for the response. Creates a object that produces an response. The URI with the location at which the status of requested content can be monitored. The optional content value to format in the entity body; may be null. The created for the response. Creates a object that produces an response. The URI with the location at which the status of requested content can be monitored. The optional content value to format in the entity body; may be null. The created for the response. Creates a object that produces an response. The name of the action to use for generating the URL. The created for the response. Creates a object that produces an response. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The created for the response. Creates a object that produces an response. The name of the action to use for generating the URL. The optional content value to format in the entity body; may be null. The created for the response. Creates a object that produces an response. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The route data to use for generating the URL. The created for the response. Creates a object that produces an response. The name of the action to use for generating the URL. The route data to use for generating the URL. The optional content value to format in the entity body; may be null. The created for the response. Creates a object that produces an response. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The route data to use for generating the URL. The optional content value to format in the entity body; may be null. The created for the response. Creates a object that produces an response. The route data to use for generating the URL. The created for the response. Creates a object that produces an response. The name of the route to use for generating the URL. The created for the response. Creates a object that produces an response. The name of the route to use for generating the URL. The route data to use for generating the URL. The created for the response. Creates a object that produces an response. The route data to use for generating the URL. The optional content value to format in the entity body; may be null. The created for the response. Creates a object that produces an response. The name of the route to use for generating the URL. The route data to use for generating the URL. The optional content value to format in the entity body; may be null. The created for the response. Creates a . The created for the response. The behavior of this method depends on the in use. and are among likely status results. Creates a with the specified authentication schemes. The authentication schemes to challenge. The created for the response. The behavior of this method depends on the in use. and are among likely status results. Creates a with the specified . used to perform the authentication challenge. The created for the response. The behavior of this method depends on the in use. and are among likely status results. Creates a with the specified authentication schemes and . used to perform the authentication challenge. The authentication schemes to challenge. The created for the response. The behavior of this method depends on the in use. and are among likely status results. Creates a ( by default). The created for the response. Some authentication schemes, such as cookies, will convert to a redirect to show a login page. Creates a ( by default) with the specified authentication schemes. The authentication schemes to challenge. The created for the response. Some authentication schemes, such as cookies, will convert to a redirect to show a login page. Creates a ( by default) with the specified . used to perform the authentication challenge. The created for the response. Some authentication schemes, such as cookies, will convert to a redirect to show a login page. Creates a ( by default) with the specified authentication schemes and . used to perform the authentication challenge. The authentication schemes to challenge. The created for the response. Some authentication schemes, such as cookies, will convert to a redirect to show a login page. Creates a with the specified authentication scheme. The containing the user claims. The authentication scheme to use for the sign-in operation. The created for the response. Creates a with the specified authentication scheme and . The containing the user claims. used to perform the sign-in operation. The authentication scheme to use for the sign-in operation. The created for the response. Creates a with the specified authentication schemes. The authentication schemes to use for the sign-out operation. The created for the response. Creates a with the specified authentication schemes and . used to perform the sign-out operation. The authentication scheme to use for the sign-out operation. The created for the response. Updates the specified instance using values from the controller's current . The type of the model object. The model instance to update. A that on completion returns true if the update is successful. Updates the specified instance using values from the controller's current and a . The type of the model object. The model instance to update. The prefix to use when looking up values in the current . A that on completion returns true if the update is successful. Updates the specified instance using the and a . The type of the model object. The model instance to update. The prefix to use when looking up values in the . The used for looking up values. A that on completion returns true if the update is successful. Updates the specified instance using values from the controller's current and a . The type of the model object. The model instance to update. The prefix to use when looking up values in the current . (s) which represent top-level properties which need to be included for the current model. A that on completion returns true if the update is successful. Updates the specified instance using values from the controller's current and a . The type of the model object. The model instance to update. The prefix to use when looking up values in the current . A predicate which can be used to filter properties at runtime. A that on completion returns true if the update is successful. Updates the specified instance using the and a . The type of the model object. The model instance to update. The prefix to use when looking up values in the . The used for looking up values. (s) which represent top-level properties which need to be included for the current model. A that on completion returns true if the update is successful. Updates the specified instance using the and a . The type of the model object. The model instance to update. The prefix to use when looking up values in the . The used for looking up values. A predicate which can be used to filter properties at runtime. A that on completion returns true if the update is successful. Updates the specified instance using values from the controller's current and a . The model instance to update. The type of model instance to update. The prefix to use when looking up values in the current . A that on completion returns true if the update is successful. Updates the specified instance using the and a . The model instance to update. The type of model instance to update. The prefix to use when looking up values in the . The used for looking up values. A predicate which can be used to filter properties at runtime. A that on completion returns true if the update is successful. Validates the specified instance. The model to validate. true if the is valid; false otherwise. Validates the specified instance. The model to validate. The key to use when looking up information in . true if the is valid;false otherwise. The context associated with the current request for a controller. Creates a new . The default constructor is provided for unit test purposes only. Creates a new . The associated with the current request. Gets or sets the associated with the current request. Gets or sets the list of instances for the current request. Specifies that a controller property should be set with the current when creating the controller. The property must have a public set method. Provides methods to create an MVC controller. A descriptor for model bound properties of a controller. Gets or sets the for this property. The list of controllers types in an MVC application. The can be populated using the that is available during startup at and or at a later stage by requiring the as a dependency in a component. Gets the list of controller types in an MVC application. Discovers controllers from a list of instances. Determines if a given is a controller. The candidate. true if the type is a controller; otherwise false. A descriptor for method parameters of an action method. Gets or sets the . that uses type activation to create controllers. Creates a new . The . Default implementation for . Initializes a new instance of . used to create controller instances. A set of instances used to initialize controller properties. The used to create a controller. Provides methods to create a controller. Creates a controller. The for the executing action. Releases a controller. The for the executing action. The controller to release. Provides methods to create a MVC controller. Creates a that creates a controller. The . The delegate used to activate the controller. Creates an that releases a controller. The . The delegate used to dispose the activated controller. Provides methods for creation and disposal of controllers. Creates a new controller for the specified . for the action to execute. The controller. Releases a controller instance. for the executing action. The controller. Provides methods to create and release a controller. Creates a factory for producing controllers for the specified . The . The controller factory. Releases a controller. The . The delegate used to release the created controller. A that retrieves controllers as services from the request's . An that returns a Created (201) response with a Location header. Initializes a new instance of the with the values provided. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The route data to use for generating the URL. The value to format in the entity body. Gets or sets the used to generate URLs. Gets or sets the name of the action to use for generating the URL. Gets or sets the name of the controller to use for generating the URL. Gets or sets the route data to use for generating the URL. An that returns a Created (201) response with a Location header. Initializes a new instance of the class with the values provided. The route data to use for generating the URL. The value to format in the entity body. Initializes a new instance of the class with the values provided. The name of the route to use for generating the URL. The route data to use for generating the URL. The value to format in the entity body. Gets or sets the used to generate URLs. Gets or sets the name of the route to use for generating the URL. Gets or sets the route data to use for generating the URL. An that returns a Created (201) response with a Location header. Initializes a new instance of the class with the values provided. The location at which the content has been created. The value to format in the entity body. Initializes a new instance of the class with the values provided. The location at which the content has been created. The value to format in the entity body. Gets or sets the location at which the content has been created. Disables the request body size limit. Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the property. Filters are executed in an ordering determined by an ascending sort of the property. The default Order for this attribute is 900 because it must run before ValidateAntiForgeryTokenAttribute and after any filter which does authentication or login in order to allow them to behave as expected (ie Unauthenticated or Redirect instead of 400). Look at for more detailed info. Represents an that when executed will do nothing. Represents an that when executed will write a binary file to the response. Creates a new instance with the provided and the provided . The bytes that represent the file contents. The Content-Type header of the response. Creates a new instance with the provided and the provided . The bytes that represent the file contents. The Content-Type header of the response. Gets or sets the file contents. Represents an that when executed will write a file as the response. Creates a new instance with the provided . The Content-Type header of the response. Gets the Content-Type header for the response. Gets the file name that will be used in the Content-Disposition header of the response. Gets or sets the last modified information associated with the . Gets or sets the etag associated with the . Gets or sets the value that enables range processing for the . Represents an that when executed will write a file from a stream to the response. Creates a new instance with the provided and the provided . The stream with the file. The Content-Type header of the response. Creates a new instance with the provided and the provided . The stream with the file. The Content-Type header of the response. Gets or sets the stream with the file that will be sent back as the response. An abstract filter that asynchronously surrounds execution of the action and the action result. Subclasses should override , or but not and either of the other two. Similarly subclasses should override , or but not and either of the other two. An abstract filter that runs asynchronously after an action has thrown an . Subclasses must override or but not both. Adds a type representing an . Type representing an . An representing the added type. Filter instances will be created using . Use to register a service as a filter. Adds a type representing an . Type representing an . An representing the added type. Filter instances will be created using . Use to register a service as a filter. Adds a type representing an . Type representing an . The order of the added filter. An representing the added type. Filter instances will be created using . Use to register a service as a filter. Adds a type representing an . Type representing an . The order of the added filter. An representing the added type. Filter instances will be created using . Use to register a service as a filter. Adds a type representing an . Type representing an . An representing the added service type. Filter instances will be created through dependency injection. Use to register a service that will be created via type activation. Adds a type representing an . Type representing an . An representing the added service type. Filter instances will be created through dependency injection. Use to register a service that will be created via type activation. Adds a type representing an . Type representing an . The order of the added filter. An representing the added service type. Filter instances will be created through dependency injection. Use to register a service that will be created via type activation. Adds a type representing an . Type representing an . The order of the added filter. An representing the added service type. Filter instances will be created through dependency injection. Use to register a service that will be created via type activation. Contains constant values for known filter scopes. Scope defines the ordering of filters that have the same order. Scope is by-default defined by how a filter is registered. An abstract filter that asynchronously surrounds execution of the action result. Subclasses must override , or but not and either of the other two. Executes a middleware pipeline provided the by the . The middleware pipeline will be treated as an async resource filter. Instantiates a new instance of . A type which configures a middleware pipeline. An that on execution invokes . Initializes a new instance of . Initializes a new instance of with the specified authentication scheme. The authentication scheme to challenge. Initializes a new instance of with the specified authentication schemes. The authentication schemes to challenge. Initializes a new instance of with the specified . used to perform the authentication challenge. Initializes a new instance of with the specified authentication scheme and . The authentication schemes to challenge. used to perform the authentication challenge. Initializes a new instance of with the specified authentication schemes and . The authentication scheme to challenge. used to perform the authentication challenge. Gets or sets the authentication schemes that are challenged. Gets or sets the used to perform the authentication challenge. A filter that will use the format value in the route data or query string to set the content type on an returned from an action. Creates an instance of . The . An instance of . A filter that will use the format value in the route data or query string to set the content type on an returned from an action. Initializes an instance of . The Initializes an instance of . The The . As a , this filter looks at the request and rejects it before going ahead if 1. The format in the request does not match any format in the map. 2. If there is a conflicting producesFilter. The . Sets a Content Type on an using a format value from the request. The . Used to specify mapping between the URL Format and corresponding media type. Sets mapping for the format to specified media type. If the format already exists, the media type will be overwritten with the new value. The format value. The media type for the format value. Sets mapping for the format to specified media type. If the format already exists, the media type will be overwritten with the new value. The format value. The media type for the format value. Gets the media type for the specified format. The format value. The media type for input format. Clears the media type mapping for the format. The format value. true if the format is successfully found and cleared; otherwise, false. Sets the status code to 204 if the content is null. Indicates whether to select this formatter if the returned value from the action is null. Reads an object from the request body. Gets the mutable collection of media type elements supported by this . Gets the default value for a given type. Used to return a default value when the body contains no content. The type of the value. The default value for the type. Determines whether this can deserialize an object of the given . The of object that will be read. true if the can be read, otherwise false. Reads an object from the request body. The . A that on completion deserializes the request body. A media type value. Initializes a instance. The with the media type. Initializes a instance. The with the media type. Initializes a instance. The with the media type. The offset in the where the parsing starts. The length of the media type to parse if provided. Gets the type of the . For the media type "application/json", this property gives the value "application". Gets whether this matches all types. Gets the subtype of the . For the media type "application/vnd.example+json", this property gives the value "vnd.example+json". Gets the subtype of the , excluding any structured syntax suffix. For the media type "application/vnd.example+json", this property gives the value "vnd.example". Gets the structured syntax suffix of the if it has one. For the media type "application/vnd.example+json", this property gives the value "json". Gets whether this matches all subtypes. For the media type "application/*", this property is true. For the media type "application/json", this property is false. Gets whether this matches all subtypes, ignoring any structured syntax suffix. For the media type "application/*+json", this property is true. For the media type "application/vnd.example+json", this property is false. Gets the of the if it has one. Gets the charset parameter of the if it has one. Determines whether the current contains a wildcard. true if this contains a wildcard; otherwise false. Determines whether the current is a subset of the . The set . true if this is a subset of ; otherwise false. Gets the parameter of the media type. The name of the parameter to retrieve. The for the given if found; otherwise null. Gets the parameter of the media type. The name of the parameter to retrieve. The for the given if found; otherwise null. Replaces the encoding of the given with the provided . The media type whose encoding will be replaced. The encoding that will replace the encoding in the . A media type with the replaced encoding. Replaces the encoding of the given with the provided . The media type whose encoding will be replaced. The encoding that will replace the encoding in the . A media type with the replaced encoding. Creates an containing the media type in and its associated quality. The media type to parse. The position at which the parsing starts. The parsed media type with its associated quality. A collection of media types. Adds an object to the end of the . The media type to be added to the end of the . Inserts an element into the at the specified index. The zero-based index at which should be inserted. The media type to insert. Removes the first occurrence of a specific media type from the . true if is successfully removed; otherwise, false. This method also returns false if was not found in the original . Writes an object to the output stream. Gets the mutable collection of media type elements supported by this . Returns a value indicating whether or not the given type can be written by this serializer. The object type. true if the type can be written, otherwise false. Sets the headers on object. The formatter context associated with the call. Writes the response body. The formatter context associated with the call. A task which can write the response body. Always copies the stream to the response, regardless of requested content type. A for simple text content. Reads an object from a request body with a text format. Returns UTF8 Encoding without BOM and throws on invalid bytes. Returns UTF16 Encoding which uses littleEndian byte order with BOM and throws on invalid bytes. Gets the mutable collection of character encodings supported by this . The encodings are used when reading the data. Reads an object from the request body. The . The used to read the request body. A that on completion deserializes the request body. Returns an based on 's character set. The . An based on 's character set. null if no supported encoding was found. Writes an object in a given text format to the output stream. Initializes a new instance of the class. Gets the mutable collection of character encodings supported by this . The encodings are used when writing the data. Determines the best amongst the supported encodings for reading or writing an HTTP entity body based on the provided content type. The formatter context associated with the call. The to use when reading the request or writing the response. Writes the response body. The formatter context associated with the call. The that should be used to write the response. A task which can write the response body. A filter that produces the desired content type for the request. Gets the format value for the request associated with the provided . The associated with the current request. A format value, or null if a format cannot be determined for the request. A media type with its associated quality. Initializes an instance of . The containing the media type. The quality parameter of the media type or 1 in the case it does not exist. Gets the media type of this . Gets the quality of this . Specifies that a parameter or property should be bound using the request body. Specifies that a parameter or property should be bound using form-data in the request body. Specifies that a parameter or property should be bound using the request headers. Specifies that a parameter or property should be bound using the request query string. Specifies that a parameter or property should be bound using route-data from the current request. Specifies that an action parameter should be bound using the request services. In this example an implementation of IProductModelRequestService is registered as a service. Then in the GetProduct action, the parameter is bound to an instance of IProductModelRequestService which is resolved from the request services. [HttpGet] public ProductModel GetProduct([FromServices] IProductModelRequestService productModelReqest) { return productModelReqest.Value; } Identifies an action that only supports the HTTP DELETE method. Creates a new . Creates a new with the given route template. The route template. May not be null. Identifies an action that only supports the HTTP GET method. Creates a new . Creates a new with the given route template. The route template. May not be null. Identifies an action that only supports the HTTP HEAD method. Creates a new . Creates a new with the given route template. The route template. May not be null. Identifies an action that only supports the HTTP OPTIONS method. Creates a new . Creates a new with the given route template. The route template. May not be null. Identifies an action that only supports the HTTP PATCH method. Creates a new . Creates a new with the given route template. The route template. May not be null. Identifies an action that only supports the HTTP POST method. Creates a new . Creates a new with the given route template. The route template. May not be null. Identifies an action that only supports the HTTP PUT method. Creates a new . Creates a new with the given route template. The route template. May not be null. Configures the . Implement this interface to enable design-time configuration (for instance during pre-compilation of views) of . Configures the . The . A cached collection of . Initializes a new instance of the . The result of action discovery The unique version of discovered actions. Returns the cached . Returns the unique version of the currently cached items. Infrastructure supporting the implementation of . This is an implementation of suitable for use with the pattern. This is framework infrastructure and should not be used by application code. The type of value associated with the compatibility switch. Creates a new compatibility switch with the provided name. The compatibility switch name. The name must match a property name on an options type. Creates a new compatibility switch with the provided name and initial value. The compatibility switch name. The name must match a property name on an options type. The initial value to assign to the switch. Gets a value indicating whether the property has been set. This is used by the compatibility infrastructure to determine whether the application developer has set explicitly set the value associated with this switch. Gets the name of the compatibility switch. Gets or set the value associated with the compatibility switch. Setting the switch value using will set to true. As a consequence, the compatibility infrastructure will consider this switch explicitly configured by the application developer, and will not apply a default value based on the compatibility version. A base class for infrastructure that implements ASP.NET Core MVC's support for . This is framework infrastructure and should not be used by application code. Creates a new . The . The . Gets the default values of compatibility switches associated with the applications configured . Gets the configured for the application. Provides a way to signal invalidation of the cached collection of from an . Gets a used to signal invalidation of cached instances. The . Provides the currently cached collection of . The default implementation internally caches the collection and uses to invalidate this cache, incrementing the collection is reconstructed. Default consumers of this service, are aware of the version and will recache data as appropriate, but rely on the version being unique. Returns the current cached Defines an interface for creating an for the current request. The default implementation creates an by calling into each . See for more details. Creates an for the current request associated with . The associated with the current request. An or null. Defines an interface for a service which can execute a particular kind of by manipulating the . The type of . Implementions of are typically called by the method of the corresponding action result type. Implementations should be registered as singleton services. Asynchronously excecutes the action result, by modifying the . The associated with the current request."/> The action result to execute. A which represents the asynchronous operation. Provides a mapping from the return value of an action to an for request processing. The default implementation of this service handles the conversion of to an during request processing as well as the mapping of to TValue during API Explorer processing. Gets the result data type that corresponds to . This method will not be called for actions that return void or an type. The declared return type of an action. A that represents the response data. Prior to calling this method, the infrastructure will unwrap or other task-like types. Converts the result of an action to an for response processing. This method will be not be called when a method returns void or an value. The action return value. May be null. The declared return type. An for response processing. Prior to calling this method, the infrastructure will unwrap or other task-like types. Defines an interface for selecting an MVC action to invoke for the current request. Selects a set of candidates for the current request associated with . The associated with the current request. A set of candidates or null. Used by conventional routing to select the set of actions that match the route values for the current request. Action constraints associated with the candidates are not invoked by this method Attribute routing does not call this method. Selects the best candidate from for the current request associated with . The associated with the current request. The set of candidates. The best candidate for the current request or null. Thrown when action selection results in an ambiguity. Invokes action constraints associated with the candidates. Used by conventional routing after calling to apply action constraints and disambiguate between multiple candidates. Used by attribute routing to apply action constraints and disambiguate between multiple candidates. Defines a compatibility switch. This is framework infrastructure and should not be used by application code. Gets a value indicating whether the property has been set. This is used by the compatibility infrastructure to determine whether the application developer has set explicitly set the value associated with this switch. Gets the name of the compatibility switch. Gets or set the value associated with the compatibility switch. Setting the switch value using will not set to true. This should be used by the compatibility infrastructure when is false to apply a compatibility value based on . Defines the contract to convert a type to an during action invocation. Converts the current instance to an instance of . The converted . Creates instances for reading from . Creates a new . The , usually . The , usually . A . Creates instances for writing to . Creates a new . The , usually . The , usually . A . A that responds to invalid . This filter is added to all types and actions annotated with . See for ways to configure this filter. Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the property. Filters are executed in a sequence determined by an ascending sort of the property. The default Order for this attribute is -2000 so that it runs early in the pipeline. Look at for more detailed info. An options type for configuring the application . The primary way to configure the application's is by calling or . Gets or sets the application's configured . Executes an to write to the response. Creates a new . The . The . The . Gets the . Gets the . Gets the writer factory delegate. Executes the . The for the current request. The . A which will complete once the is written to the response. Selects an to write a response to the current request. The default implementation of provided by ASP.NET Core MVC is . The implements MVC's default content negotiation algorithm. This API is designed in a way that can satisfy the contract of . The default implementation is controlled by settings on , most notably: , , and . Selects an to write the response based on the provided values and the current request. The associated with the current request. A list of formatters to use; this acts as an override to . A list of media types to use; this acts as an override to the Accept header. The selected , or null if one could not be selected. Default implementation of . Initializes a new instance of the class. The sequence of . The sequence of . Returns a cached collection of . A default implementation. Creates a new . The . The that providers a set of instances. The . Returns the set of best matching actions. The set of actions that satisfy all constraints. A list of the best matching actions. An exception which indicates multiple matches in action selection. Order is set to execute after the and allow any other user that configure routing to execute. Represents data used to build an ApiDescription, stored as part of the . The ApiDescription.GroupName of ApiDescription objects for the associated action. Applies conventions to a . Applies conventions to a . The . The set of conventions. Creates an attribute route using the provided services and provided target router. The application services. An attribute route. Creates instances of from . Creates instances of from . The . The list of . A filter implementation which delegates to the controller for action filter interfaces. for details on what the variables in this method represent. A filter implementation which delegates to the controller for result filter interfaces. A default implementation of . This provider is able to provide an instance when the implements or / Creates a for the given . The . A for the given . Creates a for the given . The . A for the given . Creates the instance for the given action . The controller . The action . An instance for the given action or null if the does not represent an action. Returns true if the is an action. Otherwise false. The . The . true if the is an action. Otherwise false. Override this method to provide custom logic to determine which methods are considered actions. Creates a for the given . The . A for the given . A default implementation of . The default implementation of for a collection. This implementation handles cases like: Model: IList<Student> Query String: ?students[0].Age=8&students[1].Age=9 In this case the elements of the collection are identified in the input data set by an incrementing integer index. or: Model: IDictionary<string, int> Query String: ?students[0].Key=Joey&students[0].Value=8 In this case the dictionary is treated as a collection of key-value pairs, and the elements of the collection are identified in the input data set by an incrementing integer index. Using this key format, the enumerator enumerates model objects of type matching . The indices of the elements in the collection are used to compute the model prefix keys. Gets an instance of . The default implementation of for a complex object. Gets an instance of . A default implementation of . Creates a new . The set of instances. A default . The provides validators from instances in . The default implementation of . Initializes a new instance of . The . The list of . A default implementation of . A filter that sets to null. Creates a new instance of . Sets the to null. The . If is not enabled or is read-only, the is not applied. An implementation of for a collection bound using 'explicit indexing' style keys. This implementation handles cases like: Model: IList<Student> Query String: ?students.index=Joey,Katherine&students[Joey].Age=8&students[Katherine].Age=9 In this case, 'Joey' and 'Katherine' need to be used in the model prefix keys, but cannot be inferred form inspecting the collection. These prefixes are captured during model binding, and mapped to the corresponding ordinal index of a model object in the collection. The enumerator returned from this class will yield two 'Student' objects with corresponding keys 'students[Joey]' and 'students[Katherine]'. Using this key format, the enumerator enumerates model objects of type matching . The keys captured during model binding are mapped to the elements in the collection to compute the model prefix keys. Creates a new . The keys of collection elements that were used during model binding. Gets the keys of collection elements that were used during model binding. A one-way cursor for filters. This will iterate the filter collection once per-stage, and skip any filters that don't have the one of interfaces that applies to the current stage. Filters are always executed in the following order, but short circuiting plays a role. Indentation reflects nesting. 1. Exception Filters 2. Authorization Filters 3. Action Filters Action 4. Result Filters Result An interface for . See for details. An constraint that identifies a type which can be used to select an action based on incoming request. A feature in which is used to capture the currently executing context of a resource filter. This feature is used in the final middleware of a middleware filter's pipeline to keep the request flow through the rest of the MVC layers. A filter which sets the appropriate headers related to Response caching. Caches instances produced by . Creates an instance of . The used to resolve dependencies for . The of the to create. An that uses pooled buffers. The default size of created char buffers. Creates a new . The for creating buffers. The for creating buffers. An that uses pooled buffers. The default size of buffers s will allocate. 16K causes each to allocate one 16K array and one 32K (for UTF8) array. maintains s for these arrays. Creates a new . The for creating buffers. The for creating buffers. A filter which executes a user configured middleware pipeline. Builds a middleware pipeline after receiving the pipeline from a pipeline provider Calls into user provided 'Configure' methods for configuring a middleware pipeline. The semantics of finding the 'Configure' methods is similar to the application Startup class. Allows fine grained configuration of MVC services. Initializes a new instance. The to add services to. The of the application. Allows fine grained configuration of essential MVC services. Initializes a new instance. The to add services to. The of the application. Sets up default options for . Sets up MVC default options for . Configures the . The . A marker class used to determine if all the MVC services were added to the before MVC is configured. Stream that delegates to an inner stream. This Stream is present so that the inner stream is not closed even when Close() or Dispose() is called. Initializes a new . The stream which should not be closed or flushed. The inner stream this object delegates to. Gets the case-normalized route value for the specified route . The . The route key to lookup. The value corresponding to the key. The casing of a route value in is determined by the client. This making constructing paths for view locations in a case sensitive file system unreliable. Using the to get route values produces consistently cased results. This is a container for prefix values. It normalizes all the values into dotted-form and then stores them in a sorted array. All queries for prefixes are also normalized to dotted-form, and searches for ContainsPrefix are done with a binary search. A filter that configures for the current request. A filter that sets the to the specified . Creates a new instance of . Sets the to . The . If is not enabled or is read-only, the is not applied. In derived types, releases resources such as controller, model, or page instances created as part of invoking the inner pipeline. An which sets the appropriate headers related to response caching. Creates a new instance of The profile which contains the settings for . The . Gets or sets the duration in seconds for which the response is cached. This is a required parameter. This sets "max-age" in "Cache-control" header. Gets or sets the location where the data from a particular URL must be cached. Gets or sets the value which determines whether the data should be stored or not. When set to , it sets "Cache-control" header to "no-store". Ignores the "Location" parameter for values other than "None". Ignores the "duration" parameter. Gets or sets the value for the Vary response header. Gets or sets the query keys to vary by. requires the response cache middleware. Gets the content type and encoding that need to be used for the response. The priority for selecting the content type is: 1. ContentType property set on the action result 2. property set on 3. Default content type set on the action result The user supplied content type is not modified and is used as is. For example, if user sets the content type to be "text/plain" without any encoding, then the default content type's encoding is used to write the response and the ContentType header is set to be "text/plain" without any "charset" information. ContentType set on the action result property set on The default content type of the action result. The content type to be used for the response content type header Encoding to be used for writing the response An implementation of for a dictionary bound with 'short form' style keys. The of the keys of the model dictionary. The of the values of the model dictionary. This implementation handles cases like: Model: IDictionary<string, Student> Query String: ?students[Joey].Age=8&students[Katherine].Age=9 In this case, 'Joey' and 'Katherine' are the keys of the dictionary, used to bind two 'Student' objects. The enumerator returned from this class will yield two 'Student' objects with corresponding keys 'students[Joey]' and 'students[Katherine]' Using this key format, the enumerator enumerates model objects of type . The keys of the dictionary are not validated as they must be simple types. Creates a new . The mapping from key to dictionary key. The associated with . Gets the mapping from key to dictionary key. Caches instances produced by . A context that contains operating information for model binding and validation. Gets or sets the original value provider to be used when value providers are not filtered. Creates a new for top-level model binding operation. The associated with the binding operation. The to use for binding. associated with the model. associated with the model. The name of the property or parameter being bound. A new instance of . implementation for binding array values. Type of elements in the array. This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an . Creates a new . The for binding . Creates a new . The for binding . The . An for arrays. An for models which specify an using . Creates a new . The of the . An for models which specify an using . An which binds models from the request body using an when a model has the binding source . Creates a new . The list of . The , used to create instances for reading the request body. Creates a new . The list of . The , used to create instances for reading the request body. The . Creates a new . The list of . The , used to create instances for reading the request body. The . The . An for deserializing the request body using a formatter. Creates a new . The list of . The . Creates a new . The list of . The . The . Creates a new . The list of . The . The . The . ModelBinder to bind byte Arrays. This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that takes an . Initializes a new instance of . Initializes a new instance of . The . An for binding base64 encoded byte arrays. implementation to bind models of type . An for . implementation for binding collection values. Type of elements in the collection. This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an . Creates a new . The for binding elements. Creates a new . The for binding elements. The . Gets the instances for binding collection elements. The used for logging in this binder. Create an assignable to . of the model. An assignable to . Called when creating a default 'empty' model for a top level bind. Create an instance of . of the model. An instance of . Gets an assignable to that contains members from . of the model. Collection of values retrieved from value providers. if nothing was bound. An assignable to . if nothing was bound. Extensibility point that allows the bound collection to be manipulated or transformed before being returned from the binder. Adds values from to given . into which values are copied. Collection of values retrieved from value providers. if nothing was bound. An for . implementation for binding complex types. This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an . Creates a new . The of binders to use for binding properties. Creates a new . The of binders to use for binding properties. The . Gets a value indicating whether or not the model property identified by can be bound. The for the container model. The for the model property. true if the model property can be bound, otherwise false. Attempts to bind a property of the model. The for the model property. A that when completed will set to the result of model binding. Creates suitable for given . The . An compatible with . Updates a property in the current . The . The model name. The for the property to set. The for the property's new value. An for complex types. An for and where T is . This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an . Initializes a new instance of . The . Initializes a new instance of . The . The . implementation for binding dictionary values. Type of keys in the dictionary. Type of values in the dictionary. This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an . Creates a new . The for . The for . Creates a new . The for . The for . The . An for binding . An for and where T is . This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an . Initializes a new instance of . The . Initializes a new instance of . The . The . implementation to bind models for types deriving from . Initializes a new instance of . Flag to determine if binding to undefined should be suppressed or not. The model type. The , A for types deriving from . Initializes a new instance of . The . An for binding , , , and their wrappers. An for and where T is . This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an . Initializes a new instance of . The . Initializes a new instance of . The . The . implementation to bind form values to . This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that takes an . Initializes a new instance of . Initializes a new instance of . The . An for . implementation to bind posted files to . This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that takes an . Initializes a new instance of . Initializes a new instance of . The . An for , collections of , and . An which binds models from the request headers when a model has the binding source . This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that takes an and an . Initializes a new instance of . Initializes a new instance of . The . Initializes a new instance of . The . The which does the actual binding of values. An for binding header values. An for . The key type. The value type. This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an . Creates a new . The for . The for . Creates a new . The for . The for . The . An for . An which binds models from the request services when a model has the binding source / An for binding from the . An for simple types. This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an . Initializes a new instance of . The type to create binder for. Initializes a new instance of . The type to create binder for. The . An for binding simple data types. Enumerates behavior options of the model binding system. The property should be model bound if a value is available from the value provider. The property should be excluded from model binding. The property is required for model binding. Specifies the that should be applied. Initializes a new instance. The to apply. Gets the to apply. A value provider which provides data from a specific . A is an base-implementation which can provide data for all parameters and model properties which specify the corresponding . implements and will include or exclude itself from the set of value providers based on the model's associated . Value providers are by-default included; if a model does not specify a then all value providers are valid. Creates a new . The . Must be a single-source (non-composite) with equal to false. Gets the corresponding . Indicates that a property should be excluded from model binding. When applied to a property, the model binding system excludes that property. When applied to a type, the model binding system excludes all properties that type defines. Initializes a new instance. Indicates that a property is required for model binding. When applied to a property, the model binding system requires a value for that property. When applied to a type, the model binding system requires values for all properties that type defines. Initializes a new instance. Represents a whose values come from a collection of s. Initializes a new instance of . Initializes a new instance of . The sequence of to add to this instance of . Asynchronously creates a using the provided . The associated with the current request. A which, when completed, asynchronously returns a . Asynchronously creates a using the provided . The associated with the current request. The to be applied to the context. A which, when completed, asynchronously returns a . Value providers are included by default. If a contained does not implement , will not remove it. Default implementation for . Provides a expression based way to provide include properties. The target model Type. The prefix which is used while generating the property filter. Expressions which can be used to generate property filter which can filter model properties. An adapter for data stored in an . Creates a value provider for . The for the data. The key value pairs to wrap. The culture to return with ValueProviderResult instances. A for . A value provider which can filter its contents based on . Value providers are by-default included. If a model does not specify a then all value providers are valid. Filters the value provider based on . The associated with a model. The filtered value provider, or null if the value provider does not match . Interface for model binding collections. Gets an indication whether or not this implementation can create an assignable to . of the model. true if this implementation can create an assignable to ; false otherwise. A true return value is necessary for successful model binding if model is initially null. A value provider which can filter its contents to remove keys rewritten compared to the request data. Filters the value provider to remove keys rewritten compared to the request data. If the request contains values with keys Model.Property and Collection[index], the returned will not match Model[Property] or Collection.index. The filtered value provider or if the value provider only contains rewritten keys. A factory abstraction for creating instances. Creates a new . The . An instance. Updates the specified instance using the specified and the specified and executes validation using the specified . The type of the model object. The model instance to update and validate. The prefix to use when looking up values in the . The for the current executing request. The provider used for reading metadata for the model type. The used for binding. The used for looking up values. The used for validating the bound values. A that on completion returns true if the update is successful Updates the specified instance using the specified and the specified and executes validation using the specified . The type of the model object. The model instance to update and validate. The prefix to use when looking up values in the . The for the current executing request. The provider used for reading metadata for the model type. The used for binding. The used for looking up values. The used for validating the bound values. Expression(s) which represent top level properties which need to be included for the current model. A that on completion returns true if the update is successful Updates the specified instance using the specified and the specified and executes validation using the specified . The type of the model object. The model instance to update and validate. The prefix to use when looking up values in the . The for the current executing request. The provider used for reading metadata for the model type. The used for binding. The used for looking up values. The used for validating the bound values. A predicate which can be used to filter properties(for inclusion/exclusion) at runtime. A that on completion returns true if the update is successful Updates the specified instance using the specified and the specified and executes validation using the specified . The model instance to update and validate. The type of model instance to update and validate. The prefix to use when looking up values in the . The for the current executing request. The provider used for reading metadata for the model type. The used for binding. The used for looking up values. The used for validating the bound values. A that on completion returns true if the update is successful Updates the specified instance using the specified and the specified and executes validation using the specified . The model instance to update and validate. The type of model instance to update and validate. The prefix to use when looking up values in the . The for the current executing request. The provider used for reading metadata for the model type. The used for binding. The used for looking up values. The used for validating the bound values. A predicate which can be used to filter properties(for inclusion/exclusion) at runtime. A that on completion returns true if the update is successful Creates an expression for a predicate to limit the set of properties used in model binding. The model type. Expressions identifying the properties to allow for binding. An expression which can be used with . Clears entries for . The of the model. The associated with the model. The . The entry to clear. Clears entries for . The . The associated with the model. The entry to clear. Gets an indication whether is likely to return a usable non-null value. The element type of the required. The . true if is likely to return a usable non-null value; false otherwise. "Usable" in this context means the property can be set or its value reused. Creates an instance compatible with 's . The element type of the required. The . An instance compatible with 's . Should not be called if returned false. Creates an instance compatible with 's . The element type of the required. The . Capacity for use when creating a instance. Not used when creating another type. An instance compatible with 's . Should not be called if returned false. Converts the provided to a value of . The for conversion. The value to convert."/> The for conversion. The converted value or the default value of if the value could not be converted. Converts the provided to a value of . The value to convert."/> The for conversion. The for conversion. The converted value or null if the value could not be converted. An for jQuery formatted form data. Initializes a new instance of the class. The of the data. The values. The culture to return with ValueProviderResult instances. An for . An for jQuery formatted query string data. Initializes a new instance of the class. The of the data. The values. The culture to return with ValueProviderResult instances. An for . An for jQuery formatted data. Initializes a new instance of the class. The of the data. The values. The culture to return with ValueProviderResult instances. Gets the associated with the values. Always returns because creates this with rewritten keys (if original contains brackets) or duplicate keys (that will match). Binding metadata details for a . Gets or sets the . See . Gets or sets the binder model name. If null the property or parameter name will be used. See . Gets or sets the of the model binder used to bind the model. See . Gets or sets a value indicating whether or not the property can be model bound. Will be ignored if the model metadata being created does not represent a property. See . Gets or sets a value indicating whether or not the request must contain a value for the model. Will be ignored if the model metadata being created does not represent a property. See . Gets or sets a value indicating whether or not the model is read-only. Will be ignored if the model metadata being created is not a property. If null then will be computed based on the accessibility of the property accessor and model . See . Gets the instance. See . Gets or sets the . See . A context for an . Creates a new . The for the . The attributes for the . Gets the attributes. Gets the . Gets the parameter attributes. Gets the property attributes. Gets the type attributes. Gets the . Creates a new for the given . The . The provider sets of the given or anything assignable to the given . The to assign to the given . Holds associated metadata objects for a . Any modifications to the data must be thread-safe for multiple readers and writers. Creates a new . The . The set of model attributes. Gets or sets the set of model attributes. Gets or sets the . Gets or sets the . Gets or sets the . Gets or sets the entries for the model properties. Gets or sets a property getter delegate to get the property value from a model object. Gets or sets a property setter delegate to set the property value on a model object. Gets or sets the Gets or sets the of the container type. Read / write implementation. Initializes a new instance of the class. Initializes a new instance of the class based on . The to duplicate. Sets the property. The value to set. Sets the property. The value to set. Sets the property. The value to set. Sets the property. The value to set. Sets the property. The value to set. Sets the property. The value to set. Sets the property. The value to set. Sets the property. The value to set. Sets the property. The value to set. Sets the property. The value to set. Sets the property. The value to set. A default implementation. Creates a new . The . The . The . Creates a new . The . The . The . The . Gets the set of attributes for the current instance. Gets the for the current instance. Accessing this property will populate the if necessary. Gets the for the current instance. Accessing this property will populate the if necessary. Gets the for the current instance. Accessing this property will populate the if necessary. A default implementation of based on reflection. Creates a new . The . Creates a new . The . The accessor for . Gets the . Gets the . Same as in all production scenarios. Creates a new from a . The entry with cached data. A new instance. will always create instances of .Override this method to create a of a different concrete type. Creates the entries for the properties of a model . The identifying the model . A details object for each property of the model . The results of this method will be cached and used to satisfy calls to . Override this method to provide a different set of property data. Creates the entry for a model . The identifying the model . A details object for the model . The results of this method will be cached and used to satisfy calls to . Override this method to provide a different set of attributes. Display metadata details for a . Gets a set of additional values. See Gets or sets a value indicating whether or not to convert an empty string value or one containing only whitespace characters to when representing a model as text. See Gets or sets the name of the data type. See Gets or sets a delegate which is used to get a value for the model description. See . Gets or sets a display format string for the model. See Setting also changes . Gets or sets a delegate which is used to get the display format string for the model. See . Setting also changes . Gets or sets a delegate which is used to get a value for the display name of the model. See . Gets or sets an edit format string for the model. See Setting also changes . instances that set this property to a non-, non-empty, non-default value should also set to . Gets or sets a delegate which is used to get the edit format string for the model. See . Setting also changes . instances that set this property to a non-default value should also set to . Gets the ordered and grouped display names and values of all values in . See . Gets the names and values of all values in . See . Gets or sets a value indicating whether or not the model has a non-default edit format. See Gets or sets a value indicating if the surrounding HTML should be hidden. See Gets or sets a value indicating if the model value should be HTML encoded. See Gets a value indicating whether is for an . See . Gets a value indicating whether is for an with an associated . See . Gets or sets the text to display when the model value is . See Setting also changes . Gets or sets a delegate which is used to get the text to display when the model is . See . Setting also changes . Gets or sets the order. See Gets or sets a delegate which is used to get a value for the model's placeholder text. See . Gets or sets a value indicating whether or not to include in the model value in display. See Gets or sets a value indicating whether or not to include in the model value in an editor. See Gets or sets a the property name of a model property to use for display. See Gets or sets a hint for location of a display or editor template. See A context for and . Creates a new . The for the . The attributes for the . Gets the attributes. Gets the . Gets the . Gets the property attributes. Gets the type attributes. An which configures to false for matching types. Creates a new for the given . The . All properties with this will have set to false. Provides for a . Sets the values for properties of . The . A composite . Provides for a . Sets the values for properties of . The . Marker interface for a provider of metadata details about model objects. Implementations should implement one or more of , , and . Provides for a . Gets the values for properties of . The . Extension methods for . Removes all metadata details providers of the specified type. The list of s. The type to remove. Removes all metadata details providers of the specified type. The list of s. The type to remove. Validation metadata details for a . Gets or sets a value indicating whether or not the model is a required value. Will be ignored if the model metadata being created is not a property. If null then will be computed based on the model . See . Gets or sets an implementation that indicates whether this model should be validated. See . Gets or sets a value that indicates whether children of the model should be validated. If null then will be true if either of or is true; false otherwise. Gets a list of metadata items for validators. implementations should store metadata items in this list, to be consumed later by an . A context for an . Creates a new . The for the . The attributes for the . Gets the attributes. Gets the . Gets the property attributes. Gets the type attributes. Gets the . Provides access to the combined list of attributes associated with a , property, or parameter. Creates a new for a . The set of attributes for the . Creates a new for a property. The set of attributes for the property. The set of attributes for the property's . See . Creates a new . If this instance represents a type, the set of attributes for that type. If this instance represents a property, the set of attributes for the property's . Otherwise, null. If this instance represents a property, the set of attributes for that property. Otherwise, null. If this instance represents a parameter, the set of attributes for that parameter. Otherwise, null. Gets the set of all attributes. If this instance represents the attributes for a property, the attributes on the property definition are before those on the property's . If this instance represents the attributes for a parameter, the attributes on the parameter definition are before those on the parameter's . Gets the set of attributes on the property, or null if this instance does not represent the attributes for a property. Gets the set of attributes on the parameter, or null if this instance does not represent the attributes for a parameter. Gets the set of attributes on the . If this instance represents a property, then contains attributes retrieved from . If this instance represents a parameter, then contains attributes retrieved from . Gets the attributes for the given . The in which caller found . A for which attributes need to be resolved. A instance with the attributes of the property and its . Gets the attributes for the given . The for which attributes need to be resolved. A instance with the attributes of the . Gets the attributes for the given . The for which attributes need to be resolved. A instance with the attributes of the parameter and its . A factory for instances. This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an . Creates a new . The . The for . Creates a new . The . The for . The . A context object for . Gets or sets the . Gets or sets the . Gets or sets the cache token. If non-null the resulting will be cached. Extension methods for . Removes all model binder providers of the specified type. The list of s. The type to remove. Removes all model binder providers of the specified type. The list of s. The type to remove. Extensions methods for . Gets a for property identified by the provided and . The . The for which the property is defined. The property name. A for the property. Provides a base implementation for validating an object graph. Initializes a new instance of . The . The list of . Validates the provided object model. If is and the 's is , will add one or more model state errors that would not. The . The . The model prefix key. The model object. The . Gets a that traverses the object model graph and performs validation. The . The . The . The . The . A which traverses the object model graph. Binds and validates models specified by a . This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes a accessor and an . Initializes a new instance of . The . The . The . Initializes a new instance of . The . The . The . The accessor. The . The used for logging in this binder. Initializes and binds a model specified by . The . The . The The result of model binding. Binds a model specified by using as the initial value. The . The . The The initial model value. The result of model binding. Binds a model specified by using as the initial value. The . The . The . The The . The initial model value. The result of model binding. An adapter for data stored in an . Creates a value provider for . The for the data. The key value pairs to wrap. The culture to return with ValueProviderResult instances. A that creates instances that read values from the request query-string. An adapter for data stored in an . Creates a new . The of the data. The values. Sets to . Creates a new . The of the data. The values. The culture for route value. A for creating instances. An which configures to false for matching types. Creates a new for the given . The . This and all assignable values will have set to false. Creates a new for the given . The type full name. This type and all of its subclasses will have set to false. Gets the for which to suppress validation of children. Gets the full name of a type for which to suppress validation of children. The that is added to model state when a model binder for the body of the request is unable to understand the request content type header. Creates a new instance of with the specified exception . The message that describes the error. A filter that scans for in the and short-circuits the pipeline with an Unsupported Media Type (415) response. Aggregate of s that delegates to its underlying providers. Initializes a new instance of . A collection of instances. Gets a list of instances. Aggregate of s that delegates to its underlying providers. Initializes a new instance of . A collection of instances. Gets the list of instances. Provides methods to validate an object graph. Validates the provided object. The associated with the current request. The . May be null. The model prefix. Used to map the model object to entries in . The model object. Extension methods for . Removes all model validator providers of the specified type. This list of s. The type to remove. Removes all model validator providers of the specified type. This list of s. The type to remove. implementation that unconditionally indicates a property should be excluded from validation. When applied to a property, the validation system excludes that property. When applied to a type, the validation system excludes all properties within that type. A visitor implementation that interprets to traverse a model object graph and perform validation. Creates a new . The associated with the current request. The . The that provides a list of s. The provider used for reading metadata for the model type. The . Indicates whether validation of a complex type should be performed if validation fails for any of its children. The default behavior is false. Validates a object. The associated with the model. The model prefix key. The model object. true if the object is valid, otherwise false. Validates a object. The associated with the model. The model prefix key. The model object. If true, applies validation rules even if the top-level value is null. true if the object is valid, otherwise false. Validates a single node in a model object graph. true if the node is valid, otherwise false. Extension methods for . Removes all value provider factories of the specified type. The list of . The type to remove. Removes all value provider factories of the specified type. The list of . The type to remove. A marker interface for filters which define a policy for limits on a request's body read as a form. A marker interface for filters which define a policy for maximum size for the request body. An that returns a Found (302), Moved Permanently (301), Temporary Redirect (307), or Permanent Redirect (308) response with a Location header to the supplied local URL. Initializes a new instance of the class with the values provided. The local URL to redirect to. Initializes a new instance of the class with the values provided. The local URL to redirect to. Specifies whether the redirect should be permanent (301) or temporary (302). Initializes a new instance of the class with the values provided. The local URL to redirect to. Specifies whether the redirect should be permanent (301) or temporary (302). If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request's method. Gets or sets the value that specifies that the redirect should be permanent if true or temporary if false. Gets or sets an indication that the redirect preserves the initial request method. Gets or sets the local URL to redirect to. Gets or sets the for this result. An attribute that can specify a model name or type of to use for binding. Initializes a new instance of . Initializes a new instance of . A which implements . This attribute specifies the metadata class to associate with a data model class. Initializes a new instance of the class. The type of metadata class that is associated with a data model class. Gets the type of metadata class that is associated with a data model class. Provides programmatic configuration for the MVC framework. Creates a new instance of . Gets or sets the flag which decides whether body model binding (for example, on an action method parameter with ) should treat empty input as valid. by default. When , actions that model bind the request body (for example, using ) will register an error in the if the incoming request body is empty. Gets or sets a value that determines if policies on instances of will be combined into a single effective policy. The default value of the property is false. Authorization policies are designed such that multiple authorization policies applied to an endpoint should be combined and executed a single policy. The (commonly applied by ) can be applied globally, to controllers, and to actions - which specifies multiple authorization policies for an action. In all ASP.NET Core releases prior to 2.1 these multiple policies would not combine as intended. This compatibility switch configures whether the old (unintended) behavior or the new combining behavior will be used when multiple authorization policies are applied. This property is associated with a compatibility switch and can provide a different behavior depending on the configured compatibility version for the application. See for guidance and examples of setting the application's compatibility version. Configuring the desired value of the compatibility switch by calling this property's setter will take precedence over the value implied by the application's . If the application's compatibility version is set to then this setting will have the value false unless explicitly configured. If the application's compatibility version is set to or higher then this setting will have the value true unless explicitly configured. Gets or sets a value that determines if should bind to types other than or a collection of . If set to true, would bind to simple types (like , , , etc.) or a collection of simple types. The default value of the property is false. This property is associated with a compatibility switch and can provide a different behavior depending on the configured compatibility version for the application. See for guidance and examples of setting the application's compatibility version. Configuring the desired value of the compatibility switch by calling this property's setter will take precedence over the value implied by the application's . If the application's compatibility version is set to then this setting will have the value false unless explicitly configured. If the application's compatibility version is set to or higher then this setting will have the value true unless explicitly configured. Gets or sets a value that determines if model bound action parameters, controller properties, page handler parameters, or page model properties are validated (in addition to validating their elements or properties). If set to , and ValidationAttributes on these top-level nodes are checked. Otherwise, such attributes are ignored. The default value is if the version is or later; otherwise. This property is associated with a compatibility switch and can provide a different behavior depending on the configured compatibility version for the application. See for guidance and examples of setting the application's compatibility version. Configuring the desired value of the compatibility switch by calling this property's setter will take precedence over the value implied by the application's . If the application's compatibility version is set to then this setting will have the value unless explicitly configured. If the application's compatibility version is set to or higher then this setting will have the value unless explicitly configured. Gets a Dictionary of CacheProfile Names, which are pre-defined settings for response caching. Gets a list of instances that will be applied to the when discovering actions. Gets a collection of which are used to construct filters that apply to all actions. Used to specify mapping between the URL Format and corresponding media type. Gets or sets a value which determines how the model binding system interprets exceptions thrown by an . The default value of the property is . This property is associated with a compatibility switch and can provide a different behavior depending on the configured compatibility version for the application. See for guidance and examples of setting the application's compatibility version. Configuring the desired value of the compatibility switch by calling this property's setter will take precedence over the value implied by the application's . If the application's compatibility version is set to then this setting will have the value unless explicitly configured. If the application's compatibility version is set to or higher then this setting will have the value unless explicitly configured. Gets a list of s that are used by this application. Gets or sets a value indicating whether the model binding system will bind undefined values to enum types. The default value of the property is false. This property is associated with a compatibility switch and can provide a different behavior depending on the configured compatibility version for the application. See for guidance and examples of setting the application's compatibility version. Configuring the desired value of the compatibility switch by calling this property's setter will take precedence over the value implied by the application's . If the application's compatibility version is set to then this setting will have the value false unless explicitly configured. If the application's compatibility version is set to or higher then this setting will have the value true unless explicitly configured. Gets or sets the flag to buffer the request body in input formatters. Default is false. Gets or sets the maximum number of validation errors that are allowed by this application before further errors are ignored. Gets a list of s used by this application. Gets the default . Changes here are copied to the property of all instances unless overridden in a custom . Gets a list of instances that will be used to create instances. A provider should implement one or more of the following interfaces, depending on what kind of details are provided:
Gets a list of s used by this application. Gets a list of s that are used by this application. Gets or sets the flag which causes content negotiation to ignore Accept header when it contains the media type */*. by default. Gets or sets the flag which decides whether an HTTP 406 Not Acceptable response will be returned if no formatter has been selected to format the response. by default. Gets a list of used by this application. Gets or sets the SSL port that is used by this application when is used. If not set the port won't be specified in the secured URL e.g. https://localhost/path. Gets or sets the default value for the Permanent property of . Indicates that a controller method is not an action method. Indicates that the type and any derived types that this attribute is applied to is not considered a controller by the default controller discovery mechanism. Indicates that the type and any derived types that this attribute is applied to is not considered a view component by the default view component discovery mechanism. An that when executed will produce a Not Found (404) response. Creates a new instance. The value to format in the entity body. Represents an that when executed will produce a Not Found (404) response. Creates a new instance. Gets or sets the HTTP status code. This method is called before the formatter writes to the output stream. An that when executed performs content negotiation, formats the entity body, and will produce a response if negotiation and formatting succeed. Initializes a new instance of the class. The content to format into the entity body. An that when executed will produce an empty response. Initializes a new instance of the class. A on execution will write a file from disk to the response using mechanisms provided by the host. Creates a new instance with the provided and the provided . The path to the file. The path must be an absolute path. The Content-Type header of the response. Creates a new instance with the provided and the provided . The path to the file. The path must be an absolute path. The Content-Type header of the response. Gets or sets the path to the file that will be sent back as the response. A machine-readable format for specifying errors in HTTP API responses based on https://tools.ietf.org/html/rfc7807. A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". A short, human-readable summary of the problem type.It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization(e.g., using proactive content negotiation; see[RFC7231], Section 3.4). The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem. A human-readable explanation specific to this occurrence of the problem. A URI reference that identifies the specific occurrence of the problem.It may or may not yield further information if dereferenced. A filter that specifies the expected the action will return and the supported response content types. The value is used to set . Initializes an instance of . The of object that is going to be written in the response. Initializes an instance of with allowed content types. The allowed content type for a response. Additional allowed content types for a response. Gets or sets the supported response content types. Used to set . A filter that specifies the type of the value and status code returned by the action. Initializes an instance of . The HTTP response status code. Initializes an instance of . The of object that is going to be written in the response. The HTTP response status code. Gets or sets the type of the value returned by an action. Gets or sets the HTTP status code of the response. The argument '{0}' is invalid. Media types which match all types or match all subtypes are not supported. The argument '{0}' is invalid. Media types which match all types or match all subtypes are not supported. The content-type '{0}' added in the '{1}' property is invalid. Media types which match all types or match all subtypes are not supported. The content-type '{0}' added in the '{1}' property is invalid. Media types which match all types or match all subtypes are not supported. The method '{0}' on type '{1}' returned an instance of '{2}'. Make sure to call Unwrap on the returned value to avoid unobserved faulted Task. The method '{0}' on type '{1}' returned an instance of '{2}'. Make sure to call Unwrap on the returned value to avoid unobserved faulted Task. The method '{0}' on type '{1}' returned a Task instance even though it is not an asynchronous method. The method '{0}' on type '{1}' returned a Task instance even though it is not an asynchronous method. An action invoker could not be created for action '{0}'. An action invoker could not be created for action '{0}'. The action descriptor must be of type '{0}'. The action descriptor must be of type '{0}'. Value cannot be null or empty. Value cannot be null or empty. The '{0}' property of '{1}' must not be null. The '{0}' property of '{1}' must not be null. The '{0}' method of type '{1}' cannot return a null value. The '{0}' method of type '{1}' cannot return a null value. The value '{0}' is invalid. The value '{0}' is invalid. The passed expression of expression node type '{0}' is invalid. Only simple member access expressions for model properties are supported. The passed expression of expression node type '{0}' is invalid. Only simple member access expressions for model properties are supported. No route matches the supplied values. No route matches the supplied values. If an {0} provides a result value by setting the {1} property of {2} to a non-null value, then it cannot call the next filter by invoking {3}. If an {0} provides a result value by setting the {1} property of {2} to a non-null value, then it cannot call the next filter by invoking {3}. If an {0} cancels execution by setting the {1} property of {2} to 'true', then it cannot call the next filter by invoking {3}. If an {0} cancels execution by setting the {1} property of {2} to 'true', then it cannot call the next filter by invoking {3}. The type provided to '{0}' must implement '{1}'. The type provided to '{0}' must implement '{1}'. Cannot return null from an action method with a return type of '{0}'. Cannot return null from an action method with a return type of '{0}'. The type '{0}' must derive from '{1}'. The type '{0}' must derive from '{1}'. No encoding found for input formatter '{0}'. There must be at least one supported encoding registered in order for the formatter to read content. No encoding found for input formatter '{0}'. There must be at least one supported encoding registered in order for the formatter to read content. Unsupported content type '{0}'. Unsupported content type '{0}'. No supported media type registered for output formatter '{0}'. There must be at least one supported media type registered in order for the output formatter to write content. No supported media type registered for output formatter '{0}'. There must be at least one supported media type registered in order for the output formatter to write content. The following errors occurred with attribute routing information:{0}{0}{1} The following errors occurred with attribute routing information:{0}{0}{1} The attribute route '{0}' cannot contain a parameter named '{{{1}}}'. Use '[{1}]' in the route template to insert the value '{2}'. The attribute route '{0}' cannot contain a parameter named '{{{1}}}'. Use '[{1}]' in the route template to insert the value '{2}'. For action: '{0}'{1}Error: {2} For action: '{0}'{1}Error: {2} An empty replacement token ('[]') is not allowed. An empty replacement token ('[]') is not allowed. Token delimiters ('[', ']') are imbalanced. Token delimiters ('[', ']') are imbalanced. The route template '{0}' has invalid syntax. {1} The route template '{0}' has invalid syntax. {1} While processing template '{0}', a replacement value for the token '{1}' could not be found. Available tokens: '{2}'. To use a '[' or ']' as a literal string in a route or within a constraint, use '[[' or ']]' instead. While processing template '{0}', a replacement value for the token '{1}' could not be found. Available tokens: '{2}'. To use a '[' or ']' as a literal string in a route or within a constraint, use '[[' or ']]' instead. A replacement token is not closed. A replacement token is not closed. An unescaped '[' token is not allowed inside of a replacement token. Use '[[' to escape. An unescaped '[' token is not allowed inside of a replacement token. Use '[[' to escape. Unable to find the required services. Please add all the required services by calling '{0}.{1}' inside the call to '{2}' in the application startup code. Unable to find the required services. Please add all the required services by calling '{0}.{1}' inside the call to '{2}' in the application startup code. Action: '{0}' - Template: '{1}' Action: '{0}' - Template: '{1}' Attribute routes with the same name '{0}' must have the same template:{1}{2} Attribute routes with the same name '{0}' must have the same template:{1}{2} Error {0}:{1}{2} Error {0}:{1}{2} A method '{0}' must not define attribute routed actions and non attribute routed actions at the same time:{1}{2}{1}{1}Use 'AcceptVerbsAttribute' to create a single route that allows multiple HTTP verbs and defines a route, or set a route template in all attributes that constrain HTTP verbs. A method '{0}' must not define attribute routed actions and non attribute routed actions at the same time:{1}{2}{1}{1}Use 'AcceptVerbsAttribute' to create a single route that allows multiple HTTP verbs and defines a route, or set a route template in all attributes that constrain HTTP verbs. Action: '{0}' - Route Template: '{1}' - HTTP Verbs: '{2}' Action: '{0}' - Route Template: '{1}' - HTTP Verbs: '{2}' (none) (none) Multiple actions matched. The following actions matched route data and had all constraints satisfied:{0}{0}{1} Multiple actions matched. The following actions matched route data and had all constraints satisfied:{0}{0}{1} Could not find file: {0} Could not find file: {0} The input was not valid. The input was not valid. If an {0} provides a result value by setting the {1} property of {2} to a non-null value, then it cannot call the next filter by invoking {3}. If an {0} provides a result value by setting the {1} property of {2} to a non-null value, then it cannot call the next filter by invoking {3}. If the '{0}' property is not set to true, '{1}' property must be specified. If the '{0}' property is not set to true, '{1}' property must be specified. The action '{0}' has ApiExplorer enabled, but is using conventional routing. Only actions which use attribute routing support ApiExplorer. The action '{0}' has ApiExplorer enabled, but is using conventional routing. Only actions which use attribute routing support ApiExplorer. The media type "{0}" is not valid. MediaTypes containing wildcards (*) are not allowed in formatter mappings. The media type "{0}" is not valid. MediaTypes containing wildcards (*) are not allowed in formatter mappings. The format provided is invalid '{0}'. A format must be a non-empty file-extension, optionally prefixed with a '.' character. The format provided is invalid '{0}'. A format must be a non-empty file-extension, optionally prefixed with a '.' character. The '{0}' cache profile is not defined. The '{0}' cache profile is not defined. The model's runtime type '{0}' is not assignable to the type '{1}'. The model's runtime type '{0}' is not assignable to the type '{1}'. The type '{0}' cannot be activated by '{1}' because it is either a value type, an interface, an abstract class or an open generic type. The type '{0}' cannot be activated by '{1}' because it is either a value type, an interface, an abstract class or an open generic type. The type '{0}' must implement '{1}' to be used as a model binder. The type '{0}' must implement '{1}' to be used as a model binder. The provided binding source '{0}' is a composite. '{1}' requires that the source must represent a single type of input. The provided binding source '{0}' is a composite. '{1}' requires that the source must represent a single type of input. The provided binding source '{0}' is a greedy data source. '{1}' does not support greedy data sources. The provided binding source '{0}' is a greedy data source. '{1}' does not support greedy data sources. The property {0}.{1} could not be found. The property {0}.{1} could not be found. The key '{0}' is invalid JQuery syntax because it is missing a closing bracket. The key '{0}' is invalid JQuery syntax because it is missing a closing bracket. A value is required. A value is required. The binding context has a null Model, but this binder requires a non-null model of type '{0}'. The binding context has a null Model, but this binder requires a non-null model of type '{0}'. The binding context has a Model of type '{0}', but this binder can only operate on models of type '{1}'. The binding context has a Model of type '{0}', but this binder can only operate on models of type '{1}'. The binding context cannot have a null ModelMetadata. The binding context cannot have a null ModelMetadata. A value for the '{0}' property was not provided. A value for the '{0}' property was not provided. A non-empty request body is required. A non-empty request body is required. The parameter conversion from type '{0}' to type '{1}' failed because no type converter can convert between these types. The parameter conversion from type '{0}' to type '{1}' failed because no type converter can convert between these types. Path '{0}' was not rooted. Path '{0}' was not rooted. The supplied URL is not local. A URL with an absolute path is considered local if it does not have a host/authority part. URLs using virtual paths ('~/') are also local. The supplied URL is not local. A URL with an absolute path is considered local if it does not have a host/authority part. URLs using virtual paths ('~/') are also local. The argument '{0}' is invalid. Empty or null formats are not supported. The argument '{0}' is invalid. Empty or null formats are not supported. "Invalid values '{0}'." "Invalid values '{0}'." The value '{0}' is not valid for {1}. The value '{0}' is not valid for {1}. The value '{0}' is not valid. The value '{0}' is not valid. The supplied value is invalid for {0}. The supplied value is invalid for {0}. The supplied value is invalid. The supplied value is invalid. The value '{0}' is invalid. The value '{0}' is invalid. The field {0} must be a number. The field {0} must be a number. The field must be a number. The field must be a number. The list of '{0}' must not be empty. Add at least one supported encoding. The list of '{0}' must not be empty. Add at least one supported encoding. The list of '{0}' must not be empty. Add at least one supported encoding. The list of '{0}' must not be empty. Add at least one supported encoding. '{0}' is not supported by '{1}'. Use '{2}' instead. '{0}' is not supported by '{1}'. Use '{2}' instead. No media types found in '{0}.{1}'. Add at least one media type to the list of supported media types. No media types found in '{0}.{1}'. Add at least one media type to the list of supported media types. Could not create a model binder for model object of type '{0}'. Could not create a model binder for model object of type '{0}'. '{0}.{1}' must not be empty. At least one '{2}' is required to bind from the body. '{0}.{1}' must not be empty. At least one '{2}' is required to bind from the body. '{0}.{1}' must not be empty. At least one '{2}' is required to model bind. '{0}.{1}' must not be empty. At least one '{2}' is required to model bind. '{0}.{1}' must not be empty. At least one '{2}' is required to format a response. '{0}.{1}' must not be empty. At least one '{2}' is required to format a response. Multiple overloads of method '{0}' are not supported. Multiple overloads of method '{0}' are not supported. A public method named '{0}' could not be found in the '{1}' type. A public method named '{0}' could not be found in the '{1}' type. Could not find '{0}' in the feature list. Could not find '{0}' in the feature list. The '{0}' property cannot be null. The '{0}' property cannot be null. The '{0}' method in the type '{1}' must have a return type of '{2}'. The '{0}' method in the type '{1}' must have a return type of '{2}'. Could not resolve a service of type '{0}' for the parameter '{1}' of method '{2}' on type '{3}'. Could not resolve a service of type '{0}' for the parameter '{1}' of method '{2}' on type '{3}'. An {0} cannot be created without a valid instance of {1}. An {0} cannot be created without a valid instance of {1}. The '{0}' cannot bind to a model of type '{1}'. Change the model type to '{2}' instead. The '{0}' cannot bind to a model of type '{1}'. Change the model type to '{2}' instead. '{0}' requires the response cache middleware. '{0}' requires the response cache middleware. A duplicate entry for library reference {0} was found. Please check that all package references in all projects use the same casing for the same package references. A duplicate entry for library reference {0} was found. Please check that all package references in all projects use the same casing for the same package references. Unable to create an instance of type '{0}'. The type specified in {1} must not be abstract and must have a parameterless constructor. Unable to create an instance of type '{0}'. The type specified in {1} must not be abstract and must have a parameterless constructor. '{0}' and '{1}' are out of bounds for the string. '{0}' and '{1}' are out of bounds for the string. Could not create an instance of type '{0}'. Model bound complex types must not be abstract or value types and must have a parameterless constructor. Could not create an instance of type '{0}'. Model bound complex types must not be abstract or value types and must have a parameterless constructor. Could not create an instance of type '{0}'. Model bound complex types must not be abstract or value types and must have a parameterless constructor. Alternatively, set the '{1}' property to a non-null value in the '{2}' constructor. Could not create an instance of type '{0}'. Model bound complex types must not be abstract or value types and must have a parameterless constructor. Alternatively, set the '{1}' property to a non-null value in the '{2}' constructor. No page named '{0}' matches the supplied values. No page named '{0}' matches the supplied values. The relative page path '{0}' can only be used while executing a Razor Page. Specify a root relative path with a leading '/' to generate a URL outside of a Razor Page. The relative page path '{0}' can only be used while executing a Razor Page. Specify a root relative path with a leading '/' to generate a URL outside of a Razor Page. One or more validation errors occurred. One or more validation errors occurred. Action '{0}' does not have an attribute route. Action methods on controllers annotated with {1} must be attribute routed. Action '{0}' does not have an attribute route. Action methods on controllers annotated with {1} must be attribute routed. No file provider has been configured to process the supplied file. No file provider has been configured to process the supplied file. Type {0} specified by {1} is invalid. Type specified by {1} must derive from {2}. Type {0} specified by {1} is invalid. Type specified by {1} must derive from {2}. {0} specified on {1} cannot be self referential. {0} specified on {1} cannot be self referential. Related assembly '{0}' specified by assembly '{1}' could not be found in the directory {2}. Related assemblies must be co-located with the specifying assemblies. Related assembly '{0}' specified by assembly '{1}' could not be found in the directory {2}. Related assemblies must be co-located with the specifying assemblies. Each related assembly must be declared by exactly one assembly. The assembly '{0}' was declared as related assembly by the following: Each related assembly must be declared by exactly one assembly. The assembly '{0}' was declared as related assembly by the following: Assembly '{0}' declared as a related assembly by assembly '{1}' cannot define additional related assemblies. Assembly '{0}' declared as a related assembly by assembly '{1}' cannot define additional related assemblies. Could not create an instance of type '{0}'. Model bound complex types must not be abstract or value types and must have a parameterless constructor. Alternatively, give the '{1}' parameter a non-null default value. Could not create an instance of type '{0}'. Model bound complex types must not be abstract or value types and must have a parameterless constructor. Alternatively, give the '{1}' parameter a non-null default value. Action '{0}' has more than one parameter that were specified or inferred as bound from request body. Only one parameter per action may be bound from body. Inspect the following parameters, and use '{1}' to specify query string bound, '{2}' to specify route bound, and '{3}' for parameters to be bound from body: Action '{0}' has more than one parameter that were specified or inferred as bound from request body. Only one parameter per action may be bound from body. Inspect the following parameters, and use '{1}' to specify query string bound, '{2}' to specify route bound, and '{3}' for parameters to be bound from body: An that returns a Found (302), Moved Permanently (301), Temporary Redirect (307), or Permanent Redirect (308) response with a Location header to the supplied URL. Initializes a new instance of the class with the values provided. The local URL to redirect to. Initializes a new instance of the class with the values provided. The URL to redirect to. Specifies whether the redirect should be permanent (301) or temporary (302). Initializes a new instance of the class with the values provided. The URL to redirect to. Specifies whether the redirect should be permanent (301) or temporary (302). If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. Gets or sets the value that specifies that the redirect should be permanent if true or temporary if false. Gets or sets an indication that the redirect preserves the initial request method. Gets or sets the URL to redirect to. Gets or sets the for this result. An that returns a Found (302), Moved Permanently (301), Temporary Redirect (307), or Permanent Redirect (308) response with a Location header. Targets a controller action. Initializes a new instance of the with the values provided. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The route data to use for generating the URL. Initializes a new instance of the with the values provided. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The route data to use for generating the URL. The fragment to add to the URL. Initializes a new instance of the with the values provided. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The route data to use for generating the URL. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). Initializes a new instance of the with the values provided. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The route data to use for generating the URL. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. Initializes a new instance of the with the values provided. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The route data to use for generating the URL. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). The fragment to add to the URL. Initializes a new instance of the with the values provided. The name of the action to use for generating the URL. The name of the controller to use for generating the URL. The route data to use for generating the URL. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). If set to true, make the temporary redirect (307) and permanent redirect (308) preserve the initial request method. The fragment to add to the URL. Gets or sets the used to generate URLs. Gets or sets the name of the action to use for generating the URL. Gets or sets the name of the controller to use for generating the URL. Gets or sets the route data to use for generating the URL. Gets or sets an indication that the redirect is permanent. Gets or sets an indication that the redirect preserves the initial request method. Gets or sets the fragment to add to the URL. An that returns a Found (302) or Moved Permanently (301) response with a Location header. Targets a registered route. Initializes a new instance of the with the values provided. The page to redirect to. Initializes a new instance of the with the values provided. The page to redirect to. The page handler to redirect to. Initializes a new instance of the with the values provided. The page to redirect to. The parameters for the route. Initializes a new instance of the with the values provided. The page to redirect to. The page handler to redirect to. The parameters for the route. Initializes a new instance of the with the values provided. The name of the page. The page handler to redirect to. The parameters for the page. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). Initializes a new instance of the with the values provided. The name of the page. The page handler to redirect to. The parameters for the page. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. Initializes a new instance of the with the values provided. The name of the page. The page handler to redirect to. The parameters for the route. The fragment to add to the URL. Initializes a new instance of the with the values provided. The name of the page. The page handler to redirect to. The parameters for the page. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). The fragment to add to the URL. Initializes a new instance of the with the values provided. The name of the page. The page handler to redirect to. The parameters for the page. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. The fragment to add to the URL. Gets or sets the used to generate URLs. Gets or sets the name of the page to route to. Gets or sets the page handler to redirect to. Gets or sets the route data to use for generating the URL. Gets or sets an indication that the redirect is permanent. Gets or sets an indication that the redirect preserves the initial request method. Gets or sets the fragment to add to the URL. Gets or sets the protocol for the URL, such as "http" or "https". Gets or sets the host name of the URL. An that returns a Found (302), Moved Permanently (301), Temporary Redirect (307), or Permanent Redirect (308) response with a Location header. Targets a registered route. Initializes a new instance of the with the values provided. The parameters for the route. Initializes a new instance of the with the values provided. The name of the route. The parameters for the route. Initializes a new instance of the with the values provided. The name of the route. The parameters for the route. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). Initializes a new instance of the with the values provided. The name of the route. The parameters for the route. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. Initializes a new instance of the with the values provided. The name of the route. The parameters for the route. The fragment to add to the URL. Initializes a new instance of the with the values provided. The name of the route. The parameters for the route. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). The fragment to add to the URL. Initializes a new instance of the with the values provided. The name of the route. The parameters for the route. If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. The fragment to add to the URL. Gets or sets the used to generate URLs. Gets or sets the name of the route to use for generating the URL. Gets or sets the route data to use for generating the URL. Gets or sets an indication that the redirect is permanent. Gets or sets an indication that the redirect preserves the initial request method. Gets or sets the fragment to add to the URL. Sets the specified limits to the . Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the property. Filters are executed in an ordering determined by an ascending sort of the property. The default Order for this attribute is 900 because it must run before ValidateAntiForgeryTokenAttribute and after any filter which does authentication or login in order to allow them to behave as expected (ie Unauthenticated or Redirect instead of 400). Look at for more detailed info. Enables full request body buffering. Use this if multiple components need to read the raw stream. The default value is false. If is enabled, this many bytes of the body will be buffered in memory. If this threshold is exceeded then the buffer will be moved to a temp file on disk instead. This also applies when buffering individual multipart section bodies. If is enabled, this is the limit for the total number of bytes that will be buffered. Forms that exceed this limit will throw an when parsed. A limit for the number of form entries to allow. Forms that exceed this limit will throw an when parsed. A limit on the length of individual keys. Forms containing keys that exceed this limit will throw an when parsed. A limit on the length of individual form values. Forms containing values that exceed this limit will throw an when parsed. A limit for the length of the boundary identifier. Forms with boundaries that exceed this limit will throw an when parsed. A limit for the number of headers to allow in each multipart section. Headers with the same name will be combined. Form sections that exceed this limit will throw an when parsed. A limit for the total length of the header keys and values in each multipart section. Form sections that exceed this limit will throw an when parsed. A limit for the length of each multipart body. Forms sections that exceed this limit will throw an when parsed. Sets the request body size limit to the specified size. Creates a new instance of . The request body size limit. Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the property. Filters are executed in an ordering determined by an ascending sort of the property. The default Order for this attribute is 900 because it must run before ValidateAntiForgeryTokenAttribute and after any filter which does authentication or login in order to allow them to behave as expected (ie Unauthenticated or Redirect instead of 400). Look at for more detailed info. An authorization filter that confirms requests are received over HTTPS. Specifies whether a permanent redirect, 301 Moved Permanently, should be used instead of a temporary redirect, 302 Found. Default is int.MinValue + 50 to run this early. Called early in the filter pipeline to confirm request is authorized. Confirms requests are received over HTTPS. Takes no action for HTTPS requests. Otherwise if it was a GET request, sets to a result which will redirect the client to the HTTPS version of the request URI. Otherwise, sets to a result which will set the status code to 403 (Forbidden). Called from if the request is not received over HTTPS. Expectation is will not be null after this method returns. The to update. If it was a GET request, default implementation sets to a result which will redirect the client to the HTTPS version of the request URI. Otherwise, default implementation sets to a result which will set the status code to 403 (Forbidden). Specifies the parameters necessary for setting appropriate headers in response caching. Gets or sets the duration in seconds for which the response is cached. This sets "max-age" in "Cache-control" header. Gets or sets the location where the data from a particular URL must be cached. Gets or sets the value which determines whether the data should be stored or not. When set to , it sets "Cache-control" header to "no-store". Ignores the "Location" parameter for values other than "None". Ignores the "duration" parameter. Gets or sets the value for the Vary response header. Gets or sets the query keys to vary by. requires the response cache middleware. Gets or sets the value of the cache profile name. Gets the for this attribute. Determines the value for the "Cache-control" header in the response. Cached in both proxies and client. Sets "Cache-control" header to "public". Cached only in the client. Sets "Cache-control" header to "private". "Cache-control" and "Pragma" headers are set to "no-cache". Specifies an attribute route on a controller. Creates a new with the given route template. The route template. May not be null. Gets the route order. The order determines the order of route execution. Routes with a lower order value are tried first. If an action defines a route by providing an with a non null order, that order is used instead of this value. If neither the action nor the controller defines an order, a default value of 0 is used. Identifies an action that only supports a given set of HTTP methods. Creates a new with the given set of HTTP methods. The set of supported HTTP methods. Creates a new with the given set of HTTP methods an the given route template. The set of supported methods. The route template. May not be null. Gets the route order. The order determines the order of route execution. Routes with a lower order value are tried first. When a route doesn't specify a value, it gets the value of the or a default value of 0 if the doesn't define a value on the controller. Interface for attributes which can supply a route template for attribute routing. The route template. May be null. Gets the route order. The order determines the order of route execution. Routes with a lower order value are tried first. When a route doesn't specify a value, it gets a default value of 0. A null value for the Order property means that the user didn't specify an explicit order for the route. Gets the route name. The route name can be used to generate a link using a specific route, instead of relying on selection of a route based on the given set of route values. A metadata interface which specifies a route value which is required for the action selector to choose an action. When applied to an action using attribute routing, the route value will be added to the when the action is selected. When an is used to provide a new route value to an action, all actions in the application must also have a value associated with that key, or have an implicit value of null. See remarks for more details. The typical scheme for action selection in an MVC application is that an action will require the matching values for its and For an action like MyApp.Controllers.HomeController.Index(), in order to be selected, the must contain the values { "action": "Index", "controller": "Home" } If areas are in use in the application (see which implements ) then all actions are consider either in an area by having a non-null area value (specified by or another ) or are considered 'outside' of areas by having the value null. Consider an application with two controllers, each with an Index action method: - MyApp.Controllers.HomeController.Index() - MyApp.Areas.Blog.Controllers.HomeController.Index() where MyApp.Areas.Blog.Controllers.HomeController has an area attribute [Area("Blog")]. For like: { "action": "Index", "controller": "Home" } MyApp.Controllers.HomeController.Index() will be selected. MyApp.Area.Blog.Controllers.HomeController.Index() is not considered eligible because the does not contain the value 'Blog' for 'area'. For like: { "area": "Blog", "action": "Index", "controller": "Home" } MyApp.Area.Blog.Controllers.HomeController.Index() will be selected. MyApp.Controllers.HomeController.Index() is not considered eligible because the route values contain a value for 'area'. MyApp.Controllers.HomeController.Index() cannot match any value for 'area' other than null. The route value key. The route value. If null or empty, requires the route value associated with to be missing or null. A factory for creating instances. Gets an for the request associated with . The associated with the current request. An for the request associated with An attribute which specifies a required route value for an action or controller. When placed on an action, the route data of a request must match the expectations of the required route data in order for the action to be selected. All other actions without a route value for the given key cannot be selected unless the route data of the request does omits a value matching the key. See for more details and examples. When placed on a controller, unless overridden by the action, the constraint applies to all actions defined by the controller. Creates a new . The route value key. The expected route value. An implementation of that contains methods to build URLs for ASP.NET MVC within an application. Initializes a new instance of the class using the specified . The for the current request. Gets the associated with the current request. Gets the associated with the current request. Gets the top-level associated with the current request. Generally an implementation. Gets the for the specified and route . The name of the route that is used to generate the . The . The uses these values, in combination with , to generate the URL. The . Generates the URL using the specified components. The protocol for the URL, such as "http" or "https". The host name for the URL. The . The fragment for the URL. The generated URL. A default implementation of . Defines a serializable container for storing ModelState information. This information is stored as key/value pairs. Initializes a new instance of the class. Creates a new instance of . containing the validation errors. A filter that finds another filter in an . Primarily used in calls. Similar to the in that both use constructor injection. Use instead if the filter is not itself a service. Instantiates a new instance. The of filter to find. Gets the of filter to find. An that on execution invokes . Initializes a new instance of with the specified authentication scheme. The authentication scheme to use when signing in the user. The claims principal containing the user claims. Initializes a new instance of with the specified authentication scheme and . The authentication schemes to use when signing in the user. The claims principal containing the user claims. used to perform the sign-in operation. Gets or sets the authentication scheme that is used to perform the sign-in operation. Gets or sets the containing the user claims. Gets or sets the used to perform the sign-in operation. An that on execution invokes . Initializes a new instance of with the default sign out scheme. Initializes a new instance of with the specified authentication scheme. The authentication scheme to use when signing out the user. Initializes a new instance of with the specified authentication schemes. The authentication schemes to use when signing out the user. Initializes a new instance of with the specified authentication scheme and . The authentication schemes to use when signing out the user. used to perform the sign-out operation. Initializes a new instance of with the specified authentication schemes and . The authentication scheme to use when signing out the user. used to perform the sign-out operation. Gets or sets the authentication schemes that are challenged. Gets or sets the used to perform the sign-out operation. Represents an that when executed will produce an HTTP response with the given response status code. Initializes a new instance of the class with the given . The HTTP status code of the response. Gets the HTTP status code. A filter that creates another filter of type , retrieving missing constructor arguments from dependency injection if available there. Primarily used in calls. Similar to the in that both use constructor injection. Use instead if the filter is itself a service. Instantiates a new instance. The of filter to create. Gets or sets the non-service arguments to pass to the constructor. Service arguments are found in the dependency injection container i.e. this filter supports constructor injection in addition to passing the given . Gets the of filter to create. Represents an that when executed will produce an Unauthorized (401) response. Creates a new instance. An that when executed will produce a Unprocessable Entity (422) response. Creates a new instance. containing the validation errors. Creates a new instance. Contains errors to be returned to the client. A that when executed will produce a Unprocessable Entity (422) response. Creates a new instance. A that when executed will produce a UnsupportedMediaType (415) response. Creates a new instance of . Generates a URL with an absolute path for an action method. The . The generated URL. Generates a URL with an absolute path for an action method, which contains the specified name. The . The name of the action method. The generated URL. Generates a URL with an absolute path for an action method, which contains the specified name and route . The . The name of the action method. An object that contains route values. The generated URL. Generates a URL with an absolute path for an action method, which contains the specified and names. The . The name of the action method. The name of the controller. The generated URL. Generates a URL with an absolute path for an action method, which contains the specified name, name, and route . The . The name of the action method. The name of the controller. An object that contains route values. The generated URL. Generates a URL with an absolute path for an action method, which contains the specified name, name, route , and to use. The . The name of the action method. The name of the controller. An object that contains route values. The protocol for the URL, such as "http" or "https". The generated URL. Generates a URL with an absolute path for an action method, which contains the specified name, name, route , to use, and name. Generates an absolute URL if the and are non-null. The . The name of the action method. The name of the controller. An object that contains route values. The protocol for the URL, such as "http" or "https". The host name for the URL. The generated URL. Generates a URL with an absolute path for an action method, which contains the specified name, name, route , to use, name, and . Generates an absolute URL if the and are non-null. The . The name of the action method. The name of the controller. An object that contains route values. The protocol for the URL, such as "http" or "https". The host name for the URL. The fragment for the URL. The generated URL. Generates a URL with an absolute path for the specified route . The . An object that contains route values. The generated URL. Generates a URL with an absolute path for the specified . The . The name of the route that is used to generate URL. The generated URL. Generates a URL with an absolute path for the specified and route . The . The name of the route that is used to generate URL. An object that contains route values. The generated URL. Generates a URL with an absolute path for the specified route and route , which contains the specified to use. The . The name of the route that is used to generate URL. An object that contains route values. The protocol for the URL, such as "http" or "https". The generated URL. Generates a URL with an absolute path for the specified route and route , which contains the specified to use and name. Generates an absolute URL if and are non-null. The . The name of the route that is used to generate URL. An object that contains route values. The protocol for the URL, such as "http" or "https". The host name for the URL. The generated URL. Generates a URL with an absolute path for the specified route and route , which contains the specified to use, name and . Generates an absolute URL if and are non-null. The . The name of the route that is used to generate URL. An object that contains route values. The protocol for the URL, such as "http" or "https". The host name for the URL. The fragment for the URL. The generated URL. Generates a URL with an absolute path for the specified . The . The page name to generate the url for. The generated URL. Generates a URL with an absolute path for the specified . The . The page name to generate the url for. The handler to generate the url for. The generated URL. Generates a URL with an absolute path for the specified . The . The page name to generate the url for. An object that contains route values. The generated URL. Generates a URL with an absolute path for the specified . The . The page name to generate the url for. The handler to generate the url for. An object that contains route values. The generated URL. Generates a URL with an absolute path for the specified . The . The page name to generate the url for. The handler to generate the url for. An object that contains route values. The protocol for the URL, such as "http" or "https". The generated URL. Generates a URL with an absolute path for the specified . The . The page name to generate the url for. The handler to generate the url for. An object that contains route values. The protocol for the URL, such as "http" or "https". The host name for the URL. The generated URL. Generates a URL with an absolute path for the specified . The . The page name to generate the url for. The handler to generate the url for. An object that contains route values. The protocol for the URL, such as "http" or "https". The host name for the URL. The fragment for the URL. The generated URL. A for validation errors. Intializes a new instance of . Gets or sets the validation errors associated with this instance of . A marker interface for types which need to have temp data saved. A that on execution writes the file specified using a virtual path to the response using mechanisms provided by the host. Creates a new instance with the provided and the provided . The path to the file. The path must be relative/virtual. The Content-Type header of the response. Creates a new instance with the provided and the provided . The path to the file. The path must be relative/virtual. The Content-Type header of the response. Gets or sets the path to the file that will be sent back as the response. Gets or sets the used to resolve paths. Extension methods for to add MVC to the request execution pipeline. Adds MVC to the request execution pipeline. The . A reference to this instance after the operation has completed. This method only supports attribute routing. To add conventional routes use . Adds MVC to the request execution pipeline with a default route named 'default' and the following template: '{controller=Home}/{action=Index}/{id?}'. The . A reference to this instance after the operation has completed. Adds MVC to the request execution pipeline. The . A callback to configure MVC routes. A reference to this instance after the operation has completed. Extension methods for . Adds a route to the with the given MVC area with the specified , and . The to add the route to. The name of the route. The MVC area name. The URL pattern of the route. A reference to this instance after the operation has completed. Adds a route to the with the given MVC area with the specified , , , and . The to add the route to. The name of the route. The MVC area name. The URL pattern of the route. An object that contains default values for route parameters. The object's properties represent the names and values of the default values. A reference to this instance after the operation has completed. Adds a route to the with the given MVC area with the specified , , , , and . The to add the route to. The name of the route. The MVC area name. The URL pattern of the route. An object that contains default values for route parameters. The object's properties represent the names and values of the default values. An object that contains constraints for the route. The object's properties represent the names and values of the constraints. A reference to this instance after the operation has completed. Adds a route to the with the given MVC area with the specified , , , , , and . The to add the route to. The name of the route. The MVC area name. The URL pattern of the route. An object that contains default values for route parameters. The object's properties represent the names and values of the default values. An object that contains constraints for the route. The object's properties represent the names and values of the constraints. An object that contains data tokens for the route. The object's properties represent the names and values of the data tokens. A reference to this instance after the operation has completed.