web technology Online Quiz - 32

Description: web technology Online Quiz - 32
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

Which keyword is used to prevent an action method is being accessed publically?

  1. [Private]

  2. [NonAction]

  3. [Internal]

  4. [Protected]

Correct Option: B

Data Annotation Validator attributes include?

  1. Required

  2. Range

  3. StringLength

  4. All of the above

Correct Option: D

ASP.Net MVC Applications are?

  1. Looslely coupled

  2. with User friendly URL

  3. Less complex

  4. All of the above

Correct Option: D

MVC 2.0 application execution process is handled through?

  1. UrlRoutingModule

  2. Page Event

  3. a or b

  4. None of the above

Correct Option: A

Controller’s action methods cannot be unit tested without Model generation?

  1. True

  2. False

Correct Option: B

ASP.NET MVC views are with extension of?

  1. .aspx

  2. .ascx

  3. .html

  4. All of the above

Correct Option: A,B

Different types of action filters in ASP.Net MVC 2.0?

  1. IAuthorizationFilter

  2. IActionFilter

  3. IResultFilter

  4. IExceptionFilter

  5. All of the above

Correct Option: E

ASP.Net MVC 2.0 requires below software version?

  1. Visual Studio 2008

  2. Visual Studio 2008 SP1

  3. Visual Studio 2010

  4. All of the above

Correct Option: B,C

Controller’s action methods must be (Select multiple options)?

  1. Defined as public method

  2. Should not be static method

  3. Can have ref and out parameters

  4. Can have generic types

Correct Option: A,B,C

WCF was introduced with which framework of dontnet?

  1. 3.0

  2. 3.5

  3. 2.0

  4. 4.0

Correct Option: A

what does ABC stands for in WCF?

  1. Address,Binding, Connection

  2. Action,Binding, Contract

  3. Action, Behaviour, Connection

  4. Address,Binding,Contract

Correct Option: D

Which is the default mode for Instancing in WCF?

  1. Singleton

  2. PerSession

  3. PerCall

  4. IsRequired

Correct Option: C

Which is the default Message Exchange Pattern (MEP) ?

  1. OneWay

  2. Request/Response

  3. Duplex

  4. Request

Correct Option: B

What was the code name for WCF?

  1. Indigo

  2. Blue

  3. Red

  4. Violet

Correct Option: A

Which is an invalid contracts in WCF?

  1. FaultContract

  2. OperationContract

  3. ServiceContract

  4. BehaviourContract

Correct Option: D

Which contract is used to document the errors occurred in the service to client?

  1. ErrorContract

  2. FaultContract

  3. MessageContract

  4. OperationContract

Correct Option: B

Which of the following ways can you proactively clean up a database connection's resources?

  1. Execute the DbConnection object's Cleanup method.

  2. Assign Nothing (C# null) to the variable that references the DbConnection object.

  3. Execute the DbConnection object's Close method.

  4. Execute the DbConnection object's Disconnect method.

Correct Option: C

Which method is used to commit all changes in the DataSet or DataTable?

  1. AcceptChanges

  2. Update

  3. GetChanges

  4. Accept

Correct Option: A

Which method is used to create a new row in a Table?

  1. Add()

  2. NewRow()

  3. Read()

  4. ExecuteReader()

Correct Option: B
- Hide questions