Validation of domain objects and displaying validation results in a view

I have a client -> service -> server, architecture, and I want to enter confirmation.

I have dtos that are passed through a service and converted to domain objects on the server.

Tell me if the user enters a value and I need to check this value against the database to see if it exists, and if so, return an error and highlight the field, how would I best do this?

+3
source share
2 answers

, , Rocky Lhotka CSLA.NET Microsoft WCF RIA Services, , , . , , , , , , .

IDataErrorInfo .NET, Windows Forms, WPF - .

+2

, . , , , Application Validation Application. ( !), .

+2

Source: https://habr.com/ru/post/1727556/


All Articles