ASP.NET MVC

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which method do you use in order to insert a record into the database with LINQ?

.Add()

Which method is used to change the state of an object?

.Entry()

Which method is used in order to persist changes to the database?

.SaveChanges()

In HTML 5 this tag represents the footer of the element it is embedded in.

<footer>

What HTML helper is used to prevent cross site request forgery (CSRF)

@HTML.AntiForgeryToken()

What is a strongly typed view in ASP.NET MVC?

A view used to render a specific type of model.

CRUD stands for?

Create, Read, Update, Delete

What are the various approaches used by Entity Framework?

Database First, Database First, Model First

What do you use in order to query from your database with LINQ?

DbContext

Which property is used if you wish to edit a record in the database?

EntityState.Modified

Can a Partial View have a @Layout page reference?

FALSE

MVC follows the ASP.NET Page Life Cycle.

FALSE

There is only one view engine that can be used with ASP.NET MVC

FALSE

What does MVC stand for?

Model View Controller

Which property do you set within the Entry method in order to change the state of an object?

State

Can MVC Lifecycle be run without a Model?

TRUE

It is possible to add more HTML Helper methods by using extension methods

TRUE

It is possible to model bind to a custom object.

TRUE

It is possible to use data annotations for client side validation.

TRUE

To use the default layout in a view completely omit the layout initialization.

TRUE

True or False. MVC is used to separate business code from presentation code.

TRUE

What are three acceptable ActionResult types?

ViewResult, JSONResult, EmptyResult

What is the Model?

a represention of the state of data in the program

What does the Controller do?

communication between the model and the view

What does the View do?

manages presenting information to the user

Given the following, what type of selector is being used div > div { ? }

parent-child


Kaugnay na mga set ng pag-aaral

11.4 (paso 1:2) - AY POR DIOX it was an accident (reflexive useage)

View Set

Python 2.1 | The "Hello, World!" Program

View Set

CORPORALS COURSE COMP 2 TEST REVIEW

View Set

Chapter 12: Dimensions of Marketing Strategy

View Set

Neuromusculoskeletal System Exam I Content

View Set