ASP.NET MVC Quiz

Ace your homework & exams now with Quizwiz!

ModelState

After user input(such as a form submission) is processed, this object provides information about the validation process and any errors that were generated.

Post

An HTTP ____ request is used to send data back to the server.

Model Binding

In ASP.NET MVC, _____ is the process by which an HTTP request is translated into action method parameters.

<submit>

In HTML, the ____ tag is used to set the destination URL that will receive user input. Date from text boxes, check boxes, dropdowns, and other fields will be sent to this URL when the user clicks the "submit" button.

True

True/False: ASP.NET MVC controller classes must end with the word "Controller." A request for the "Students" controller will therefore call the "StudentsController" controller class.

True

True/False: In ASP.NET MVC views, razor statements being with the "@" character.

False

True/False: The <link> tag is used to create clickable hyperlinks that users can follow to navigate to other documents.

True

True/False: The ViewBag object can be used to pass miscellaneous information(such as status messages) to a view.

True

True/False: User input is passed to an action method through the action method's parameters.

http://mysite.com/Products/List

Under the ASP.NET MVC defaults, what URL will call the "Products" controller and the "List" action? Assume that the application is running under the root site at "mysite.com".

return View(object);

What is the best way to pass model data to a view?

Use "Index" as the action

When using ASP.NET MVC defaults, this is the standard behavior if the user doesn't specify an action with their request.

RedirectToAction()

Which controller method is used to send the user to a different controller and/or action?

Html.EditorFor()

Which helper method is used to generate HTML <input> elements in a form?


Related study sets

Intro to IT C182 - Unit 4 Computer Networks

View Set

Chapter 4 Quiz Estates and Interests in Real Property

View Set

HIST 170 New World Encounters: Preconquest-1608

View Set

MEEEN 360 Ch 10: Solid Solutions and Phase Equilibrium

View Set