WebPageExecutingBase Class

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

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public abstract class WebPageExecutingBase

The WebPageExecutingBase type exposes the following members.

Protected methodWebPageExecutingBaseInitializes the WebPageExecutingBase class for use by an inherited class instance. This constructor can only be called by an inherited class.

Public propertyAppGets the application-state data as a DynamicObject object that callers can use to create and access custom application-scoped properties.
Public propertyAppStateGets a reference to global application-state data that can be shared across sessions and requests in an ASP.NET application.
Public propertyContextWhen overridden in a derived class, gets or sets the HttpContextBase object that is associated with a page.
Public propertyVirtualPathGets or sets the virtual path of the page.

Public methodEquals (Inherited from Object.)
Public methodExecuteExecutes the server code in the current web page that is marked using Razor syntax.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNormalizePathReturns a normalized path from the specified path.
Public methodToString (Inherited from Object.)
Public methodWrite(Object)Writes the string representation of the specified object as an HTML-encoded string.
Public methodWrite(HelperResult)Writes the specified HelperResult object as an HTML-encoded string.
Public methodWriteLiteralWrites the specified object without HTML encoding.
Public methodStatic memberWriteLiteralToWrites the specified object to the specified TextWriter instance without HTML encoding.
Public methodStatic memberWriteTo(TextWriter, Object)Writes the specified object as an HTML-encoded string to the specified text writer.
Public methodStatic memberWriteTo(TextWriter, HelperResult)Writes the specified HelperResult object as an HTML-encoded string to the specified text writer.

Notes to Inheritors

When you inherit from the WebPageExecutingBase class, you must override the following members: Execute(), Write(Object), Write(HelperResult), and WriteLiteral(Object).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.