-
-
Notifications
You must be signed in to change notification settings - Fork 42
Modules
This namespace Xpand.XAF.Modules
is used for projects that contain XAF modules.
Due to the large package number a substantial effort is needed even for simple tasks, like installation, package API discovery and version choosing. How to get the best out of them?
Traditionally:
You can discover and install
the packages one by one
looking for incompatibilities
between them, by yourself, in each project you plan to consume them.
Xpand.XAF.Modules Solution:
Use only
the three
container nuget packages Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All. They come with the next benefits:
* Install only one package per platform with agnostic optional.
* You will get a copy-paste
module registration
snippet.
* All API
from all packages is available in the VS intellisense as soon as you start typing.
* You do not
have to deal with versions incompatibilities
.
* No extra dependencies if package API is not used.
* Only one entry in the Nuget Package Manager Console lists.
* Only one entry in the Project/References list.
In the next screencast we see how easy is to install all packages that target the Windows platform. It is recommended to use the Nuget PackageReference
format. First we install all packages and make a note that a dependency is added for all, then we remove a few installation lines and we make a note how the assembly dependencies reflects only that used API. The assembly reference discovery was done with the help of the XpandPwsh Get-AssemblyReference cmdlet.
---
PackageName | Version | Target | Platform | |
---|---|---|---|---|
Xpand.XAF.Core.All | Agnostic | |||
AutoCommit | net461 | Agnostic | ||
CloneMemberValue | net461 | Agnostic | ||
CloneModelView | net461 | Agnostic | ||
GridListEditor | net461 | Win | ||
HideToolBar | net461 | Agnostic | ||
LookupCascade | net461 | Web | ||
MasterDetail | net461 | Agnostic | ||
ModelMapper | net461 | Agnostic | ||
ModelViewInheritance | net461 | Agnostic | ||
Office.Cloud.Microsoft | net461 | Agnostic | ||
Office.Cloud.Microsoft.Todo | net461 | Agnostic | ||
OneView | net461 | Win | ||
PositionInListView | net461 | Agnostic | ||
ProgressBarViewItem | net461 | Agnostic | ||
Reactive | net461 | Agnostic | ||
Reactive.Logger | net461 | Agnostic | ||
Reactive.Logger.Client.Win | net461 | |||
Reactive.Logger.Hub | net461 | Agnostic | ||
Reactive.Win | net461 | Win | ||
RefreshView | net461 | Agnostic | ||
SequenceGenerator | net461 | Agnostic | ||
SuppressConfirmation | net461 | Agnostic | ||
ViewEditMode | net461 | Agnostic | ||
ViewItemValue | net461 | Agnostic | ||
Xpand.XAF.Web.All | Web | |||
Xpand.XAF.Win.All | Win |
Use main project issues
You have to install the packages from nuget Install-Package ModuleName
and then register the module as per XAF docs see Ways to Register a Module.
The modules are not bound to DevExpress versioning, which means you can use the latest version with your old DevExpress projects Read more.
The modules follow the Nuget Version Basics.
Working with many nuget packages may be counter productive. So if you want to boost your productity make sure you go through the Efficient Package Management wiki page.