Error handling and validation architecture in .NET Core
![Error handling and validation architecture in .NET Core](https://cdn-images-1.medium.com/max/800/1*ZbQ2SaW7CUPHAMS83DAxgw.png)
In many projects error handling and validation is distributed across business logic, API controllers, data access layer in the form of conditions (“if-else” sequences). This leads to the violation of the Separation of Concerns Principle and results in “Spaghetti code”,...