你的位置: 码友网首页 / 资讯源列表 / Error Handling and Validation Architecture in .NET Core

关于[Error Handling and Validation Architecture in .NET Core]的摘要:

In many projects, error handling and validation are distributed across business logic, API controllers, and data access layers in the form of conditions (“if-else” sequences). This leads to the violation of the Separation of Concerns Principle and results in “Spaghetti code,” like in the example below. In this article, I describe an approach for sepearting validation and error handling logic from the other application layers.

原文地址: https://dzone.com/articles/error-handling-and-validation-architecture-in-net

收录时间: 2019-03-27 浏览量: 1080 分类: .NET Core

| 0 收藏 | 0