Question: what is the difference between app.use vs app.run while adding middleware?
Answer: For app. Run , it adds a terminal middleware delegate to the application's request pipeline. For app. Use , it adds a middleware delegate to the application's request pipeline.