asp.net inbuilt object:-
- response object:-
-> this class is used to inject text into the page, jump to another page.
<!DOCTYPE html> <html> <body> <p>ASP present plain text:</p> <%response.write("Hello Friends!")%> </body> </html>
Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load Response.Write("hii") End Sub End Class
- request object:-
-> When a browser asks for a page from a server, it is called a request. use of a the page request to get information from a visitor.
-> we are going to view only request.querystring()only.
- context object:-
-> it provides access to the entire current context(including the request object).
-> we can use this class to share information between pages.
- application object:-
-> it provides access to application-wide methods and events for all sessions.
-> we will see this topic in application state management.
- session object:-
-> it provides information to the current user session.
-> we will see this topic in a session management.
- trace object:-
-> it provides a way to display both system and custom trace diagnostic messages in the HTTP page output.