All quizzes
Free quiz · 50 questions in the bank

ASP.NET quiz

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

Question 1/5Score 0

What is the default convention-based route pattern registered in a fresh classic ASP.NET MVC project's RouteConfig.cs?

Questions in this quiz
  1. What is the default convention-based route pattern registered in a fresh classic ASP.NET MVC project's RouteConfig.cs?
  2. Which HTML helper renders an anti-forgery token in a Razor form to protect against CSRF?
  3. What does ModelState.IsValid check in a classic ASP.NET MVC controller action?
  4. What is ViewState used for in ASP.NET Web Forms?
  5. Which return type is idiomatic for a classic ASP.NET Web API 2 controller action?
  6. What does the ValidationMessageFor Razor helper do?
  7. What does app pool "recycling" mean in an IIS-hosted classic ASP.NET app?
  8. Which of the following is unique to classic ASP.NET Web API 2 compared to MVC controllers?
  9. What does the [HttpPost] attribute do on a classic ASP.NET MVC action method?
  10. What is classic ASP.NET (as distinct from ASP.NET Core)?
  11. What was the original UI framework in classic ASP.NET, based on a page lifecycle and ViewState?
  12. Which data annotation attribute marks a model property as mandatory for validation in classic ASP.NET MVC?
Gaps to close?
Read the curated ASP.NET notes — core concepts, patterns, interview prep.
ASP.NET notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web