Lyra
Learn
AI Learning Platform
π Midnight
π Comfort
π₯ Ember
π Paper
β Contrast
Exams
Sign in to track progress
β Back to the lesson
Module 3 Β· Quiz
The Request Pipeline Walkthrough
1. What is the first component that processes a request in the ASP.NET Core request pipeline?
Static files
Authentication
Exception handling
Routing
2. Which component in the middleware pipeline is responsible for populating `HttpContext.User` with the identity of the request?
Authorization
Routing
Authentication
Static files
3. What happens if a middleware component does not call `next` in the ASP.NET Core request pipeline?
The pipeline continues normally
The request bypasses all remaining middleware
The endpoint is executed
It short-circuits the pipeline
4. Where should middleware for logging with a correlation ID be placed in the request pipeline?
After routing
Before any middleware that can fail
After authentication and authorization
At the very end of the pipeline
Submit answers
Continue: DI Lifetime Scenarios β
Review this lesson
Retake quiz