Asp.Net Questions and Answers - 1

Question: 1

Define ASP.NET?

ASP.NET is a part of .NET Framework and is a technology that allows for the dynamic creation of documents on a web server when they are requested via the HTTP.

ASP.NET is similar to many other technologies such as PHP, ASP or Cold Fusion.

Question: 2

What is called ASP.NET file?

An ASP.NET file can contain any of the following

Processing instructions for the server.

Code in C#, Visual Basic .NET, Jscript.NET, or any other language that the .NET Framework supports.

HTML codes.

Client side script code.

Embedded ASP.NET server controls.

Question: 3

List any four web forms life cycle events?

Initialize,

Load View

State,

Process Post back Data,

Load

Send post back Change Modifications, Handle Post back Events.

Question: 4

Define view state?

Information such as the state of controls on a web form is stored in a hidden view state field that is part of the page generated by the server and passed to the user.

Question: 5

What is the use of web.config?

The web.config file is an XML formatted text file comprising numerous sections and subsections.

They are : <app Settings>, <location>, <System.Web>

Related Questions