Delen via


System.Web.WebPages Namespace

Classes

ApplicationPart

Contains methods to register assemblies as application parts.

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).

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.

BrowserHelpers

Provides a way to specify custom browser (user agent) information.

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.

BrowserOverrideStores

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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.

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.

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.

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.

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.

HelperResult

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

HttpContextExtensions

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

PageVirtualPathAttribute

Represents a path attribute for a web page class.

PreApplicationStartCode

Provides a registration point for pre-application start code for web pages.

RequestExtensions

Defines extension methods for the HttpRequestBase class.

RequestFieldValidatorBase

Serves as the abstract base class for the validation helper classes.

ResponseExtensions

Defines extension methods for the HttpResponseBase base class.

StartPage

Provides methods and properties that are used to render start pages that use the Razor view engine.

StringExtensions

Provides utility methods for converting string values to other data types.

TemplateFileInfo

Contains methods and properties that describe a file information template.

TemplateStack

Represents a last-in-first-out (LIFO) collection of ITemplateFile template files.

ValidationHelper

Implements validation for user input.

Validator

Defines validation tests that can be registered using the Add(String, IValidator[]) method.

VirtualPathFactoryManager

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

WebPage

Represents an ASP.NET Razor page.

WebPageBase

Serves as the base class for classes that represent an ASP.NET Razor page.

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.

WebPageExecutingBase

Provides objects and methods that are used to execute and render ASP.NET pages that include Razor syntax.

WebPageHttpHandler

Provides methods and properties that are used to process specific URL extensions.

WebPageRenderingBase

Provides methods and properties that are used to render pages that use the Razor view engine.

Interfaces

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.

ITemplateFile

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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.

IVirtualPathFactory

Defines methods that are implemented by virtual path handler factories.

IWebPageRequestExecutor

Defines methods to implement an executor class that can execute the code on a web page.

Enums

BrowserOverride

Specifies browser types that can be defined for the SetOverriddenBrowser(HttpContextBase, BrowserOverride) method.

Delegates

SectionWriter

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