LyraLearn AI Learning Platform
Exams
← Back to the lesson
Module 3 Β· Quiz

MVC, Minimal APIs, and Filters

1. When is it more appropriate to use Minimal APIs instead of MVC controllers?
2. What is the main reason for using a filter instead of middleware for auditing who viewed each transcript?
3. What happens when a malformed JSON body is submitted to an action that takes an UpdateReviewDto and no ModelState validation is enforced?
4. What is a key strategy to prevent over-posting in your application?