Hussain Ahmed
what are the major built-in objects in ASP.NET?
By Hussain Ahmed in .NET on May 29 2014
  • Shivam Shukla
    Feb, 2015 20

    ASP Built-in Objects • Application Object: • ASPError Object: • ObjectContext Object: • Request Object: • Response Object: • ScriptingContext Object: • Server Object: • Session Object: Application Object: Describes the methods, properties, and collections of the object that stores information related to the entire Web application, including variables and objects that exist for the lifetime of the application. ASPError Object: Describes the properties of the object that stores information about an error condition. ObjectContext Object: Describes a wrapper for the COM+ ObjectContext object, which provides methods and events that are used only for transaction processing. Request Object: Describes the methods, properties, and collections of the object that stores information related to the HTTP request. This includes forms, cookies, server variables, and certificate data. Response Object: Describes the methods, properties, and collections of the object that stores information related to the server's response. This includes displaying content, manipulating headers, setting locales, and redirecting requests. ScriptingContext Object: In a component, the ScriptingContext object returns references to the ASP built-in objects; however, this is an obsolete and unsupported method, removed in IIS 4.0. Use the COM+ ObjectContext object to return references to the ASP built-in objects. For more information, see COM+ ObjectContext Reference to the ASP Built-In Objects. Server Object: Describes the methods and properties of the object that provides methods for various server tasks. With these methods you can execute code, get error conditions, encode text strings, create objects for use by the Web page, and map physical paths. Session Object: Describes the methods, properties, and collections of the object that stores information related to the user's session, including variables and objects that exist for the lifetime of the session.

    • 1
  • Hussain Ahmed
    May, 2014 29

    1) Application2) Request3) Response4) Server5) Session6) Context7) Trace

    • 1


Most Popular Job Functions


MOST LIKED QUESTIONS