xaf-validation
CommunityEnforce robust data validation in XAF apps.
Software Engineering#validation#data-integrity#rule-based#xaf#devexpress#programmatic-validation#rule-set
Authorkashiash
Version1.0.0
Installs0
System Documentation
What problem does it solve?
XAF Validation Module provides a comprehensive set of built-in validation rules and tooling to ensure data integrity for DevExpress XAF business objects across Blazor, WinForms, and Web API. It covers declarative validation, programmatic validation, cross-property rules, conditional validation, and rule grouping for scalable workflows.
Core Features & Use Cases
- Built-in validation rules: RuleRequiredField, RuleRegularExpression, RuleRange, RuleStringLength, RuleUniqueValue, RuleCriteria, RuleValueComparison, RuleIsReferenced.
- RuleSet and contexts: Apply DefaultContexts.Save and DefaultContexts.Delete, group rules with the [RuleSet] attribute, and run validations programmatically via Validator.
- Programmatic and custom validation: Extend with custom CodeRule implementations and use Validator to validate objects in code or during Save.
- Cross-property and conditional validation: Define rules that compare multiple properties or apply only under certain conditions.
- Validation in Web API: Ensure request models validate on commit and respond with detailed errors when invalid.
Quick Start
Add ValidationModule to your XAF application and use the built-in rules to enforce data integrity during Save operations.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: xaf-validation Download link: https://github.com/kashiash/xaf-skills/archive/main.zip#xaf-validation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.