Asp.net Mvc(Engineering > Computer Science And Engineering ) Questions and Answers
Question 1. What are the various types of filters in an ASP.NET MVC application?
Authorization filters
Action filters
Result filters
All of these
Explanation:-
Answer: Option D. -> All of these
Question 2. Which of the followings are Actionselectors?
ActionName
NonAction
ActionVerbs
All of the above
Explanation:-
Answer: Option D. -> All of the above
Question 3. What is ActionResult()?
It is an abstract Class
It is a Concrete Class
Both A and B
None
Explanation:-
Answer: Option A. -> It is an abstract Class
Question 4. Which namespace is used for ASPX View Engine?
System.Web.Razor
System.Web.Mvc.WebFormViewEngine
Both A & B
None
Explanation:-
Answer: Option B. -> System.Web.Mvc.WebFormViewEngine
Question 5. The model is a _______
Shape of data
Html content
Collection of data
Type of data
Explanation:-
Answer: Option A. -> Shape of data
Question 6. What is the name of the configuration files that the App_Start folder contains?
BundleConfig.cs
FilterConfig.cs
RouteConfig.cs
All of these
Explanation:-
Answer: Option D. -> All of these
Question 7. What Request Processing technique follows ASP.Net?
Top-Down
Down-Up
Pipeline
Waterfall
Explanation:-
Answer: Option C. -> Pipeline
Question 8. WIF enables you to create a custom token. To be able to use the token, you must create a custom token handler by overriding which of the following?
SecurityToken
SecurityTokenHandler
SWTToken
Saml2SecurityTokenHandler
Explanation:-
Answer: Option B. -> SecurityTokenHandler
Question 9. Does MVC 6 was introduced new JSON project-based structure?
Yes
No
Both A & B
None
Explanation:-
Answer: Option A. -> Yes
Question 10. ______ attributes can be used for data validation in MVC.