Good evening to all the WiseJ developers,
I have a question about using a validation framework.
Are there developers in this forum who have integrated the famous framework “FluentValidation” (https://docs.fluentvalidation.net/) into the WiseJ UI as dynamically as possible?
The validation in the backend is extensively documented, but I can’t find a dynamic approach to use the Validate() events in combination with the ErrorProvider to display the appropriate error messages per control.
I am very happy about every tip, link or approach.
The available examples always refer to ASP.NET Core / ASP.NET MVC.
Here is the example.
(1) I use the framework “FluentValidation”.
(2) I have written a PersonValidator.
(3) I use the BindingSource.
The code is only an example and should be refactored in any case!
Every hint and suggestion for improvement is welcome.
Please login first to submit.