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.
| Class | Description | |
|---|---|---|
|
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). |
|
HelperPage | Represents a base class that is used when ASP.NET compiles a .cshtml or .vbhtml file that is in the App_Code folder. |
|
HelperResult | Represents the result of a helper action as an HTML-encoded string. |
|
HttpContextExtensions | Provides methods to extend the HTTP context. |
|
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. |
|
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. |
|
VirtualPathFactoryManager | Contains methods that are used for managing virtual path factories. |
|
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. |
| Interface | Description | |
|---|---|---|
|
ITemplateFile | Defines an interface to provide information about the currently executing file. |
|
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. |
| Delegate | Description | |
|---|---|---|
|
SectionWriter | Provides a delegate that represents one or more methods that are called when a content section is written. |