Delen via


ApplicationStartPage Class

Definition

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 abstract class ApplicationStartPage : System.Web.WebPages.WebPageExecutingBase
type ApplicationStartPage = class
    inherit WebPageExecutingBase
Public MustInherit Class ApplicationStartPage
Inherits WebPageExecutingBase
Inheritance
ApplicationStartPage

Constructors

ApplicationStartPage()

Initializes a new instance of the ApplicationStartPage class.

Fields

CacheKeyPrefix

The prefix that is applied to all keys that are added to the cache by the application start page.

StartPageVirtualPath

The path to the application start page.

Properties

App (Inherited from WebPageExecutingBase)
Application

Gets the HTTP application object that references this application startup page.

AppState (Inherited from WebPageExecutingBase)
Context

Gets the HttpContextBase object that represents context data that is associated with this page.

Markup

Gets the output from the application start page as an HTML-encoded string.

Output

Gets the text writer for the page.

VirtualPath

Gets or sets the virtual path of the page.

VirtualPathFactory (Inherited from WebPageExecutingBase)

Methods

BeginContext(Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
BeginContext(String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
BeginContext(TextWriter, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
BeginContext(TextWriter, String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
EndContext(Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
EndContext(String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
EndContext(TextWriter, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
EndContext(TextWriter, String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
Execute() (Inherited from WebPageExecutingBase)
GetOutputWriter()

Returns the text writer instance that is used to render the page.

Href(String, Object[]) (Inherited from WebPageExecutingBase)
NormalizeLayoutPagePath(String) (Inherited from WebPageExecutingBase)
NormalizePath(String) (Inherited from WebPageExecutingBase)
Write(HelperResult)

Writes the specified HelperResult object as an HTML-encoded string.

Write(Object)

Writes the string representation of the specified object as an HTML-encoded string.

WriteAttribute(String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) (Inherited from WebPageExecutingBase)
WriteAttributeTo(String, TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) (Inherited from WebPageExecutingBase)
WriteAttributeTo(TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) (Inherited from WebPageExecutingBase)
WriteLiteral(Object)

Writes the specified object without HTML encoding.

Applies to