{
"id": 3,
"startTime": "2026-07-14T09:50:30.266447",
"endTime": "2026-07-14T10:00:30.2665056",
"quiz": {
"id": 1,
"title": "Middleware Pipeline Quiz",
"description": "Test your understanding of how the ASP.NET Core middleware pipeline works.",
"durationInMinutes": 10,
"questions": [
{
"id": 3,
"questionType": "TrueFalse",
"questionText": "In ASP.NET Core, calling `next()` inside a middleware passes the request to the next middleware in the pipeline.",
"points": 1.00,
"orderNumber": 2,
"options": [
{
"id": 6,
"optionText": "True"
},
{
"id": 7,
"optionText": "False"
}
]
},
{
"id": 4,
"questionType": "MCQ",
"questionText": "What method is used to add a custom middleware class to the pipeline?",
"points": 2.00,
"orderNumber": 2,
"options": [
{
"id": 8,
"optionText": "app.UseMiddleware<T>()"
},
{
"id": 9,
"optionText": "app.AddMiddleware<T>()"
},
{
"id": 10,
"optionText": "app.RegisterMiddleware<T>()"
},
{
"id": 11,
"optionText": "app.InjectMiddleware<T>()"
}
]
},
{
"id": 1,
"questionType": "MCQ",
"questionText": "What is the correct order of middleware execution in ASP.NET Core?",
"points": 2.00,
"orderNumber": 3,
"options": [
{
"id": 1,
"optionText": "Request flows in registration order; response flows in reverse order."
},
{
"id": 2,
"optionText": "Request and response both flow in registration order."
},
{
"id": 3,
"optionText": "Middleware order does not matter."
},
{
"id": 4,
"optionText": "Response flows in registration order; request flows in reverse order."
}
]
},
{
"id": 2,
"questionType": "Essay",
"questionText": "The ASP.NET Core request pipeline is made up of a series of ________ components.",
"points": 1.00,
"orderNumber": 4,
"options": [
{
"id": 5,
"optionText": "middleware"
}
]
}
]
}
}