The .NET Core is an open-source, cross-platform that runs on Windows, macOS and Linux developed by Microsoft. It also supports almost all things that .NET supported.
The .NET Core is higher performance, quick leaner, and lots of improvements of .NET
The .NET Core provides .net CLI (Command Line Interface)
The .NET Run-time provides a type system, assembly loading, a garbage collector, native interop and other basic services.
Q1: ASP.NET Core is an ...... framework?
A) Licensed
B) Obsolete
C) Open-sourced
D) UI
C) Open-sourced
Q2: Which of the following platforms support ASP.NET Core?
A) Windows
B) Mac
C) Linux
D) All the above
D) All the above
Q3: ASP.NET Core applications can target which one of the following?
A) .NET Framework 4.0+
B) .NET Core/div>
C) .NET Standard
D) All of the above
D) All of the above
Q4: By default, static files can be served from ------ folder
A) wwwroot
B) bin
C) Any other folder under the root
D) All of the above
A) wwwroot
Q5: The host for ASP.NET Core web application is configured in ---- file.
A) Startup.cs
B) Program.cs
C) Middleware
D) All of the above
A) Startup.cs
Q6: All command in .NET Core command line interface starts with ---- ?
A) .net
B) core
C) dotnet
D) All of the above
C) dotnet
Q7: The Core startup class must include ---- method?
A) ConfigureService
B) Configure
C) Main
D) All of the above
B) Configure
Q8: Which one of the following is executed on all request in ASP.NET Core application?
A) Main method
B) Startup
C) Middlewares
D) All of the above
C) Middlewares
Q9: Which one of the following is environment variable in ASP.NET Core application?
A) ENVIRONMENT_VARIABLE
B) ASPNET_ENV
C) ASPNETCORE_ENVIRONMENT
D) ENVIRONMENT
E) ALL OF THE ABOVE
C) ASPNETCORE_ENVIRONMENT
Q10: To create application logs in ASP.NET Core, we need to get ----- object from IoC container?
A) IConsoleLogger
B) ILoggerProvider
C) ILogger
D) All of the above
C) ILogger