Home / CSE MCQs / ASP.Net Core ::

CSE MCQs :: ASP.Net Core

  1. Which property of the session object is used to set the local identifier?
  2. A.
    LCID
    B.
    SessionId
    C.
    Key
    D.
    Item

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. The host for ASP.NET Core web application is configured in _________ file?
  4. A.
    Program.cs
    B.
    Startup.cs
    C.
    Middleware
    D.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following does not have any visible interface?
  6. A.
    Datagrid
    B.
    Repeater
    C.
    DropdownList
    D.
    Datalist

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Middlwares can be configured in ___________ method of Startup class
  8. A.
    Configure
    B.
    ConfigureService
    C.
    Main
    D.
    ConfigureMiddleware

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which of the following is an entry point of ASP.NET Core application?
  10. A.
    Main method of Program class
    B.
    Configure method of Startup class
    C.
    ConfigureService method of Startup class
    D.
    Application_start method of Global.asax

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. What are the features of MVC5?
  12. A.
    Scaffolding
    B.
    ASP.NET Identity
    C.
    One ASP.NET
    D.
    All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. What are characteristics best define .NET Core?
  14. A.
    Flexible deployment
    B.
    Cross-platform
    C.
    Command-line tools
    D.
    All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Every command in .NET Core command line interface starts with _________
  16. A.
    core
    B.
    dotnet
    C.
    .net
    D.
    aspdotnet

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. _____________ is not a member of ADODBCommand object
  18. A.
    ExecuteReader
    B.
    ExecuteStream
    C.
    ExecuteScalar
    D.
    Open

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which of the following is true?
  20. A.
    User controls are displayed correctly in the Visual Studio .NET Designer
    B.
    Custom controls are displayed correctly in VS.Net Designer
    C.
    User and Custom controls are displayed correctly in the Visual Studio .NET Designer
    D.
    All of these

    View Answer

    Workspace

    Discuss Discuss in Forum