4ee5250b01823aec442fffba9953753b85205891
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.1%
C#
5.7%
HTML
4.2%
Visual Basic .NET
2.6%
CSS
0.9%
Other
0.4%