web technology Online Quiz - 32
Covers Microsoft web technologies including WCF services, ASP.NET MVC framework, and ADO.NET data access for web applications.
Questions
Which keyword is used to prevent an action method is being accessed publically?
- [Private]
- [NonAction]
- [Internal]
- [Protected]
Data Annotation Validator attributes include?
- Required
- Range
- StringLength
- All of the above
ASP.Net MVC Applications are?
- Looslely coupled
- with User friendly URL
- Less complex
- All of the above
MVC 2.0 application execution process is handled through?
- UrlRoutingModule
- Page Event
- a or b
- None of the above
Controller’s action methods cannot be unit tested without Model generation?
- True
- False
ASP.NET MVC views are with extension of?
- .aspx
- .ascx
- .html
- All of the above
Different types of action filters in ASP.Net MVC 2.0?
- IAuthorizationFilter
- IActionFilter
- IResultFilter
- IExceptionFilter
- All of the above
ASP.Net MVC 2.0 requires below software version?
- Visual Studio 2008
- Visual Studio 2008 SP1
- Visual Studio 2010
- All of the above
Which one is true (select multiple options)?
- http://localhost:4356/controllername/actionname
- http://localhost:4356/controllername/actionname.aspx
- http://localhost:4356/controllername/actionname/inputparameter
- http://localhost:4356/controllername/actionname?id=inputparameter
Controller’s action methods must be (Select multiple options)?
- Defined as public method
- Should not be static method
- Can have ref and out parameters
- Can have generic types
WCF was introduced with which framework of dontnet?
- 3.0
- 3.5
- 2.0
- 4.0
what does ABC stands for in WCF?
- Address,Binding, Connection
- Action,Binding, Contract
- Action, Behaviour, Connection
- Address,Binding,Contract
Which is the default mode for Instancing in WCF?
- Singleton
- PerSession
- PerCall
- IsRequired
Which is the default Message Exchange Pattern (MEP) ?
- OneWay
- Request/Response
- Duplex
- Request
What was the code name for WCF?
- Indigo
- Blue
- Red
- Violet
Which is an invalid contracts in WCF?
- FaultContract
- OperationContract
- ServiceContract
- BehaviourContract
Which contract is used to document the errors occurred in the service to client?
- ErrorContract
- FaultContract
- MessageContract
- OperationContract
Which of the following ways can you proactively clean up a database connection's resources?
- Execute the DbConnection object's Cleanup method.
- Assign Nothing (C# null) to the variable that references the DbConnection object.
- Execute the DbConnection object's Close method.
- Execute the DbConnection object's Disconnect method.
Which method is used to commit all changes in the DataSet or DataTable?
- AcceptChanges
- Update
- GetChanges
- Accept
Which method is used to create a new row in a Table?
- Add()
- NewRow()
- Read()
- ExecuteReader()