Thursday, April 12, 2007

Introduction To ASP.Net Part1

The Web Controls unit covers basic Webform controls and input validation controls.

Web Forms:

-Allow the use of any.NET programming language.

-Enhance performance by dividing Web applications into visual and logical parts.

-use an object model.

-are capable of running on any browser.

-have an .aspx extension.

Which of the following contains an event handler:

-onServerClick="Greet" runat="server"

Web Controls:

-Specify whether the event of a control warrants immediate sending to a server or caching.

-exist within the System.HTML.UI.WebControls namespace.

-exist within the System.Web.UI.WebControls namespace.

-support mobile and small-screen devices.

-produce complex interface elements on the client and complex task-specific output.

-facilitate automatic browser detection.

Sequence the steps in executing an ASP.NET server control.

1.The action and method attributes of the Web Form are created.

2.Unique id and name attributes are added to the Web Form.

3.A value attribute and a text value are added for each control.

4. A hidden control is added to the Web Form.

Identify the closing tag of a

The function of the IsPostBack property is to:

-enable handling of Postback forms.

Which are the principal features of ASP.NET:

-Greater scalability

-Multiple language support

-Cookie-less sessions

-Increased performance

-useful classes and namespaces.

Place in the correct order the events in the ASP.NET page event life cycle:

-Page_Init - Page_Load - Control Event - Page_Unload

The components of the .NET Framework:

-Web Forms and Web Services, Data, Windows.Forms, CLR, BCL.

Select the features of server controls:

-Identified by using the value of the id attribute

-Created by adding the runat="server" attribute value pair to an existing HTML tag.

-Enable multiple page navigation while bypassing cutom query string parameters.

-Enable a Web page to support multiple browsers.

-Can handle multiple control action events.

HTML server controls:

-Allow automatic management of Web Form control values.

-contain a runat="server" attribute value pair.

-exist within the System.Web.UI.HtmlControls namespace.

Identify the components of the ASP.NET page processing model:

-Memory

-Compiler

-Output cache

-Assembly cache.

-Parser.

Select the limitations of ASP:

-Scripting code must be interpreted the first time the file is requested

-State management is limited.

-Even simple tasks require involved code in ASP.

-Files can only be updated whent the Web server is down.

-It is difficult to deploy COM objects.

Which are types of ASP.NET server controls?

-Web

-HTML

No comments:

Labels

Blog Archive