R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which ASP.NET Core middleware handles errors globally?

  • (A) app.UseRouting()
  • (B) app.UseAuthorization()
  • (C) app.UseExceptionHandler()
  • (D) app.UseEndpoints()

Explanation by: Ram Sharma
`app.UseExceptionHandler()` is used for global error handling in ASP.NET Core.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.