2023 Rated A+
In the MVC pattern, incoming requests are handled by_________. ✔✔controllers
In ASP.NET Core MVC, controllers are just _____________ ✔✔C# classes
controllers inherit from ✔✔Microsoft.AspNetCore.Mvc.Controller class
Each public method in a controller is known as an ___________________ ✔✔action method
The MVC convention is to put controllers in the _____________ ✔✔Controllers folder
the ASP.NET routing system, which ✔✔decides how URLs map to controllers and actions.
A route is a rule that is used to ✔✔decide how a request is handled.
public ViewResult Index() {
, return View("MyView");
} ✔✔create the ViewResult object by calling the View method, specifying the name of the view
that I want to use, which is MyView
In MVC, it is the controller's job to ✔✔construct some data and pass it to view
the view, which is responsible for ✔✔rendering it to HTML.
the ViewBag object ✔✔One way to pass data from the controller to the view
model, often referred to as a domain model, contains ✔✔the C# objects, getters and setters.
@ModelAttribute ✔✔Indicates that the argument should be retrieved from the model.
asp-action ✔✔asp-action attribute is an instruction to add an href attribute to the a element that
contains a URL for an action method
tag helpers ✔✔simplify html in asp.net