System.Web.Routing Enables you to define which HTTP verbs are allowed when ASP.NET routing determines whether a URL matches a route. Initializes a new instance of the class by using the HTTP verbs that are allowed for the route. The HTTP verbs that are valid for the route. Gets the collection of allowed HTTP verbs for the route. A collection of allowed HTTP verbs for the route. Determines whether the request was made with an HTTP verb that is one of the allowed verbs for the route. When ASP.NET routing is processing a request, true if the request was made by using an allowed HTTP verb; otherwise, false. When ASP.NET routing is constructing a URL, true if the supplied values contain an HTTP verb that matches one of the allowed HTTP verbs; otherwise, false. The default is true. An object that encapsulates information about the HTTP request. The object that is being checked to determine whether it matches the URL. The name of the parameter that is being checked. An object that contains the parameters for a route. An object that indicates whether the constraint check is being performed when an incoming request is processed or when a URL is generated. For a description of this member, see . true if the request was made by using an allowed HTTP verb; otherwise, false. The default is true. An object that encapsulates information about the HTTP request. The object that is being checked to determine whether it matches the URL. The name of the parameter that is being checked. An object that contains the parameters for a route. An object that indicates whether the constraint check is being performed when an incoming request is handled or when a URL is generated. Defines the contract that a class must implement in order to check whether a URL parameter value is valid for a constraint. Determines whether the URL parameter contains a valid value for this constraint. true if the URL parameter contains a valid value; otherwise, false. An object that encapsulates information about the HTTP request. The object that this constraint belongs to. The name of the parameter that is being checked. An object that contains the parameters for the URL. An object that indicates whether the constraint check is being performed when an incoming request is being handled or when a URL is being generated. Defines the contract that a class must implement in order to process a request for a matching route pattern. Provides the object that processes the request. An object that processes the request. An object that encapsulates information about the request. Encapsulates information about an HTTP request that matches a defined route. Initializes a new instance of the class. An object that contains information about the HTTP request. An object that contains information about the route that matched the current request. or is null. Gets information about the HTTP request. An object that contains information about the HTTP request. Gets information about the requested route. An object that contains information about the requested route. Provides properties and methods for defining a route and for obtaining information about the route. Initializes a new instance of the class, by using the specified URL pattern and handler class. The URL pattern for the route. The object that processes requests for the route. Initializes a new instance of the class, by using the specified URL pattern, default parameter values, and handler class. The URL pattern for the route. The values to use for any parameters that are missing in the URL. The object that processes requests for the route. Initializes a new instance of the class, by using the specified URL pattern, default parameter values, constraints, and handler class. The URL pattern for the route. The values to use if the URL does not contain all the parameters. A regular expression that specifies valid values for a URL parameter. The object that processes requests for the route. Initializes a new instance of the class, by using the specified URL pattern, default parameter values, constraints, custom values, and handler class. The URL pattern for the route. The values to use if the URL does not contain all the parameters. A regular expression that specifies valid values for a URL parameter. Custom values that are passed to the route handler, but which are not used to determine whether the route matches a specific URL pattern. These values are passed to the route handler, where they can be used for processing the request. The object that processes requests for the route. Gets or sets a dictionary of expressions that specify valid values for a URL parameter. An object that contains the parameter names and expressions. Gets or sets custom values that are passed to the route handler, but which are not used to determine whether the route matches a URL pattern. An object that contains custom values. Gets or sets the values to use if the URL does not contain all the parameters. An object that contains the parameter names and default values. Returns information about the requested route. An object that contains the values from the route definition. An object that encapsulates information about the HTTP request. Returns information about the URL that is associated with the route. An object that contains information about the URL that is associated with the route. An object that encapsulates information about the requested route. An object that contains the parameters for a route. Determines whether a parameter value matches the constraint for that parameter. true if the parameter value matches the constraint; otherwise, false. An object that encapsulates information about the HTTP request. The regular expression or object to use to test . The name of the parameter to test. The values to test. A value that specifies whether URL routing is processing an incoming request or constructing a URL. Gets or sets the object that processes requests for the route. The object that processes the request. Gets or sets the URL pattern for the route. The pattern for matching the route to a URL. Any of the following:The value starts with ~ or /.The value contains a ? character.The catch-all parameter is not last. URL segments are not separated by a delimiter or a literal constant. Serves as the base class for all classes that represent an ASP.NET route. Initializes the class for use by an inherited class instance. This constructor can only be called by an inherited class. When overridden in a derived class, returns route information about the request. An object that contains the values from the route definition if the route matches the current request, or null if the route does not match the request. An object that encapsulates information about the HTTP request. When overridden in a derived class, checks whether the route matches the specified values, and if so, generates a URL and retrieves information about the route. An object that contains the generated URL and information about the route, or null if the route does not match . An object that encapsulates information about the requested route. An object that contains the parameters for a route. Provides a collection of routes for ASP.NET routing. Initializes a new instance of the class. Initializes a new instance of the class by using the specified virtual path provider. A provider for retrieving resources from a virtual file system. Adds a route to the end of the object and assigns the specified name to the route. The value that identifies the route. The value can be null or an empty string. The route to add to the end of the collection. is null. is already used in the collection. Removes all the elements from the object. Provides an object for managing thread safety when you retrieve an object from the collection. An object that manages thread safety. Returns information about the route in the collection that matches the specified values. An object that contains the values from the route definition. An object that encapsulates information about the HTTP request. is null. The property of the object in the parameter is null. Returns information about the URL path that is associated with the named route, given the specified context, route name, and parameter values. An object that contains information about the URL path that is associated with the route. An object that encapsulates information about the requested route. The name of the route to use when information about the URL path is retrieved. An object that contains the parameters for a route. Returns information about the URL path that is associated with the route, given the specified context and parameter values. An object that contains information about the URL path that is associated with the route. An object that encapsulates information about the requested route. An object that contains the parameters for a route. Provides an object for managing thread safety when you add or remove elements in the collection. An object that manages thread safety. Inserts the specified route into the object at the specified index. The zero-based index at which is inserted. The route to insert. is null. is already in the collection. Gets the route in the collection that has the specified name. An object that has the specified name, or null if is null, is an empty string, or does not match any route in the collection. The value that identifies the route to get. Removes the route from the object at the specified index. The zero-based index of the route to remove. Gets or sets a value that indicates whether ASP.NET routing should handle URLs that match an existing file. true if ASP.NET routing handles all requests, even those that match an existing file; otherwise, false. The default value is false. Replaces the route at the specified index. The zero-based index of the route to replace. The route to add at the specified index. is null. is already in the collection. Encapsulates information about a route. Initializes a new instance of the class. Initializes a new instance of the class by using the specified route and route handler. An object that defines the route. An object that processes the request. Gets a collection of custom values that are passed to the route handler but are not used when ASP.NET routing determines whether the route matches a request. An object that contains custom values. Retrieves the value with the specified identifier. The element in the property whose key matches . The key of the value to retrieve. A value does not exist for . Gets or sets the object that represents a route. An object that represents the route definition. Gets or sets the object that processes a requested route. An object that processes the route request. Gets a collection of URL parameter values and default values for the route. An object that contains values that are parsed from the URL and from default values. Indicates whether ASP.NET routing is processing a URL from a client or generating a URL. A URL from a client is being processed. A URL is being created based on the route definition. Stores the URL routes for an application. Initializes a new instance of the class. Gets a collection of objects that derive from the class. An object that contains all the routes in the collection. Represents a case-insensitive collection of key/value pairs that you use in various places in the routing framework, such as when you define the default values for a route or when you generate a URL that is based on a route. Initializes a new instance of the class that is empty. Initializes a new instance of the class and adds elements from the specified collection. A collection whose elements are copied to the new collection. is null. contains one or more duplicate keys. Initializes a new instance of the class and adds values that are based on properties from the specified object. An object that contains properties that will be added as elements to the new collection. Adds the specified value to the dictionary by using the specified key. The key of the element to add. The value of the element to add. Removes all keys and values from the dictionary. Determines whether the dictionary contains the specified key. true if the dictionary contains an element that has the specified key; otherwise, false. The key to locate in the dictionary. Determines whether the dictionary contains a specific value. true if the dictionary contains an element that has the specified value; otherwise, false. The value to locate in the dictionary. Gets the number of key/value pairs that are in the collection. The number of key/value pairs that are in the collection. Returns an enumerator that you can use to iterate through the dictionary. A structure for reading data in the dictionary. Gets or sets the value that is associated with the specified key. The value that is associated with the specified key, or null if the key does not exist in the collection. The key of the value to get or set. Gets a collection that contains the keys in the dictionary. A collection that contains the keys in the dictionary. Removes the value that has the specified key from the dictionary. true if the element is found and removed; otherwise, false. This method returns false if is not found in the dictionary. The key of the element to remove. For a description of this member, see . The key/value pair to add to the dictionary. For a description of this member, see . true if is in the collection; otherwise, false. The key and value pair to locate in the dictionary. For a description of this member, see . The one-dimensional array that is the destination of the elements copied from the dictionary. The zero-based index in at which copying starts. For a description of this member, see . true if the dictionary is read-only; otherwise, false. For a description of this member, see . true if was successfully removed from the collection; otherwise, false. This method also returns false if is not found in the collection. The key of the element to remove. For a description of this member, see . A collection that contains the keys in the dictionary. For a description of this member, see . A collection that contains the values in the dictionary. For a description of this member, see . A structure for reading data in the dictionary. For a description of this member, see . A structure for reading data in the dictionary. Gets a value that indicates whether a value is associated with the specified key. true if the dictionary contains an element that has the specified key; otherwise, false. The key of the value to get. When this method returns, contains the value that is associated with the specified key, if the key is found; otherwise, contains the appropriate default value for the type of the parameter that you provided as an out parameter. This parameter is passed uninitialized. Gets a collection that contains the values in the dictionary. A collection that contains the values in the dictionary. Provides a way to specify that ASP.NET routing should not handle requests for a URL pattern. Initializes a new instance of the class. Returns the object that processes the request. An object that processes the request. An object that encapsulates information about the request. Returns the object that processes the request. An object that processes the request. An object that encapsulates information about the request. Serves as base class for classes that enable you to customize how ASP.NET routing processes a request. Initializes a new instance of the class. Gets a value that indicates whether another request can use the instance. Always false. Processes an HTTP request that matches a route. An object that provides references to the intrinsic server objects (for example, , , , and ). The request does not match any route. No handler is defined for the route. Processes an HTTP request that matches a route. An object that provides references to the intrinsic server objects (for example, , , , and ). The request does not match any route. No handler is defined for the route. Gets or sets the collection of defined routes for the ASP.NET application. An object that contains the routes. Gets a value that indicates whether another request can use the instance. Always false. Processes an HTTP request that matches a route. An object that provides references to the intrinsic server objects (for example, , , , and ). When overridden in a derived class, validates the HTTP handler and performs the steps that are required to process the request. The object that is used to process an HTTP request. An object that provides references to the intrinsic server objects (for example, , , , and ). Matches a URL request to a defined route. Initializes a new instance of the class. Disposes of the resources (other than memory) that are used by the module. Initializes a module and prepares it to handle requests. An object that provides access to the methods, properties, and events common to all application objects in an ASP.NET application. Assigns the HTTP handler for the current request to the context. Encapsulates all HTTP-specific information about an individual HTTP request. Matches the HTTP request to a route, retrieves the handler for that route, and sets the handler as the HTTP handler for the current request. Encapsulates all HTTP-specific information about an individual HTTP request. Gets or sets the collection of defined routes for the ASP.NET application. An object that contains the routes. For a description of this member, see . For a description of this member, see . An object that provides access to the methods, properties, and events that are common to all application objects in an ASP.NET application. Represents information about the route and virtual path that are the result of generating a URL with the ASP.NET routing framework. Initializes a new instance of the class. The object that is used to generate the URL. The generated URL. Gets the collection of custom values for the route definition. A collection of custom values for a route. Gets or sets the route that is used to create the URL. An object that represents the route that matched the parameters that were used to generate a URL. Gets or sets the URL that was created from the route definition. The URL that was generated from a route.