Dot Net 4
Dot Net 4
Q1. ASP.NET?
• ASP.NET is a server-side technology used for developing dynamic websites
and web applications.
• ASP.NET aids developers to create web applications by using HTML, CSS,
and JavaScript
• ASP.NET is the latest version of Active Server Pages, which Microsoft
developed to build websites.
• It is a web application framework released in 2002 and had an extension of
.aspx.
Q4.ASP.NET ARCHITECTURE
The architecture of the Net framework is based on the following key components:
1. Language: A variety of languages exists for .net framework. They are VB.net
and C#. These can be used to develop web applications.
2. Library: The.NET Framework includes a set of standard class libraries. The most
common library used for web applications in net is the Web library. The web
library has all the necessary components used to develop Net web-based
applications.
3. Common Language Runtime: The Common Language Infrastructure or CLI is a
platform. .Net programs are executed on this platform. The CLR is used for
performing key activities. Activities include Exception handling and Garbage
collection.
Q5.HTML controls
1. Button: It is used to create HTML button.
2. Reset Button: Resets all other HTML form elements on a form to a default
value
3. Submit Button: Automatically POSTs the form data to the specified page
listed in the Action attribute in the FORM tag
4. Text Field: Gives the user an input area on an HTML form
5. Text Area: Used for multi-line input on an HTML form
6. CheckBox: Gives the user a check box that they can select or clear
7. Radio Button: Used two or more to a form, and allows the user to choose
one of the controls
Q6. Properties and Methods of HTTPRequest Class
• Following are some of the important properties of the HttpRequest class
1.Path: This property retrieves the virtual path of the current request.Path
retrieves the path of the current URL request.The method Response.Write()
displays the retrieved path.
2.PathInfo:This property retrieves the additional path information of the current
request retrieves the information only for resources that have a URL extension.
Syntax is:public string PathInfo { get };
3.UserAgent:This property retrieves the user agent string of the client browser. C
4.UserHostAddress:This property retrieves the host Internet Protocol (IP) address
of the remote client who makes the request.
5.TotalByte(): This property retrieves the number of bytes in the current input
stream.
6. BinaryRead(): This method is used to retrieve the data sent to the server from
the client.
7. GetType(): This method retrieves the type of the current instance.
Q7. Properties of server object
1. MachineName: Name of server computer
2. ScriptTimeOut: Gets and sets the request time-out value in seconds.