CommonResources Class
Lists client resource identifiers associated with multiple DevExpress packages.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.Resources.v24.2.dll
NuGet Package: DevExpress.Blazor.Resources
Declaration
public class CommonResources
Remarks
The Resource Manager automatically registers client DevExpress resources based on installed NuGet packages. The CommonResources
class lists resources required by multiple DevExpress NuGet packages.
The following table lists public DevExpress resources, their positions among other scripts, and NuGet packages that include these scripts:
Position | DevExpress Resource | NuGet Packages |
---|---|---|
0 | DevExpress.Blazor.Dashboard | |
150 | DevExpress.Blazor | |
200 | DevExpress.Blazor | |
300 | DevExpress.Blazor.Dashboard | |
400 | DevExpress.Blazor.Dashboard | |
500 | DevExpress.Blazor.Dashboard | |
600 | DevExpress.Blazor.Dashboard | |
700 | DevExpress.Blazor.Reporting.JSBasedControls | |
700 | DevExpress.Blazor.Dashboard | |
800 | DevExpress.Blazor.Reporting.JSBasedControls | |
800 | DevExpress.Blazor.Dashboard |
The following example unregisters the Ace resource. It’s unnecessary if your application does not use a Dashboard or Report Designer. Note that the project can still include a Report Viewer since it does not require the Ace script.
@DxResourceManager.RegisterScripts((config) => {
config.Unregister(CommonResources.AceJS);
})
Refer to the following topic for more information: DxResourceManager.