Share via


System.Web.WebPages Namespace

The System.Web.WebPages namespace contains core classes that are used to render and execute pages that are built using ASP.NET Web Pages with the Razor syntax.

Classes

  Class Description
Public class ApplicationPart Contains methods to register assemblies as application parts.
Public class ApplicationStartPage Provides objects and methods that are used to execute and render ASP.NET Web Pages application start pages (_AppStart.cshtml or _AppStart.vbhtml files).
Public class AttributeValue 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.
Public class BrowserHelpers Provides a way to specify custom browser (user agent) information.
Public class BrowserOverrideStore 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.
Public class BrowserOverrideStores This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public class CookieBrowserOverrideStore 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.
Public class DefaultDisplayMode 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.
Public class DisplayInfo 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.
Public class DisplayModeProvider 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.
Public class HelperPage 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.
Public class HelperResult This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public class HttpContextExtensions This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public class PageVirtualPathAttribute Represents a path attribute for a web page class.
Public class PreApplicationStartCode Provides a registration point for pre-application start code for web pages.
Public class RequestExtensions Defines extension methods for the HttpRequestBase class.
Public class RequestFieldValidatorBase Serves as the abstract base class for the validation helper classes.
Public class ResponseExtensions Defines extension methods for the HttpResponseBase base class.
Public class StartPage Provides methods and properties that are used to render start pages that use the Razor view engine.
Public class StringExtensions Provides utility methods for converting string values to other data types.
Public class TemplateFileInfo Contains methods and properties that describe a file information template.
Public class TemplateStack Represents a last-in-first-out (LIFO) collection of ITemplateFile template files.
Public class ValidationHelper Implements validation for user input.
Public class Validator Defines validation tests that can be registered using the ValidationHelper.Add method.
Public class VirtualPathFactoryManager This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public class WebPage Represents an ASP.NET Razor page.
Public class WebPageBase Serves as the base class for classes that represent an ASP.NET Razor page.
Public class WebPageContext Contains data that is used by a WebPage object to reference details about the web application, the current HTTP request, the current execution context, and page-rendering data.
Public class WebPageExecutingBase Provides objects and methods that are used to execute and render ASP.NET pages that include Razor syntax.
Public class WebPageHttpHandler Provides methods and properties that are used to process specific URL extensions.
Public class WebPageRenderingBase Provides methods and properties that are used to render pages that use the Razor view engine.

Interfaces

  Interface Description
Public interface IDisplayMode 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.
Public interface ITemplateFile This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public interface IValidator 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.
Public interface IVirtualPathFactory Defines methods that are implemented by virtual path handler factories.
Public interface IWebPageRequestExecutor Defines methods to implement an executor class that can execute the code on a web page.

Delegates

  Delegate Description
Public delegate SectionWriter Provides a delegate that represents one or more methods that are called when a content section is written.

Enumerations

  Enumeration Description
Public enumeration BrowserOverride Specifies browser types that can be defined for the BrowserHelpers.SetOverriddenBrowser method.