Asp.Net Interview Questions and Answers Pdf - 1

Question: 1

What are ASP.NET Web Forms?

Web Forms are the User Interface (UI) elements that give your Web applications their look and feel.

Web Forms are similar to Windows Forms in that they provide properties, methods and events for the controls that are placed onto them. However, these UI elements render themselves in the appropriate markup language required by the request, e.g. HTML.

If you Microsoft Visual Studio .NET, you will also get the familiar drag and drop interface used to create your UI for Web application.

Question: 2

Difference between Classic ASP and ASP.Net?

ASP is Interpreted language based on scripting languages like Jscript or VBScript.

ASP has Mixed HTML and coding logic.

Limited development and debugging tools available.

Limited OOPS support.

Limited session and application state management.

Poor Error handling system.

No in-built support for XML.

No fully distributed data source support.

Net is supported by compiler and has compiled language support.

Separate code and design logic possible.

Variety of compilers and tools available including the Visual studio.Net.

Completely Object Oriented.

Complete session and application state management.

Full proof error handling possible.

Full XML Support for easy da

Question: 3

Which class deals wit the user’s locale information?

Web.UI.Page.Culture

Question: 4

What is a bubbled event?

When a complex control like datalist or datagrid, which contains a child control, using an itemcommand can listen to the events raised by the child control in the main control.

The process of listening to the child control in the main or parent control is called as event bubbling.

Question: 5

What is the Web User Control?

Combines existing Server and/or HTML controls by using VS.Net to create functional units that encapsulate some aspects of UI.

Resides in Content Files, which must be included in project in which the controls are used.

Related Questions