devexpress-xaf-performance
Installation
SKILL.md
DevExpress XAF — Performance Optimization
Three-layer optimization approach: Database → ORM → Application Code. Profile each layer before applying fixes. EF Core is the recommended ORM; EF Core examples are the default. XPO is also supported — see references/xpo-performance.md for XPO-specific optimizations.
Prerequisites & Installation
Performance optimization uses core XAF APIs — no additional module installation is required. The techniques in this skill apply to existing XAF projects.
NuGet Packages (already included in XAF projects)
| Package | Performance Features |
|---|---|
DevExpress.ExpressApp |
CollectionSourceDataAccessMode, EnableModelCache, GetDeclaredExportedTypes / GetDeclaredControllerTypes overrides |
DevExpress.ExpressApp.Blazor |
BlazorMdiShowViewStrategy.MaxTabLimit, TabOverflowStrategy, IModelOptionsBlazor.RestoreTabbedMdiLayout |
DevExpress.ExpressApp.EFCore |
PreFetchReferenceProperties, change-tracking proxies, EF Core SQL logging |
DevExpress.ExpressApp.Xpo |
DelayedAttribute, ExplicitLoadingAttribute, XPInstantFeedbackSource, XPServerCollectionSource |
DevExpress.Persistent.Base |
IndexedAttribute, PersistentAliasAttribute |