Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
7 Cards in this Set
- Front
- Back
Where do you add custom routes? |
Global.asax |
|
What is the syntax to add a route in RouteConfig.cs? |
Add a mapRoute to the System.Web.Routing.RouteTable collection. Syntax, routes.MapRoute(name:"", url:"", defaults: new {controller = "Home", action = "Index", I'd = UrlParameter.Optional} |
|
What is ActionResult? |
An abstract class that represents the result of an action method |
|
Why is ActionResult an abstract class? |
It allows different controller to return different result |
|
What are the benefits of partial classes? |
It allows multiple files to have the same name. Multiple can work on the same class at the same time |
|
What is viewbag? |
It's a dynamic type to transfer data not in the view models |
|
What is view data? |
It is a dictionary object used to transfer data to views that are not in the view models |