System.Web.WebPages
Helps prevent malicious scripts from submitting forged page requests.
Adds an authenticating token to a form to help protect against request forgery.
Returns a string that contains the encrypted token value in a hidden HTML field.
The current object is null.
Adds an authenticating token to a form to help protect against request forgery and lets callers specify authentication details.
Returns the encrypted token value in a hidden HTML field.
The HTTP context data for a request.
An optional string of random characters (such as Z*7g1&p4) that is used to add complexity to the encryption for extra safety. The default is null.
The domain of a web application that a request is submitted from.
The virtual root path of a web application that a request is submitted from.
is null.
Gets the search tokens.
The previous cookie token.
The new cookie token.
The form of the token.
Validates that input data from an HTML form field comes from the user who submitted the data.
The current value is null.
The HTTP cookie token that accompanies a valid request is missing-or-The form token is missing.-or-The form token value does not match the cookie token value.-or-The form token value does not match the cookie token value.
Validates that input data from an HTML form field comes from the user who submitted the data.
The cookie token value.
The token form.
Validates that input data from an HTML form field comes from the user who submitted the data and lets callers specify additional validation details.
The HTTP context data for a request.
An optional string of random characters (such as Z*7g1&p4) that is used to decrypt an authentication token created by the class. The default is null.
The current value is null.
The HTTP cookie token that accompanies a valid request is missing.-or-The form token is missing.-or-The form token value does not match the cookie token value.-or-The form token value does not match the cookie token value.-or-The value supplied does not match the value that was used to create the form token.
Provides programmatic configuration for the anti-forgery token system.
Gets a data provider that can provide additional data to put into all generated tokens and that can validate additional data in incoming tokens.
The data provider.
Gets or sets the name of the cookie that is used by the anti-forgery system.
The cookie name.
Gets or sets a value that indicates whether the anti-forgery cookie requires SSL in order to be returned to the server.
true if SSL is required to return the anti-forgery cookie to the server; otherwise, false.
Gets or sets a value that indicates whether the anti-forgery system should skip checking for conditions that might indicate misuse of the system.
true if the anti-forgery system should not check for possible misuse; otherwise, false.
Specifies whether to suppress the generation of X-Frame-Options header which is used to prevent ClickJacking. By default, the X-Frame-Options header is generated with the value SAMEORIGIN. If this setting is 'true', the X-Frame-Options header will not be generated for the response.
If claims-based authorization is in use, gets or sets the claim type from the identity that is used to uniquely identify the user.
The claim type.
Provides a way to include or validate custom data for anti-forgery tokens.
Provides additional data to store for the anti-forgery tokens that are generated during this request.
The supplemental data to embed in the anti-forgery token.
Information about the current request.
Validates additional data that was embedded inside an incoming anti-forgery token.
true if the data is valid, or false if the data is invalid.
Information about the current request.
The supplemental data that was embedded in the token.
Provides access to unvalidated form values in the object.
Gets a collection of unvalidated form values that were posted from the browser.
An unvalidated collection of form values.
Gets the specified unvalidated object from the collection of posted values in the object.
The specified member, or null if the specified item is not found.
Gets a collection of unvalidated query-string values.
A collection of unvalidated query-string values.
Excludes fields of the Request object from being checked for potentially unsafe HTML markup and client script.
Returns a version of form values, cookies, and query-string variables without checking them first for HTML markup and client script.
An object that contains unvalidated versions of the form and query-string values.
The object that contains values to exclude from request validation.
Returns a value from the specified form field, cookie, or query-string variable without checking it first for HTML markup and client script.
A string that contains unvalidated text from the specified field, cookie, or query-string value.
The object that contains values to exclude from validation.
The name of the field to exclude from validation. can refer to a form field, to a cookie, or to the query-string variable.
Returns all values from the Request object (including form fields, cookies, and the query string) without checking them first for HTML markup and client script.
An object that contains unvalidated versions of the form, cookie, and query-string values.
The object that contains values to exclude from validation.
Returns the specified value from the Request object without checking it first for HTML markup and client script.
A string that contains unvalidated text from the specified field, cookie, or query-string value.
The object that contains values to exclude from validation.
The name of the field to exclude from validation. can refer to a form field, to a cookie, or to the query-string variable.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class.
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class.
The containing message.
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class.
The message.
The inner exception.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The error message.
The other.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The error message.
The minimum value.
The maximum value.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class.
The exception message.
The pattern.
Represents the remote rule for the validation of the model client.
Initializes a new instance of the class.
The error message.
The URL of the rule.
The HTTP method.
The additional fields used.
Represents the required rule for the validation of the model client.
Initializes a new instance of the class.
The error message
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a length of the validation rule of the model client.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class.
The error message.
The minimum length of the validation rule.
The maximum length of the validation rule.
Contains classes and properties that are used to create HTML elements. This class is used to write helpers, such as those found in the namespace.
Creates a new tag that has the specified tag name.
The tag name without the "<", "/", or ">" delimiters.
is null or empty.
Adds a CSS class to the list of CSS classes in the tag.
The CSS class to add.
Gets the collection of attributes.
The collection of attributes.
Replaces each invalid character in the tag ID with a valid HTML character.
The sanitized tag ID, or null if is null or empty, or if does not begin with a letter.
The ID that might contain characters to replace.
Replaces each invalid character in the tag ID with the specified replacement string.
The sanitized tag ID, or null if is null or empty, or if does not begin with a letter.
The ID that might contain characters to replace.
The replacement string.
is null.
Generates a sanitized ID attribute for the tag by using the specified name.
The name to use to generate an ID attribute.
Gets or sets a string that can be used to replace invalid HTML characters.
The string to use to replace invalid HTML characters.
Gets or sets the inner HTML value for the element.
The inner HTML value for the element.
Adds a new attribute to the tag.
The key for the attribute.
The value of the attribute.
Adds a new attribute or optionally replaces an existing attribute in the opening tag.
The key for the attribute.
The value of the attribute.
true to replace an existing attribute if an attribute exists that has the specified value, or false to leave the original attribute unchanged.
Adds new attributes to the tag.
The collection of attributes to add.
The type of the key object.
The type of the value object.
Adds new attributes or optionally replaces existing attributes in the tag.
The collection of attributes to add or replace.
For each attribute in , true to replace the attribute if an attribute already exists that has the same key, or false to leave the original attribute unchanged.
The type of the key object.
The type of the value object.
Sets the property of the element to an HTML-encoded version of the specified string.
The string to HTML-encode.
Gets the tag name for this tag.
The name.
Renders the element as a element.
Renders the HTML tag by using the specified render mode.
The rendered HTML tag.
The render mode.
Enumerates the modes that are available for rendering HTML tags.
Represents the mode for rendering a closing tag (for example, </tag>).
Represents the mode for rendering normal text.
Represents the mode for rendering a self-closing tag (for example, <tag />).
Represents the mode for rendering an opening tag (for example, <tag>).
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the validation attributes from the structure or content of .
The to be implemented.
The result of the validation.
Contains methods to register assemblies as application parts.
Initializes a new instance of the class by using the specified assembly and root virtual path.
The assembly.
The root virtual path.
is null or empty.
Resolves a path to the specified assembly or resource within an assembly by using the specified base virtual path and specified virtual path.
The path of the assembly or resource.
The assembly.
The base virtual path.
The virtual path.
is not registered.
Adds an assembly and all web pages within the assembly to the list of available application parts.
The application part.
is already registered.
Provides objects and methods that are used to execute and render ASP.NET Web Pages application start pages (_AppStart.cshtml or _AppStart.vbhtml files).
Initializes a new instance of the class.
Gets the HTTP application object that references this application startup page.
The HTTP application object that references this application startup page.
The prefix that is applied to all keys that are added to the cache by the application start page.
Gets the object that represents context data that is associated with this page.
The current context data.
Returns the text writer instance that is used to render the page.
The text writer.
Gets the output from the application start page as an HTML-encoded string.
The output from the application start page as an HTML-encoded string.
Gets the text writer for the page.
The text writer for the page.
The path to the application start page.
Gets or sets the virtual path of the page.
The virtual path.
Writes the string representation of the specified object as an HTML-encoded string.
The object to encode and write.
Writes the specified object as an HTML-encoded string.
The helper result to encode and write.
Writes the specified object without HTML encoding.
The object to write.
Stores the value for an attribute.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the class.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The namespace prefix for the attribute.
The value for the attribute.
true to indicate that the value is a literal value; otherwise, false.
Creates an attribute value from the specified tuple object.
The created attribute value.
The tuple object from which to create from.
Creates an attribute value from the specified tuple object.
The created attribute value.
The tuple object from which to create from.
Gets or sets a value that indicates whether the value is a literal value.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
true if the value is a literal value; otherwise, false.
Creates an attribute value from the specified tuple object.
The created attribute value.
The tuple object from which to create from.
Creates an attribute value from the specified tuple object.
The created attribute value.
The tuple object from which to create from.
Gets or sets the namespace prefix for the attribute.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The namespace prefix for the attribute.
Gets or set the value for the attribute.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The value for the attribute.
Provides a way to specify custom browser (user agent) information.
Removes any overridden user agent for the current request.
The current context.
Returns the browser capabilities object for the overridden browser capabilities or for the actual browser if no override has been specified.
The browser capabilities.
The current context.
Returns the overridden user agent value or the actual user agent string if no override has been specified.
The user agent string
The current context.
Gets a string that varies based on the type of the browser.
A string that identifies the browser.
The current context.
Gets a string that varies based on the type of the browser.
A string that identifies the browser.
The current context base.
Overrides the request's actual user agent value using the specified user agent.
The current context.
The user agent to use.
Overrides the request's actual user agent value using the specified browser override information.
The current context.
One of the enumeration values that represents the browser override information to use.
Specifies browser types that can be defined for the method.
Specifies a desktop browser.
Specifies a mobile browser.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.The current BrowserOverrideStore is used to get and set the user agent of a request.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Looks for a user agent by searching for the browser override cookie.
The user agent.
The HTTP context.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a browser override cookie with the set user agent to the response of the current request.
The HTTP context.
The user agent.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets overridden user agent for a request from a cookie. Creates a cookie to set the overridden user agent.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class.
The days to expire.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Looks for a user agent by searching for the browser override cookie.
The user agent.
The HTTP context.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a browser override cookie with the set user agent to the response of the current request.
The HTTP context.
The user agent.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the default display mode of the web pages.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class.
The suffix.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates a value whether the can handle context.
true if the can handle context; otherwise, false.
The specified http context.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the context condition displays a default mode.
true if the context condition displays a default mode; otherwise, false.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the display mode identifier of the web pages.
The display mode identifier of the web pages.
Retrieves the display information about an item in the result pane.
The display information about an item in the result pane.
The http context.
The virtual path.
true if the virtual path exists; otherwise, false.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Transforms the path of the display mode.
The path of the display mode to transform.
The virtual path.
The suffix.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a property’s display information.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class.
The virtual path.
The active display mode.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the active display mode for a Web page.
The active display mode for a Web page.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual path of the current Web page.
The virtual path of the current Web page.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the modes of display for the provider.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the default display mode identifier.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a list of the available display modes for the context base.
A list of the available display modes for the context base.
The http context base.
The current display mode.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the for the virtual path.
The for the virtual path.
The virtual path.
The http context base.
true if the virtual path exists; otherwise, false.
The current display mode.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the instance of the .
The instance of the .
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the mobile display mode identifier.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a list of modes of the .
A list of modes of the .
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the Web page requires consistent display mode.
true if the Web page requires consistent display mode; otherwise, false.
Represents a base class for pages that is used when ASP.NET compiles a .cshtml or .vbhtml file and that exposes page-level and application-level properties and methods.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class.
Gets the application-state data as a object that callers can use to create and access custom application-scoped properties.
The application-state data.
Gets a reference to global application-state data that can be shared across sessions and requests in an ASP.NET application.
The application-state data.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts all the helper statements into the context of the helper page.
The text writer.
The helper virtual path.
The starting position.
The length of the context.
true of the context has a literal attribute; otherwise, false.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts all the helper statements into the context of the helper page.
The helper virtual path.
The starting position.
The length of the context.
true of the context has a literal attribute; otherwise, false.
Gets the cache object for the current application domain.
The cache object.
Gets the object that is associated with a page.
The current context data.
Gets the current page for this helper page.
The current page.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the end of context block.
The text writer.
The helper virtual path.
The starting position.
The length of the context.
true of the context has a literal attribute; otherwise, false.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the end of context block.
The helper virtual path.
The starting position.
The length of the context.
true of the context has a literal attribute; otherwise, false.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the path of the helper page.
The path of the helper page.
Builds an absolute URL from an application-relative URL by using the specified parameters.
The absolute URL.
The initial path to use in the URL.
Additional path information, such as folders and subfolders.
Gets the object that is associated with a page.
An object that supports rendering HTML form controls in a page.
Gets a value that indicates whether Ajax is being used during the request of the web page.
true if Ajax is being used during the request; otherwise, false.
Gets a value that indicates whether the current request is a post (submitted using the HTTP POST verb).
true if the HTTP verb is POST; otherwise, false.
Gets the model that is associated with a page.
An object that represents a model that is associated with the view data for a page.
Gets the state data for the model that is associated with a page.
The state of the model.
Gets property-like access to page data that is shared between pages, layout pages, and partial pages.
An object that contains page data.
Gets and sets the HTTP context for the web page.
The HTTP context for the web page.
Gets array-like access to page data that is shared between pages, layout pages, and partial pages.
An object that provides array-like access to page data.
Gets the object for the current HTTP request.
An object that contains the HTTP values that were sent by a client during a web request.
Gets the object for the current HTTP response.
An object that contains the HTTP-response information from an ASP.NET operation.
Gets the object that provides methods that can be used as part of web-page processing.
The object.
Gets the object for the current HTTP request.
The object for the current HTTP request.
Gets data related to the URL path.
Data related to the URL path.
Gets a user value based on the HTTP context.
A user value based on the HTTP context.
Gets the virtual path of the page.
The virtual path.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Writes an attribute associated with the helper.
The text writer.
The name of the attribute.
The prefix.
The suffix.
The attribute value.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Writes a literal object to the helper.
The text writer.
The value of the object.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Writes a helper result object to the helper.
The text writer
The helper result.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Writes an object to the helper.
The text writer.
The object value.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Writes a helper result object to the helper.
The text writer.
The helper result value.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code..
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the display mode interface for the web pages.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates a value whether the web pages can handle HTTP context.
true if the web pages can handle HTTP context; otherwise, false.
The HTTP context.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the display mode id for the web pages.
The display mode id for the web pages.
Returns this method to display all the information for the web pages.
The method to display all the information for the web pages.
The HTTP context.
The virtual path.
true if the virtual path exists; otherwise, false.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the properties and methods that objects that participate in webpages.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a container for client validation for the required field.
A container for client validation for the required field.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Evaluates the condition it checks and updates the validation context.
The condition it checks and updates the validation context.
The validation context.
Defines methods that are implemented by virtual path handler factories.
Creates a handler factory for the specified virtual path.
A handler factory for the specified virtual path.
The virtual path.
Determines whether the specified virtual path is associated with a handler factory.
true if a handler factory exists for the specified virtual path; otherwise, false.
The virtual path.
Defines methods to implement an executor class that can execute the code on a web page.
Executes the code on the specified web page.
true if the executor took over execution of the web page; otherwise, false.
The web page.
Represents a path attribute for a web page class.
Initializes a new instance of the class by using the specified virtual path.
The virtual path.
Gets the virtual path of the current web page.
The virtual path.
Provides a registration point for pre-application start code for web pages.
Registers pre-application start code for web pages.
Defines extension methods for the class.
Determines whether the specified URL references the local computer.
true if the specified URL references the local computer; otherwise, false.
The HTTP request object.
The URL to test.
Serves as the abstract base class for the validation helper classes.
Initializes a new instance of the derived class and specifies the name of the HTML element that is being validated.
The name (value of the name attribute) of the user input element to validate.
Initializes a new instance of the derived class, registers the specified string as the error message to display if no value is supplied, and specifies whether the method can use unvalidated data.
The error message.
true to use unvalidated user input; false to reject unvalidated data. This parameter is set to true by calling methods in circumstances when the actual value of the user input is not important, such as for required fields.
When implemented in a derived class, gets a container for client validation for the required field.
The container.
Returns the HTTP context of the current request.
The context.
The validation context.
Returns the value to validate.
The value to validate.
The current request.
The name of the field from the current request to validate.
Returns a value that indicates whether the specified value is valid.
true if the value is valid; otherwise, false.
The current context.
The value to validate.
Performs the validation test.
The result of the validation test.
The context.
Defines extension methods for the base class.
Configures the cache policy of an HTTP response instance.
The HTTP response instance.
The length of time, in seconds, before items expire from the cache.
true to indicate that items expire from the cache on a sliding basis; false to indicate that items expire when they reach the predefined expiration time.
The list of all parameters that can be received by a GET or POST operation that affect caching.
The list of all HTTP headers that affect caching.
The list of all Content-Encoding headers that affect caching.
One of the enumeration values that specifies how items are cached.
Sets the HTTP status code of an HTTP response using the specified integer value.
The HTTP response instance.
The HTTP status code.
Sets the HTTP status code of an HTTP response using the specified HTTP status code enumeration value.
The HTTP response instance.
The HTTP status code
Writes a sequence of bytes that represent binary content of an unspecified type to the output stream of an HTTP response.
The HTTP response instance.
An array that contains the bytes to write.
Writes a sequence of bytes that represent binary content of the specified MIME type to the output stream of an HTTP response.
The receiving HTTP response instance.
An array that contains the bytes to write.
The MIME type of the binary content.
Provides a delegate that represents one or more methods that are called when a content section is written.
Provides methods and properties that are used to render start pages that use the Razor view engine.
Initializes a new instance of the class.
Gets or sets the child page of the current start page.
The child page of the current start page.
Gets or sets the context of the page.
The context of the page.
Calls the methods that are used to execute the developer-written code in the _PageStart start page and in the page.
Returns the text writer instance that is used to render the page.
The text writer.
Returns the initialization page for the specified page.
The _AppStart page if the _AppStart page exists. If the _AppStart page cannot be found, returns the _PageStart page if a _PageStart page exists. If the _AppStart and _PageStart pages cannot be found, returns .
The page.
The file name of the page.
The collection of file-name extensions that can contain ASP.NET Razor syntax, such as "cshtml" and "vbhtml".
Either or are null.
is null or empty.
Gets or sets the path of the layout page for the page.
The path of the layout page for the page.
Gets property-like access to page data that is shared between pages, layout pages, and partial pages.
An object that contains page data.
Gets array-like access to page data that is shared between pages, layout pages, and partial pages.
An object that provides array-like access to page data.
Renders the page.
The HTML markup that represents the web page.
The path of the page to render.
Additional data that is used to render the page.
Executes the developer-written code in the page.
Writes the string representation of the specified object as an HTML-encoded string.
The object to encode and write.
Writes the string representation of the specified object as an HTML-encoded string.
The helper result to encode and write.
Writes the string representation of the specified object without HTML encoding.
The object to write.
Provides utility methods for converting string values to other data types.
Converts a string to a strongly typed value of the specified data type.
The converted value.
The value to convert.
The data type to convert to.
Converts a string to the specified data type and specifies a default value.
The converted value.
The value to convert.
The value to return if is null.
The data type to convert to.
Converts a string to a Boolean (true/false) value.
The converted value.
The value to convert.
Converts a string to a Boolean (true/false) value and specifies a default value.
The converted value.
The value to convert.
The value to return if is null or is an invalid value.
Converts a string to a value.
The converted value.
The value to convert.
Converts a string to a value and specifies a default value.
The converted value.
The value to convert.
The value to return if is null or is an invalid value. The default is the minimum time value on the system.
Converts a string to a number.
The converted value.
The value to convert.
Converts a string to a number and specifies a default value.
The converted value.
The value to convert.
The value to return if is null or invalid.
Converts a string to a number.
The converted value.
The value to convert.
Converts a string to a number and specifies a default value.
The converted value.
The value to convert.
The value to return if is null.
Converts a string to an integer.
The converted value.
The value to convert.
Converts a string to an integer and specifies a default value.
The converted value.
The value to convert.
The value to return if is null or is an invalid value.
Checks whether a string can be converted to the specified data type.
true if can be converted to the specified type; otherwise, false.
The value to test.
The data type to convert to.
Checks whether a string can be converted to the Boolean (true/false) type.
true if can be converted to the specified type; otherwise, false.
The string value to test.
Checks whether a string can be converted to the type.
true if can be converted to the specified type; otherwise, false.
The string value to test.
Checks whether a string can be converted to the type.
true if can be converted to the specified type; otherwise, false.
The string value to test.
Checks whether a string value is null or empty.
true if is null or is a zero-length string (""); otherwise, false.
The string value to test.
Checks whether a string can be converted to the type.
true if can be converted to the specified type; otherwise, false.
The string value to test.
Checks whether a string can be converted to an integer.
true if can be converted to the specified type; otherwise, false.
The string value to test.
Contains methods and properties that describe a file information template.
Initializes a new instance of the class by using the specified virtual path.
The virtual path.
Gets the virtual path of the web page.
The virtual path.
Represents a last-in-first-out (LIFO) collection of template files.
Returns the current template file from the specified HTTP context.
The template file, removed from the top of the stack.
The HTTP context that contains the stack that stores the template files.
Removes and returns the template file that is at the top of the stack in the specified HTTP context.
The template file, removed from the top of the stack.
The HTTP context that contains the stack that stores the template files.
is null.
Inserts a template file at the top of the stack in the specified HTTP context.
The HTTP context that contains the stack that stores the template files.
The template file to push onto the specified stack.
or are null.
Implements validation for user input.
Registers a list of user input elements for validation.
The names (value of the name attribute) of the user input elements to validate.
The type of validation to register for each user input element specified in .
Registers a user input element for validation.
The name (value of the name attribute) of the user input element to validate.
A list of one or more types of validation to register.
Adds an error message.
The error message.
Renders an attribute that references the CSS style definition to use when validation messages for the user input element are rendered.
The attribute.
The name (value of the name attribute) of the user input element to validate.
Renders attributes that enable client-side validation for an individual user input element.
The attributes to render.
The name (value of the name attribute) of the user input element to validate.
Gets the name of the current form. This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The name.
Returns a list of current validation errors, and optionally lets you specify a list of fields to check.
The list of errors.
Optional. The names (value of the name attribute) of the user input elements to get error information for. You can specify any number of element names, separated by commas. If you do not specify a list of fields, the method returns errors for all fields.
Gets the name of the class that is used to specify the appearance of error-message display when errors have occurred. This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The name.
Determines whether the contents of the user input fields pass validation checks, and optionally lets you specify a list of fields to check.
true if all specified field or fields pass validation checks; false if any field contains a validation error.
Optional. The names (value of the name attribute) of the user input elements to check for validation errors. You can specify any number of element names, separated by commas. If you do not specify a list of fields, the method checks all elements that are registered for validation.
Registers the specified field as one that requires user entry.
The name (value of the name attribute) of the user input element to validate.
Registers the specified field as one that requires user entry and registers the specified string as the error message to display if no value is supplied.
The name (value of the name attribute) of the user input element to validate.
The error message.
Registers the specified fields as ones that require user entry.
The names (value of the name attribute) of the user input elements to validate. You can specify any number of element names, separated by commas.
Performs validation on elements registered for validation, and optionally lets you specify a list of fields to check.
The list of errors for the specified fields, if any validation errors occurred.
Optional. The names (value of the name attribute) of the user input elements to validate. You can specify any number of element names, separated by commas. If you do not specify a list, the method validates all registered elements.
Gets the name of the class that is used to specify the appearance of error-message display when errors have occurred. This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The name.
Defines validation tests that can be registered using the method.
Initializes a new instance of the class.
Defines a validation test that tests whether a value can be treated as a date/time value.
The validation test.
The error message to display if validation fails.
Defines a validation test that tests whether a value can be treated as a decimal number.
The validation test.
The error message to display if validation fails.
Defines a validation test that test user input against the value of another field.
The validation test.
The other field to compare.
The error message to display if validation fails.
Defines a validation test that tests whether a value can be treated as a floating-point number.
The validation test.
The error message to display if validation fails.
Defines a validation test that tests whether a value can be treated as an integer.
The validation test.
The error message to display if validation fails.
Defines a validation test that tests whether a decimal number falls within a specific range.
The validation test.
The minimum value. The default is 0.
The maximum value.
The error message to display if validation fails.
Defines a validation test that tests whether an integer value falls within a specific range.
The validation test.
The minimum value. The default is 0.
The maximum value.
The error message to display if validation fails.
Defines a validation test that tests a value against a pattern specified as a regular expression.
The validation test.
The regular expression to use to test the user input.
The error message to display if validation fails.
Defines a validation test that tests whether a value has been provided.
The validation test.
The error message to display if validation fails.
Defines a validation test that tests the length of a string.
The validation test.
The maximum length of the string.
The minimum length of the string. The default is 0.
The error message to display if validation fails.
Defines a validation test that tests whether a value is a well-formed URL.
The validation test.
The error message to display if validation fails.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents an ASP.NET Razor page.
Called from a derived class to create a new instance that is based on the class.
Gets or sets the object that is associated with a page.
The current context data.
Executes the code in a set of dependent pages.
Gets the object that is associated with a page.
An object that can render HTML form controls in a page.
Initializes an object that inherits from the class.
Gets the model that is associated with a page.
An object that represents a model that is associated with the view data for a page.
Gets the state of the model that is associated with a page.
The state of the model.
Adds a class to a list of classes that handle page execution and that implement custom features for pages.
The class to add.
Renders a content page.
An object that can write the output of the page.
The path of the page to render.
Data to pass to the page.
Gets the validation helper for the current page context.
The validation helper.
Serves as the base class for classes that represent an ASP.NET Razor page.
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, configures the current web page based on the configuration of the parent web page.
The parent page from which to read configuration information.
Creates a new instance of the class by using the specified virtual path.
The new object.
The virtual path to use to create the instance.
Attempts to create a WebPageBase instance from a virtualPath and wraps complex compiler exceptions with simpler messages
Called by content pages to create named content sections.
The name of the section to create.
The type of action to take with the new section.
Executes the code in a set of dependent web pages.
Executes the code in a set of dependent web pages by using the specified parameters.
The context data for the page.
The writer to use to write the executed HTML.
Executes the code in a set of dependent web pages by using the specified context, writer, and start page.
The context data for the page.
The writer to use to write the executed HTML.
The page to start execution in the page hierarchy.
Returns the text writer instance that is used to render the page.
The text writer.
Initializes the current page.
Returns a value that indicates whether the specified section is defined in the page.
true if the specified section is defined in the page; otherwise, false.
The name of the section to search for.
Gets or sets the path of a layout page.
The path of the layout page.
Gets the current object for the page.
The object.
Gets the stack of objects for the current page context.
The objects.
Provides property-like access to page data that is shared between pages, layout pages, and partial pages.
An object that contains page data.
Provides array-like access to page data that is shared between pages, layout pages, and partial pages.
A dictionary that contains page data.
Returns and removes the context from the top of the instance.
Inserts the specified context at the top of the instance.
The page context to push onto the instance.
The writer for the page context.
In layout pages, renders the portion of a content page that is not within a named section.
The HTML content to render.
Renders the content of one page within another page.
The HTML content to render.
The path of the page to render.
(Optional) An array of data to pass to the page being rendered. In the rendered page, these parameters can be accessed by using the property.
In layout pages, renders the content of a named section.
The HTML content to render.
The section to render.
The section was already rendered.-or-The section was marked as required but was not found.
In layout pages, renders the content of a named section and specifies whether the section is required.
The HTML content to render.
The section to render.
true to specify that the section is required; otherwise, false.
Writes the specified object as an HTML-encoded string.
The object to encode and write.
Writes the specified object as an HTML-encoded string.
The helper result to encode and write.
Writes the specified object without HTML-encoding it first.
The object to write.
Contains data that is used by a object to reference details about the web application, the current HTTP request, the current execution context, and page-rendering data.
Initializes a new instance of the class.
Initializes a new instance of the class by using the specified context, page, and model.
The HTTP request context data to associate with the page context.
The page data to share between pages, layout pages, and partial pages.
The model to associate with the view data.
Gets a reference to the current object that is associated with a page.
The current page context object.
Gets the model that is associated with a page.
An object that represents a model that is associated with the view data for a page.
Gets the object that is associated with a page.
The object that renders the page.
Gets the page data that is shared between pages, layout pages, and partial pages.
A dictionary that contains page data.
Provides objects and methods that are used to execute and render ASP.NET pages that include Razor syntax.
Initializes a new instance of the class. This constructor can only be called by an inherited class.
When overridden in a derived class, gets or sets the object that is associated with a page.
The current context data.
Returns the text writer instance that is used to render the page.
The text writer.
Writes the string representation of the specified object as an HTML-encoded string.
The object to encode and write.
Writes the specified object as an HTML-encoded string.
The helper result to encode and write.
Writes the specified object without HTML encoding.
The object to write.
Writes the specified object to the specified instance without HTML encoding.
The text writer.
The object to write.
Writes the specified object as an HTML-encoded string to the specified text writer.
The text writer.
The object to encode and write.
Writes the specified object as an HTML-encoded string to the specified text writer.
The text writer.
The helper result to encode and write.
Provides methods and properties that are used to process specific URL extensions.
Initializes a new instance of the class by using the specified web page.
The web page to process.
is null.
Creates a new handler object from the specified virtual path.
A object for the specified virtual path.
The virtual path to use to create the handler.
Gets or sets a value that indicates whether web page response headers are disabled.
true if web page response headers are disabled; otherwise, false.
Returns a list of file name extensions that the current instance can process.
A read-only list of file name extensions that are processed by the current instance.
Gets a value that indicates whether another request can use the instance.
true if the instance is reusable; otherwise, false.
Processes the web page by using the specified context.
The context to use when processing the web page.
Adds a file name extension to the list of extensions that are processed by the current instance.
The extension to add, without a leading period.
The HTML tag name (X-AspNetWebPages-Version) for the version of the ASP.NET Web Pages specification that is used by this web page.
Provides methods and properties that are used to render pages that use the Razor view engine.
Initializes a new instance of the class.
When overridden in a derived class, calls the methods that are used to initialize the page.
When overridden in a derived class, gets or sets the path of a layout page.
The path of a layout page.
When overridden in a derived class, provides property-like access to page data that is shared between pages, layout pages, and partial pages.
An object that contains page data.
When overridden in a derived class, provides array-like access to page data that is shared between pages, layout pages, and partial pages.
An object that provides array-like access to page data.
When overridden in a derived class, renders a web page.
The markup that represents the web page.
The path of the page to render.
Additional data that is used to render the page.
Provides support for rendering HTML form controls and performing form validation in a web page.
Creates a dictionary of HTML attributes from the input object, translating underscores to dashes.
A dictionary that represents HTML attributes.
Anonymous object describing HTML attributes.
Returns an HTML-encoded string that represents the specified object by using a minimal encoding that is suitable only for HTML attributes that are enclosed in quotation marks.
An HTML-encoded string that represents the object.
The object to encode.
Returns an HTML-encoded string that represents the specified string by using a minimal encoding that is suitable only for HTML attributes that are enclosed in quotation marks.
An HTML-encoded string that represents the original string.
The string to encode.
Returns an HTML check box control that has the specified name.
The HTML markup that represents the check box control.
The value to assign to the name attribute of the HTML control element.
is null or empty.
Returns an HTML check box control that has the specified name and default checked status.
The HTML markup that represents the check box control.
The value to assign to the name attribute of the HTML control element.
true to indicate that the checked attribute is set to checked; otherwise, false.
is null or empty.
Returns an HTML check box control that has the specified name, default checked status, and custom attributes defined by an attribute dictionary.
The HTML markup that represents the check box control.
The value to assign to the name attribute of the HTML control element.
true to indicate that the checked attribute is set to checked; otherwise, false.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML check box control that has the specified name, default checked status, and custom attributes defined by an attribute object.
The HTML markup that represents the check box control.
The value to assign to the name attribute of the HTML control element.
true to indicate that the checked attribute is set to checked; otherwise, false.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML check box control that has the specified name and custom attributes defined by an attribute dictionary.
The HTML markup that represents the check box control.
The value to assign to the name attribute of the HTML control element.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML check box control that has the specified name and custom attributes defined by an attribute object.
The HTML markup that represents the check box control.
The value to assign to the name attribute of the HTML control element.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML drop-down list control that has the specified name and that contains the specified list items.
The HTML markup that represents the drop-down list control.
The value to assign to the name attribute of the HTML select element.
A list of instances that are used to populate the list.
is null or empty.
Returns an HTML drop-down list control that has the specified name and custom attributes defined by an attribute dictionary, and that contains the specified list items.
The HTML markup that represents the drop-down list control.
The value to assign to the name attribute of the HTML select element.
A list of instances that are used to populate the list.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML drop-down list control that has the specified name and custom attributes defined by an attribute object, and that contains the specified list items.
The HTML markup that represents the drop-down list control.
The value to assign to the name attribute of the HTML select element.
A list of instances that are used to populate the list.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML drop-down list control that has the specified name, and that contains the specified list items and default item.
The HTML markup that represents the drop-down list control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list.
is null or empty.
Returns an HTML drop-down list control that has the specified name and custom attributes defined by an attribute dictionary, and that contains the specified list items and default item.
The HTML markup that represents the drop-down list control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML drop-down list control that has the specified name and custom attributes defined by an attribute object, and that contains the specified list items and default item.
The HTML markup that represents the drop-down list control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML drop-down list control that has the specified name, custom attributes defined by an attribute dictionary, and default selection, and that contains the specified list items and default item.
The HTML markup that represents the drop-down list control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list.
The value that specifies the item in the list that is selected by default. The selected item is the first item in the list whose value matches the parameter (or whose text matches, if there is no value.)
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML drop-down list control that has the specified name, custom attributes defined by an attribute object, and default selection, and that contains the specified list items and default item.
The HTML markup that represents the drop-down list control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list.
The value that specifies the item in the list that is selected by default. The item that is selected is the first item in the list that has a matching value, or that matches the items displayed text if the item has no value.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML-encoded string that represents the specified object by using a full encoding that is suitable for arbitrary HTML.
An HTML-encoded string that represents the object.
The object to encode.
Returns an HTML-encoded string that represents the specified string by using a full encoding that is suitable for arbitrary HTML.
An HTML-encoded string that represents the original string.
The string to encode.
Returns an HTML hidden control that has the specified name.
The HTML markup that represents the hidden control.
The value to assign to the name attribute of the HTML control element.
is null or empty.
Returns an HTML hidden control that has the specified name and value.
The HTML markup that represents the hidden control.
The value to assign to the name attribute of the HTML control element.
The value to assign to the value attribute of the element.
is null or empty.
Returns an HTML hidden control that has the specified name, value, and custom attributes defined by an attribute dictionary.
The HTML markup that represents the hidden control.
The value to assign to the name attribute of the HTML control element.
The value to assign to the value attribute of the element.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML hidden control that has the specified name, value, and custom attributes defined by an attribute object.
The HTML markup that represents the hidden control.
The value to assign to the name attribute of the HTML control element.
The value to assign to the value attribute of the element.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Gets or sets the character that is used to replace the dot (.) in the id attribute of rendered form controls.
The character that is used to replace the dot in the id attribute of rendered form controls. The default is an underscore (_).
Returns an HTML label that displays the specified text.
The HTML markup that represents the label.
The text to display.
is null or empty.
Returns an HTML label that displays the specified text and that has the specified custom attributes.
The HTML markup that represents the label.
The text to display.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML label that displays the specified text and that has the specified for attribute.
The HTML markup that represents the label.
The text to display.
The value to assign to the for attribute of the HTML control element.
is null or empty.
Returns an HTML label that displays the specified text, and that has the specified for attribute and custom attributes defined by an attribute dictionary.
The HTML markup that represents the label.
The text to display.
The value to assign to the for attribute of the HTML control element.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML label that displays the specified text, and that has the specified for attribute and custom attributes defined by an attribute object.
The HTML markup that represents the label.
The text to display.
The value to assign to the for attribute of the HTML control element.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML list box control that has the specified name and that contains the specified list items.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
A list of instances that are used to populate the list.
is null or empty.
Returns an HTML list box control that has the specified name and custom attributes defined by an attribute dictionary, and that contains the specified list items.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
A list of instances that are used to populate the list.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML list box control that has the specified name and custom attributes defined by an attribute object, and that contains the specified list items.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
A list of instances that are used to populate the list.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML list box control that has the specified name, size, list items, and default selections, and that specifies whether multiple selections are enabled.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
A list of instances that are used to populate the list.
An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object.
The value to assign to the size attribute of the element.
true to indicate that the multiple selections are enabled; otherwise, false.
is null or empty.
Returns an HTML list box control that has the specified name, and that contains the specified list items and default item.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list box.
is null or empty.
Returns an HTML list box control that has the specified name and custom attributes defined by an attribute dictionary, and that contains the specified list items and default item.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML list box control that has the specified name and custom attributes defined by an attribute object, and that contains the specified list items and default item.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list box.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML list box control that has the specified name and custom attributes defined by an attribute dictionary, and that contains the specified list items, default item, and selections.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list.
An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML list box control that has the specified name, size, items, default item, and selections, and that specifies whether multiple selections are enabled.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list.
An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object.
The value to assign to the size attribute of the element.
true to indicate that multiple selections are enabled; otherwise, false.
is null or empty.
Returns an HTML list box control that has the specified name, size, custom attributes defined by an attribute dictionary, items, default item, and selections, and that specifies whether multiple selections are enabled.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list.
An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object.
The value to assign to the size attribute of the element.
true to indicate that multiple selections are enabled; otherwise, false.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML list box control that has the specified name, size, custom attributes defined by an attribute object, items, default item, and selections, and that specifies whether multiple selections are enabled.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list.
An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object.
The value to assign to the size attribute of the element.
true to indicate that multiple selections are enabled; otherwise, false.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML list box control that has the specified name, items, default item, and custom attributes defined by an attribute object, and selections.
The HTML markup that represents the list box control.
The value to assign to the name attribute of the HTML select element.
The text to display for the default option in the list.
A list of instances that are used to populate the list.
An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Creates a dictionary from an object, by adding each public instance property as a key with its associated value to the dictionary. It will expose public properties from derived types as well. This is typically used with objects of an anonymous type.
The created dictionary of property names and property values.
The object to be converted.
Returns an HTML password control that has the specified name.
The HTML markup that represents the password control.
The value to assign to the name attribute of the HTML control element.
is null or empty.
Returns an HTML password control that has the specified name and value.
The HTML markup that represents the password control.
The value to assign to the name attribute of the HTML control element.
The value to assign to the value attribute of the element.
is null or empty.
Returns an HTML password control that has the specified name, value, and custom attributes defined by an attribute dictionary.
The HTML markup that represents the password control.
The value to assign to the name attribute of the HTML control element.
The value to assign to the value attribute of the element.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML password control that has the specified name, value, and custom attributes defined by an attribute object.
The HTML markup that represents the password control.
The value to assign to the name attribute of the HTML control element.
The value to assign to the value attribute of the element.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML radio button control that has the specified name and value.
The HTML markup that represents the radio button control.
The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to.
The value to assign to the value attribute of the element.
is null or empty.
Returns an HTML radio button control that has the specified name, value, and default selected status.
The HTML markup that represents the radio button control.
The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to.
The value to assign to the value attribute of the element.
true to indicate that the control is selected; otherwise, false.
is null or empty.
Returns an HTML radio button control that has the specified name, value, default selected status, and custom attributes defined by an attribute dictionary.
The HTML markup that represents the radio button control.
The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to.
The value to assign to the value attribute of the element.
true to indicate that the control is selected; otherwise, false.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML radio button control that has the specified name, value, default selected status, and custom attributes defined by an attribute object.
The HTML markup that represents the radio button control.
The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to.
The value to assign to the value attribute of the element.
true to indicate that the control is selected; otherwise, false.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML radio button control that has the specified name, value, and custom attributes defined by an attribute dictionary.
The HTML markup that represents the radio button control.
The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to.
The value to assign to the value attribute of the element.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML radio button control that has the specified name, value, and custom attributes defined by an attribute object.
The HTML markup that represents the radio button control.
The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to.
The value to assign to the value attribute of the element.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Wraps HTML markup in an instance so that it is interpreted as HTML markup.
The unencoded HTML.
The object to render HTML for.
Wraps HTML markup in an instance so that it is interpreted as HTML markup.
The unencoded HTML.
The string to interpret as HTML markup instead of being HTML-encoded.
Returns an HTML multi-line text input (text area) control that has the specified name.
The HTML markup that represents the text area control.
The value to assign to the name attribute of the HTML textarea element.
is null or empty.
Returns an HTML multi-line text input (text area) control that has the specified name and custom attributes defined by an attribute dictionary.
The HTML markup that represents the text area control.
The value to assign to the name attribute of the HTML textarea element.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML multi-line text input (text area) control that has the specified name and custom attributes defined by an attribute object.
The HTML markup that represents the text area control.
The value to assign to the name attribute of the HTML textarea element.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML multi-line text input (text area) control that has the specified name and value.
The HTML markup that represents the text area control.
The value to assign to the name attribute of the HTML textrarea element.
The text to display.
is null or empty.
Returns an HTML multi-line text input (text area) control that has the specified name, value, and custom attributes defined by an attribute dictionary.
The HTML markup that represents the text area control.
The value to assign to the name attribute of the HTML textarea element.
The text to display.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML multi-line text input (text area) control that has the specified name, value, row attribute, col attribute, and custom attributes defined by an attribute dictionary.
The HTML markup that represents the text area control.
The value to assign to the name attribute of the HTML textarea element.
The text to display.
The value to assign to the rows attribute of the element.
The value to assign to the cols attribute of the element.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML multi-line text input (text area) control that has the specified name, value, row attribute, col attribute, and custom attributes defined by an attribute object.
The HTML markup that represents the text area control.
The value to assign to the name attribute of the HTML textarea element.
The text to display.
The value to assign to the rows attribute of the element.
The value to assign to the cols attribute of the element.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML multi-line text input (text area) control that has the specified name, value, and custom attributes defined by an attribute object.
The HTML markup that represents the text area control.
The value to assign to the name attribute of the HTML textarea element.
The text to display.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML text control that has the specified name.
The HTML markup that represents the text control.
The value to assign to the name attribute of the HTML control element.
is null or empty.
Returns an HTML text control that has the specified name and value.
The HTML markup that represents the text control.
The value to assign to the name attribute of the HTML control element.
The value to assign to the value attribute of the element.
is null or empty.
Returns an HTML text control that has the specified name, value, and custom attributes defined by an attribute dictionary.
The HTML markup that represents the text control.
The value to assign to the name attribute of the HTML control element.
The value to assign to the value attribute of the element.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML text control that has the specified name, value, and custom attributes defined by an attribute object.
The HTML markup that represents the text control.
The value to assign to the name attribute of the HTML control element.
The value to assign to the value attribute of the element.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Gets or sets a value that indicates whether the page uses unobtrusive JavaScript for Ajax functionality.
true if the page uses unobtrusive JavaScript; otherwise, false.
Gets or sets the name of the CSS class that defines the appearance of input elements when validation fails.
The name of the CSS class. The default is field-validation-error.
Gets or sets the name of the CSS class that defines the appearance of input elements when validation passes.
The name of the CSS class. The default is input-validation-valid.
Returns an HTML span element that contains the first validation error message for the specified form field.
If the value in the specified field is valid, null; otherwise, the HTML markup that represents the validation error message that is associated with the specified field.
The name of the form field that was validated.
is null or empty.
Returns an HTML span element that has the specified custom attributes defined by an attribute dictionary, and that contains the first validation error message for the specified form field.
If the value in the specified field is valid, null; otherwise, the HTML markup that represents the validation error message that is associated with the specified field.
The name of the form field that was validated.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML span element that has the specified custom attributes defined by an attribute object, and that contains the first validation error message for the specified form field.
If the value in the specified field is valid, null; otherwise, the HTML markup that represents the validation error message that is associated with the specified field.
The name of the form field that was validated.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Returns an HTML span element that contains a validation error message for the specified form field.
If the value in the specified field is valid, null; otherwise, the HTML markup that represents the validation error message that is associated with the specified field.
The name of the form field that was validated.
The validation error message to display. If null, the first validation error message that is associated with the specified form field is displayed.
is null or empty.
Returns an HTML span element that has the specified custom attributes defined by an attribute dictionary, and that contains a validation error message for the specified form field.
If the specified field is valid, null; otherwise, the HTML markup that represents a validation error message that is associated with the specified field.
The name of the form field that was validated.
The validation error message to display. If null, the first validation error message that is associated with the specified form field is displayed.
The names and values of custom attributes for the element.
is null or empty.
Returns an HTML span element that has the specified custom attributes defined by an attribute object, and that contains a validation error message for the specified form field.
If the specified field is valid, null; otherwise, the HTML markup that represents a validation error message that is associated with the specified field.
The name of the form field that was validated.
The validation error message to display. If null, the first validation error message that is associated with the specified form field is displayed.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
is null or empty.
Gets or sets the name of the CSS class that defines the appearance of validation error messages when validation fails.
The name of the CSS class. The default is field-validation-error.
Gets or sets the name of the CSS class that defines the appearance of validation error messages when validation passes.
The name of the CSS class. The default is field-validation-valid.
Returns an HTML div element that contains an unordered list of all validation error messages from the model-state dictionary.
The HTML markup that represents the validation error messages.
Returns an HTML div element that contains an unordered list of validation error message from the model-state dictionary, optionally excluding field-level errors.
The HTML markup that represents the validation error messages.
true to exclude field-level validation error messages from the list; false to include both model-level and field-level validation error messages.
Returns an HTML div element that has the specified custom attributes defined by an attribute dictionary, and that contains an unordered list of all validation error messages that are in the model-state dictionary.
The HTML markup that represents the validation error messages.
The names and values of custom attributes for the element.
Returns an HTML div element that has the specified custom attributes defined by an attribute object, and that contains an unordered list of all validation error messages that are in the model-state dictionary.
The HTML markup that represents the validation error messages.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
Returns an HTML div element that contains a summary message and an unordered list of all validation error messages that are in the model-state dictionary.
The HTML markup that represents the validation error messages.
The message that comes before the list of validation error messages.
Returns an HTML div element that has the specified custom attributes defined by an attribute dictionary, and that contains a summary message and an unordered list of validation error message from the model-state dictionary, optionally excluding field-level errors.
The HTML markup that represents the validation error messages.
The summary message that comes before the list of validation error messages.
true to exclude field-level validation error messages from the results; false to include both model-level and field-level validation error messages.
The names and values of custom attributes for the element.
Returns an HTML div element that has the specified custom attributes defined by an attribute object, and that contains a summary message and an unordered list of validation error message from the model-state dictionary, optionally excluding field-level errors.
The HTML markup that represents the validation error messages.
The summary message that comes before the list of validation error messages.
true to exclude field-level validation error messages from the results; false to include and field-level validation error messages.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
Returns an HTML div element that has the specified custom attributes defined by an attribute dictionary, and that contains a summary message and an unordered list of all validation error message from the model-state dictionary.
The HTML markup that represents the validation error messages.
The message that comes before the list of validation error messages.
The names and values of custom attributes for the element.
Returns an HTML div element that has the specified custom attributes defined by an attribute object, and that contains a summary message and an unordered list of all validation error message from the model-state dictionary.
The HTML markup that represents the validation error messages.
The summary message that comes before the list of validation error messages.
An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object.
Gets or sets the name of the CSS class that defines the appearance of a validation summary when validation fails.
The name of the CSS class. The default is validation-summary-errors.
Gets or sets the name of the CSS class that defines the appearance of a validation summary when validation passes.
The name of the CSS class. The default is validation-summary-valid.
Encapsulates the state of model binding to a property of an action-method argument, or to the argument itself.
Initializes a new instance of the class.
Returns a list of strings that contains any errors that occurred during model binding.
The errors that occurred during model binding.
Returns an object that encapsulates the value that was bound during model binding.
The value that was bound.
Represents the result of binding a posted form to an action method, which includes information such as validation status and validation error messages.
Initializes a new instance of the class.
Initializes a new instance of the class by using values that are copied from the specified model-state dictionary.
The model-state dictionary that values are copied from.
Adds the specified item to the model-state dictionary.
The item to add to the model-state dictionary.
Adds an item that has the specified key and value to the model-state dictionary.
The key.
The value.
Adds an error message to the model state that is associated with the specified key.
The key that is associated with the model state that the error message is added to.
The error message.
Adds an error message to the model state that is associated with the entire form.
The error message.
Removes all items from the model-state dictionary.
Determines whether the model-state dictionary contains the specified item.
true if the model-state dictionary contains the specified item; otherwise, false.
The item to look for.
Determines whether the model-state dictionary contains the specified key.
true if the model-state dictionary contains the specified key; otherwise, false.
The key to look for.
Copies the elements of the model-state dictionary to an array, starting at the specified index.
The one-dimensional instance where the elements will be copied to.
The index in at which copying begins.
Gets the number of model states that the model-state dictionary contains.
The number of model states in the model-state dictionary.
Returns an enumerator that can be used to iterate through the collection.
An enumerator that can be used to iterate through the collection.
Gets a value that indicates whether the model-state dictionary is read-only.
true if the model-state dictionary is read-only; otherwise, false.
Gets a value that indicates whether any error messages are associated with any model state in the model-state dictionary.
true if any error messages are associated with any model state in the dictionary; otherwise, false.
Determines whether any error messages are associated with the specified key.
true if no error messages are associated with the specified key, or the specified key does not exist; otherwise, false.
The key.
is null.
Gets or sets the model state that is associated with the specified key in the model-state dictionary.
The model state that is associated with the specified key in the dictionary.
Gets a list that contains the keys in the model-state dictionary.
The list of keys in the dictionary.
Copies the values from the specified model-state dictionary into this instance, overwriting existing values when the keys are the same.
The model-state dictionary that values are copied from.
Removes the first occurrence of the specified item from the model-state dictionary.
true if the item was successfully removed from the model-state dictionary; false if the item was not removed or if the item does not exist in the model-state dictionary.
The item to remove.
Removes the item that has the specified key from the model-state dictionary.
true if the item was successfully removed from the model-state dictionary; false if the item was not removed or does not exist in the model-state dictionary.
The key of the element to remove.
Sets the value of the model state that is associated with the specified key.
The key to set the value of.
The value to set the key to.
Returns an enumerator that can be used to iterate through the model-state dictionary.
An enumerator that can be used to iterate through the model-state dictionary.
Gets the model-state value that is associated with the specified key.
true if the model-state dictionary contains an element that has the specified key; otherwise, false.
The key to get the value of.
When this method returns, if the key is found, contains the model-state value that is associated with the specified key; otherwise, contains the default value for the type. This parameter is passed uninitialized.
Gets a list that contains the values in the model-state dictionary.
The list of values in the dictionary.
Represents an item in an HTML select list.
Initializes a new instance of the class using the default settings.
Initializes a new instance of the class by copying the specified select list item.
The select list item to copy.
Gets or sets a value that indicates whether the instance is selected.
true if the select list item is selected; otherwise, false.
Gets or sets the text that is used to display the instance on a web page.
The text that is used to display the select list item.
Gets or sets the value of the HTML value attribute of the HTML option element that is associated with the instance.
The value of the HTML value attribute that is associated with the select list item.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a web pages instrumentation service.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Called before it renders the output for the specified context.
The context.
The virtual path.
The writer.
The start position.
The length of the context.
Determines whether the context is literal.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Called after it renders the output for the specified context.
The context.
The virtual path.
The writer.
The start position.
The length of the context.
Determines whether the context is literal.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value indicating whether the service is available.
true if the service is available; otherwise, false.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a position tagged.
The type of the position..
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class.
The value of this current instance.
The offset.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the specified object is equal to the current object.
true if the specified object is equal to the current object; otherwise, false.
The object to compare to.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the hash code of the current instance.
The hash code of the current instance.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two objects are equal.
true if the two objects are equal; otherwise, false.
The first object.
The second object.
Converts the specified object to a object.
The that represents the converted .
The object to convert.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Converts the to a object.
The that represents the converted .
The object to convert.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two objects are not equal.
true if the two objects are not equal; otherwise, false.
The first object.
The second object.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the position associated with the .
The position associated with the .
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a string representation of the object.
A string that represents the object.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the value of the current instance.
The value of the current instance.
Defines an ASP.NET request scope storage provider.
Initializes a new instance of the class.
Gets the dictionary to store data in the application scope.
The dictionary that stores application scope data.
Gets or sets the dictionary to store data in the current scope.
The dictionary that stores current scope data.
Gets the dictionary to store data in the global scope.
The dictionary that stores global scope data.
Gets the dictionary to store data in the request scope.
The dictionary that stores request scope data.
Defines a dictionary that provides scoped access to data.
Gets and sets the dictionary that is used to store data in the current scope.
The dictionary that stores current scope data.
Gets the dictionary that is used to store data in the global scope.
The dictionary that stores global scope data.
Defines a class that is used to contain storage for a transient scope.
Returns a dictionary that is used to store data in a transient scope, based on the scope in the property.
The dictionary that stores transient scope data.
Returns a dictionary that is used to store data in a transient scope.
The dictionary that stores transient scope data.
The context.
Gets or sets the current scope provider.
The current scope provider.
Gets the dictionary that is used to store data in the current scope.
The dictionary that stores current scope data.
Gets the dictionary that is used to store data in the global scope.
The dictionary that stores global scope data.
Represents a collection of keys and values that are used to store data at different scope levels (local, global, and so on).
Initializes a new instance of the class.
Initializes a new instance of the class using the specified base scope.
The base scope.
Adds a key/value pair to the object using the specified generic collection.
The key/value pair.
Adds the specified key and specified value to the object.
The key.
The value.
Gets the dictionary that stores the object data.
Gets the base scope for the object.
The base scope for the object.
Removes all keys and values from the concatenated and objects.
Returns a value that indicates whether the specified key/value pair exists in either the object or in the object.
true if the object or the object contains an element that has the specified key/value pair; otherwise, false.
The key/value pair.
Returns a value that indicates whether the specified key exists in the object or in the object.
true if the object or the object contains an element that has the specified key; otherwise, false.
The key.
Copies all of the elements in the object and the object to an object, starting at the specified index.
The array.
The zero-based index in .
Gets the number of key/value pairs that are in the concatenated and objects.
The number of key/value pairs.
Returns an enumerator that can be used to iterate through concatenated and objects.
An object.
Returns an enumerator that can be used to iterate through the distinct elements of concatenated and objects.
An enumerator that contains distinct elements from the concatenated dictionary objects.
Gets a value that indicates whether the object is read-only.
true if the object is read-only; otherwise, false.
Gets or sets the element that is associated with the specified key.
The element that has the specified key.
Gets a object that contains the keys from the concatenated and objects.
An object that contains that contains the keys.
Removes the specified key/value pair from the concatenated and objects.
true if the key/value pair is removed, or false if is not found in the concatenated and objects.
The key/value pair.
Removes the value that has the specified key from the concatenated and objects.
true if the key/value pair is removed, or false if is not found in the concatenated and objects.
The key.
Sets a value using the specified key in the concatenated and objects.
The key.
The value.
Returns an enumerator for the concatenated and objects.
The enumerator.
Gets the value that is associated with the specified key from the concatenated and objects.
true if the concatenated and objects contain an element that has the specified key; otherwise, false.
The key.
When this method returns, if the key is found, contains the value that is associated with the specified key; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized.
Gets a object that contains the values from the concatenated and objects.
The object that contains the values.
Provides scoped access to static data.
Initializes a new instance of the class.
Gets or sets a dictionary that stores current data under a static context.
The dictionary that provides current scoped data.
Gets a dictionary that stores global data under a static context.
The dictionary that provides global scoped data.