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/12Score 0

What base class does a classic ASP.NET MVC controller typically inherit from to return views?

In this round
  1. What base class does a classic ASP.NET MVC controller typically inherit from to return views?
  2. Where does classic ASP.NET traditionally require an application to be hosted?
  3. What does the [HttpPost] attribute do on a classic ASP.NET MVC action method?
  4. What is ViewState used for in ASP.NET Web Forms?
  5. What does app pool "recycling" mean in an IIS-hosted classic ASP.NET app?
  6. What templating syntax do classic ASP.NET MVC views use?
  7. Which return type is idiomatic for a classic ASP.NET Web API 2 controller action?
  8. What does the ValidationMessageFor Razor helper do?
  9. What is model binding in classic ASP.NET MVC?
  10. What Razor syntax is used to reference a C# model property inside a .cshtml view?
  11. What is the purpose of the RoutePrefix and Route attributes in classic ASP.NET MVC/Web API?
  12. Which of the following is unique to classic ASP.NET Web API 2 compared to MVC controllers?
Gaps to close?
Read the curated ASP.NET notes — core concepts, patterns, interview prep.
ASP.NET notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web