In interviews, I’ve been asked to explain the ASP.NET Core middleware pipeline.

  1. What is the role of app.Use, app.Run, and app.Map?

  2. How does request delegation work between components?

  3. Would appreciate a simplified explanation with examples.