Home / CSE MCQs / ASP.Net ::

CSE MCQs :: ASP.Net

  1. The model is a _______
  2. A.
    Shape of data
    B.
    Html content
    C.
    Collection of data
    D.
    Type of data

  3. Which namespace is used for ASPX View Engine?
  4. A.
    System.Web.Razor
    B.
    System.Web.Mvc.WebFormViewEngine
    C.
    Both A & B
    D.
    None

  5. What is ActionResult()?
  6. A.
    It is an abstract Class
    B.
    It is a Concrete Class
    C.
    Both A and B
    D.
    None

  7. Which of the followings are Actionselectors?
  8. A.
    ActionName
    B.
    NonAction
    C.
    ActionVerbs
    D.
    All of the above

  9. What are the various types of filters in an ASP.NET MVC application?
  10. A.
    Authorization filters
    B.
    Action filters
    C.
    Result filters
    D.
    All of these

  11. What is the name of the configuration files that the App_Start folder contains?
  12. A.
    BundleConfig.cs
    B.
    FilterConfig.cs
    C.
    RouteConfig.cs
    D.
    All of these

  13. 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?
  14. A.
    SecurityToken
    B.
    SecurityTokenHandler
    C.
    SWTToken
    D.
    Saml2SecurityTokenHandler

  15. What Request Processing technique follows ASP.Net?
  16. A.
    Top-Down
    B.
    Down-Up
    C.
    Pipeline
    D.
    Waterfall

  17. Does MVC 6 was introduced new JSON project-based structure?
  18. A.
    Yes
    B.
    No
    C.
    Both A & B
    D.
    None

  19. ______ attributes can be used for data validation in MVC.
  20. A.
    DataAnnotations
    B.
    Fluent API
    C.
    DataModel
    D.
    HtmlHelper