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

  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

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

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

  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

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

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

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

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

  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