Share via


System.Web.Helpers Namespace

The System.Web.Helpers namespace contains classes that simplify programming in ASP.NET Web Pages by providing ready-made solutions for common functionality. This namespace includes classes that help you to provide security, to validate form data, to organize and display information and images, to send email messages, and to work with data returned from web services.

Classes

  Class Description
Public class AntiForgery Helps prevent malicious scripts from submitting forged page requests.
Public class AntiForgeryConfig Provides programmatic configuration for the anti-forgery token system.
Public class Chart Displays data in the form of a graphical chart.
Public class ChartTheme Specifies visual themes for a Chart object.
Public class Crypto Provides methods to generate hash values and encrypt passwords or other sensitive data.
Public class DynamicJsonArray Represents a series of values as a JavaScript-like array by using the dynamic capabilities of the Dynamic Language Runtime (DLR).
Public class DynamicJsonObject Represents a collection of values as a JavaScript-like object by using the capabilities of the Dynamic Language Runtime.
Public class Json Provides methods for working with data in JavaScript Object Notation (JSON) format.
Public class ObjectInfo Renders the property names and values of the specified object and of any subobjects that it references.
Public class ServerInfo Displays information about the web server environment that hosts the current web page.
Public class UnvalidatedRequestValues Obsolete. Provides access to unvalidated form values in the HttpRequest object.
Public class Validation Obsolete. Excludes fields of the Request object from being checked for potentially unsafe HTML markup and client script.
Public class WebCache Provides a cache to store frequently accessed data.
Public class WebGrid Displays data on a web page using an HTML table element.
Public class WebGridColumn Represents a column in a WebGrid instance.
Public class WebGridRow Represents a row in a WebGrid instance.
Public class WebImage Represents an object that lets you display and manage images in a web page.
Public class WebMail Provides a way to construct and send an email message using Simple Mail Transfer Protocol (SMTP).

Interfaces

  Interface Description
Public interface IAntiForgeryAdditionalDataProvider Provides a way to include or validate custom data for anti-forgery tokens.

Enumerations

  Enumeration Description
Public enumeration SortDirection Specifies the direction in which to sort a list of items.
Public enumeration WebGridPagerModes Specifies flags that describe the methods that are provided for moving between the pages of a WebGrid instance.This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.