ApplicationStartPage Class

Provides objects and methods that are used to execute and render ASP.NET Web Pages application start pages (_AppStart.cshtml or _AppStart.vbhtml files).

Inheritance Hierarchy

System.Object
  System.Web.WebPages.WebPageExecutingBase
    System.Web.WebPages.ApplicationStartPage

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

Syntax

'Declaration
Public MustInherit Class ApplicationStartPage _
    Inherits WebPageExecutingBase
'Usage
Dim instance As ApplicationStartPage
public abstract class ApplicationStartPage : WebPageExecutingBase
public ref class ApplicationStartPage abstract : public WebPageExecutingBase
[<AbstractClassAttribute>]
type ApplicationStartPage =  
    class 
        inherit WebPageExecutingBase 
    end
public abstract class ApplicationStartPage extends WebPageExecutingBase

The ApplicationStartPage type exposes the following members.

Constructors

  Name Description
Protected method ApplicationStartPage Initializes a new instance of the ApplicationStartPage class.

Top

Properties

  Name Description
Public property App (Inherited from WebPageExecutingBase.)
Public property Application Gets the HTTP application object that references this application startup page.
Public property AppState (Inherited from WebPageExecutingBase.)
Public property Context Gets the HttpContextBase object that represents context data that is associated with this page. (Overrides WebPageExecutingBase.Context.)
Public propertyStatic member Markup Gets the output from the application start page as an HTML-encoded string.
Public property Output Gets the text writer for the page.
Public property VirtualPath Gets or sets the virtual path of the page. (Overrides WebPageExecutingBase.VirtualPath.)
Public property VirtualPathFactory (Inherited from WebPageExecutingBase.)

Top

Methods

  Name Description
Protected method BeginContext(Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method BeginContext(TextWriter, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method BeginContext(String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method BeginContext(TextWriter, String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method EndContext(Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method EndContext(TextWriter, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method EndContext(String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method EndContext(TextWriter, String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Public method Equals (Inherited from Object.)
Public method Execute (Inherited from WebPageExecutingBase.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetOutputWriter Returns the text writer instance that is used to render the page. (Overrides WebPageExecutingBase.GetOutputWriter().)
Public method GetType (Inherited from Object.)
Public method Href (Inherited from WebPageExecutingBase.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method NormalizeLayoutPagePath (Inherited from WebPageExecutingBase.)
Public method NormalizePath (Inherited from WebPageExecutingBase.)
Public method ToString (Inherited from Object.)
Public method Write(Object) Writes the string representation of the specified object as an HTML-encoded string. (Overrides WebPageExecutingBase.Write(Object).)
Public method Write(HelperResult) Writes the specified HelperResult object as an HTML-encoded string. (Overrides WebPageExecutingBase.Write(HelperResult).)
Public method WriteAttribute (Inherited from WebPageExecutingBase.)
Public method WriteAttributeTo(TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) (Inherited from WebPageExecutingBase.)
Protected method WriteAttributeTo(String, TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) (Inherited from WebPageExecutingBase.)
Public method WriteLiteral Writes the specified object without HTML encoding. (Overrides WebPageExecutingBase.WriteLiteral(Object).)

Top

Fields

  Name Description
Public fieldStatic member CacheKeyPrefix The prefix that is applied to all keys that are added to the cache by the application start page.
Public fieldStatic member StartPageVirtualPath The path to the application start page.

Top

Thread Safety

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

See Also

Reference

System.Web.WebPages Namespace

Other Resources

Customizing Site-Wide Behavior