CtrlAiHub
Home
About Us
Services
Events
Courses
Portfolio
Contact Us
1. What is ActionResult()?
1. It is an abstract Class
2. It is a Concrete Class
3. Both A and B
4. None
2.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 these
3.What is the name of the configuration files that the App_Start folder contains?
1. BundleConfig.cs
2.FilterConfig.cs
3. RouteConfig.cs
4. None of the above
4. What Request Processing technique follows ASP.Net?
1. Top-Down
2.Down-Up
3.Pipeline
4.Waterfall
5. 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?
1. SecurityToken
2.SecurityTokenHandler
3. SWTToken
4.Saml2SecurityTokenHandler
6.Does MVC 6 was introduced new JSON project-based structure?
1.Yes
2.No
3.Both A & B
4. None
7.______ attributes can be used for data validation in MVC.?
1.DataAnnotations
2.Fluent API
3.DataModel
4. HtmlHelper
8.RedirectToActionPermanent() Method for which Status code represents?
1. 304
2. 302
3. 300
4. 301
9.RedirectToAction() Method for which Status code represents?
1. 304
2. 301
3.302
4.None
10.Which namespace is used for ASPX View Engine?
1. System.Web.Razor
2.System.Web.Mvc.WebFormViewEngine
3. Both A & B
4.None
11.What is ActionResult() ?
1. It is an abstract Class
2. It is a Concrete Class
3. Both A and B
4. None
12. Which is the best approach to assign a session in MVC?
1. System.Web.HttpContext.Current.Session["LoginID"] =7;
2.Current.Session["LoginID"] =7;
3. Session["LoginID"] =7;
4. None
13.What is ViewResult() ?
1. It is an abstract Class
2.It is a Concrete Class
3. Both A and B
4.None
14.return View() works like in ASP.Net MVC C# as?
1.Server.Transfer()
2. Response.Redirect()
3. Both A and B
4. None
15.In which format data can be return from XML into table ?
1.DataSet
2. Datatable
3. A and B
4. None