Introduce `ExceptionHandlingMiddleware` to capture and log exceptions globally in the application. This middleware returns appropriate JSON error responses based on specific exception types, such as `BadRequestException` and `NotFoundException`. The middleware is registered in `Program.cs` to ensure it processes all HTTP requests.
Description
No description provided
Languages
JavaScript
86.6%
C#
5.1%
HTML
4.2%
Visual Basic .NET
2.7%
CSS
0.9%
Other
0.4%