Answer these 100+ Microsoft MVC Framework MCQs and assess your grip on the subject of Microsoft MVC Framework.
Scroll below and get started!
A. All of these
B. Reduce the size of requested assets
C. Reduce the number of requests to the server
D. Improve request load time
A. View
B. This is not best practice
C. Model
D. Controller
A. Implement long-running HTTP requests.
B. Implement WebSockets protocol on the client and the server.
C. instantiate a MessageChannel object on the client.
D. Configure polling from the browser.
A. It has the state of the model
B. It has the properties that have changed only
C. It has the model properties and filters
A. Controller
B. Model
C. View
A. Hashing
B. Compacting
C. Joining
D. Merging
E. Bundling
A. ContentResult
B. ViewResult
C. All answers are correct.
D. JavascriptResult
A. JSON
B. AMF
C. XML
D. Form URL-encoded
A. Form
B. FormGenerate
C. FormBegin
D. BeginForm
A. Result
B. ControllerResult
C. ActionResult
D. HttpResult
A. False
B. True
A. ~
B. <%
C. ||
D. @
A. Unit.Control.Microsoft
B. System.Web.Mvc
C. SQL.Java.CSS
D. Model.View.Controller
A. Authorize attribute
B. AllowUsers attribute
C. SecurityDemand attribute
D. A call to SecurityDemand static class
A. True
B. False
A. False
B. True
A. Razor
B. Spark
C. Aspx
A. POST, PUT
B. PATCH, TRACE
C. CONNECT, PUT
D. GET, POST
A. @type
B. @context
C. @entity
D. @model
A. Domain Model
B. View Model
C. Data Model
D. Json Model
A. Apple Safari
B. Windows 7 Phone Emulator
C. Opera Mobile Emulator
D. All of these
A. Required
B. RegularExpression
C. Custom
D. Format
A. OmitRoute
B. DoNotResolve
C. SkipRoute
D. AvoidRoute
E. IgnoreRoute
A. Use deleteroute method
B. Use ignoreroute method
C. Use authentication flag in web.config
A. new { productId = Integer }
B. new { productId = @"\d+" }
C. new { productId = @"^[a-zA-Z]+$" }
A. Text
B. Label
C. Format
D. Display
A. Result
B. Authorization
C. None of these
D. Action
A. StatusCode
B. HttpStatusCode
C. HttpStatus
D. Status
A. System.ComponentModel.DataAnnotations
B. System.Web
C. System.Web.Mvc
D. System.Annotations
A. RestrictAccessAttribute
B. AuthorizeAttribute
C. AuthenticateAttrbitue
D. AllowAttribute
E. AdminOnlyAttribute
A. All of these choices are supported by WCF
B. HTTP
C. NAMED PIPES FOR ON MACHINE COMMUNICATIONS
D. TCP /IP
E. PEER TO PEER PROTOCOLS
A. Set the Layout property to null
B. Set the ViewBag.LayoutFile property to null
C. Append "None" to the name of the View
D. Rename your View to _ViewStart.cshtml
A. Object
B. IEnumerable
C. Dynamic
D. List
E. Generic
A. Shared Folders
B. Sections
C. Views
D. Areas
E. Content
A. IBundleTransform
B. Itransform
C. Ibundle
D. IBundleInvoker
A. VaryByParam
B. VaryByBinding
C. VaryByAction
D. VaryByCustom
A. StateManager.IsValid
B. State.IsValid
C. ModelState.IsValid
D. Model.IsValid
E. StateModel.IsValid
A. _Layout.device.cshtml
B. _Layout.mobile.cshtml
C. _Layout_mobile.cshtml
D. _Layout.mob.cshtml
A. Forms
B. Basic
C. Windows
D. Kerberos
A. A call to Anonymous static class
B. AllowUsers attribute
C. AllowAnonymous attribute
D. Authorize attribute
A. HttpRequestMessage
B. ResponseMessage
C. HttpResponseMessage
D. RequestMessage
A. return View("Cart.Add")
B. return Redirect("Cart/Add")
C. Response.Redirect("Cart.aspx?Add")
A. RequestMessage
B. HttpResponseMessage
C. HttpRequestMessage
D. ResponseMessage
A. False
B. True
A. ActionResult
B. PartialResult
C. PartialViewResult
D. ViewResult
A. Html.PartialWithModel()
B. Html.Action()
C. Html.Partial()
D. Html.ActionWithModel()
A. ValidateExceptionAttribute
B. IgnoreErrorAttribute
C. CatchErrorAttribute
D. HandleErrorAttribute
E. IgnoreExceptionAttribute
A. pass data from the view to the controller action
B. pass data between two consecutive requests
C. pass data from controller action to the view
A. None of the answers
B. To skip method execution until cached output expires.
C. To mark an action method whose output will be cached.
D. To notify client browser that output shall be cached.
A. CssResult
B. RedirectToRouteResult
C. HttpStatusCodeResult
D. JavaScriptResult
E. JsonResult