Can we use view state in MVC?
1.Yes
2.No
3. Both A & B
4.None
Posted Date:-2022-04-05 04:53:43
In the model-view-controller (MVC) architecture, the model defines the
1.Data-access layer
2. Presentation layer
3.Business-logic layer
4.Interface layer
Posted Date:-2022-04-05 04:52:07
Which Name space is used to create chart using ASP.Net MVC?
1.using System.Web.MVCB. C. D. All
2.using System.Web.Helpers
3.using System.Web.Chart
4.All of these
Posted Date:-2022-04-05 05:00:29
Which of the following is TRUE?
1.Action method can be static method in a controller class
2.Action method can be private method in a controller class
3.Action method can be protected method in a controller class
4.Action method must be public method in a controller class
Posted Date:-2022-04-05 04:45:32
Explain what are the steps for the execution of an MVC project?
1.Receive first request for the application
2.Performs routing
3.Creates MVC request handler
4.All of the above
Posted Date:-2022-04-05 04:56:22
FilterConfig.cs file is under in which App folder?
1.App_Data
2.App_Start
3.Content
4. Filters
Posted Date:-2022-04-05 04:04:43
For controller action method . . . . . returns nothing as the result.
1. ResultEmpty
2.EmptyResult
3.ReturnEmpty
4.EmptyReturn
Posted Date:-2022-04-05 05:10:17
For which ModelState.IsValid Validate?
1.It checks for Entityframework Model state
2.It checks for valid Model State using DataAnnotations
3. It checks for SQL database state
4.None of These
Posted Date:-2022-04-05 04:47:40
helps you to maintain data when you move from controller to view.
1.View Bag
2.View Data
3.Temp Data
4.None of the above
Posted Date:-2022-04-05 04:15:55
How can we add Series to MVC Charts? A.
1..AddSeries(chartType: "Bar", xValue: xValue, yValues: yValue)
2.AddSeries(chartType: "Bar", xValue = xValue, yValues = yValue)
3.AddSeries(chartType: "Bar", xValue: xValue, yValues: yValue)
4.None
Posted Date:-2022-04-05 04:07:55
How to check all errors of Model using ASP.Net MVC?
1.var errors = Model.Values.SelectMany(v => v.Errors)
2.var errors = ModelState.SelectMany(v => v.Errors)
3.var errors = ModelState.Values.SelectMany(v => v.Errors)
4.None of the above
Posted Date:-2022-04-05 04:22:36
In which format data can be return from XML into table?
1.DataSet
2.Datatable
3.A and B
4.None
Posted Date:-2022-04-05 04:17:37
List out few different return types of a controller action method?
1. View Result
2.Javascript Result
3.Redirect Result
4.All of the these
Posted Date:-2022-04-05 04:55:12
MVC is composed of three components:
1.Member Vertical Controller
2.Model View Control
3.Model View Controller
4.Model Variable Centered
Posted Date:-2022-04-05 04:40:09
RedirectToAction() Method for which Status code represents?
1.304
2.302
3.301
4.300
Posted Date:-2022-04-05 04:42:55
What are the various types of filters in an ASP.NET MVC application?
1.Authorization filters
2.Action filters
3.Result filters
4.All of the these
Posted Date:-2022-04-05 04:41:26
What is default authentication in Internet Information Services (IIS)?
1.Standard User
2.Administrator
3.Anonymous
4.None of these
Posted Date:-2022-04-05 05:11:51
What is the extension of MVC view when using vb.net?
1.cshtml
2.vbhtml
3.None
4.Both A & B
Posted Date:-2022-04-05 04:18:27
Which filter will be execute at last using ASP.Net MVC?
1.Action filters
2.Authorization filters
3.Exception filters
4.Response filters
Posted Date:-2022-04-05 04:42:18
Which is more faster between ASPX View Engine and Razor View Engine.
1.ASPX View Engine
2.Razor View Engine
3. Both A & B
4.None
Posted Date:-2022-04-05 04:13:26
Which Name space is used to create chart using ASP.Net MVC?
1.using System.Web.MVC
2.using System.Web.Helpers
3.using System.Web.Chart
4.All of the above
Posted Date:-2022-04-05 05:09:23
Which of following is TRUE?
1.The controller redirects incoming request to model
2.The controller executes an incoming request
3. The controller controls the data
4.The controller render html to view
Posted Date:-2022-04-05 04:58:09
Which of the following method of html helper generates html control based on the data type of specified property?
1.Html.TextBox
2.Html.Password
3. Html.Editor
4. Html.Display
Posted Date:-2022-04-05 05:11:02
Which of the following methods are used to render partial view?
1. Html.Partial()
2.Html.RenderPartial()
3. Html.RenderAction()
4.All of the above
Posted Date:-2022-04-05 04:21:35
Which of the following view file types are supported in MVC?
1..cshtml
2..vbhtml
3..aspx
4.All of the above
Posted Date:-2022-04-05 04:43:50
You are globalizing an application and are compiling a list of items that need to be translated. Which items should be included on the list?
1.Images that are used as part of the menu structure
2.The company logo
3.Server error-logging messages
4.Both A and D
Posted Date:-2022-04-05 04:06:05