All quizzes
Free quiz · 50 questions in the bank

ASP.NET Core quiz

Test your ASP.NET Core knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What does `app.MapControllers()` register in a minimal-hosting-model ASP.NET Core app?

Questions in this quiz
  1. What does `app.MapControllers()` register in a minimal-hosting-model ASP.NET Core app?
  2. What is a minimal API in ASP.NET Core?
  3. What is the built-in web server ASP.NET Core uses?
  4. What file holds configuration like connection strings by default?
  5. In Razor Pages, what is a PageModel?
  6. What is `dotnet run` used for during ASP.NET Core development?
  7. What ORM is commonly used with ASP.NET Core for databases?
  8. What is the purpose of `ILogger<T>` in ASP.NET Core?
  9. Where is the app configured and started in a modern ASP.NET Core app?
  10. What is a Tag Helper in ASP.NET Core Razor views?
  11. How do you enable CORS for a specific origin in an ASP.NET Core app?
  12. What is the purpose of the `wwwroot` folder and `app.UseStaticFiles()` in an ASP.NET Core project?
Gaps to close?
Read the curated ASP.NET Core notes — core concepts, patterns, interview prep.
ASP.NET Core notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web