Skip to content

Latest commit

History

History

Blazor

GitHub issues GitHub close issues

About

The Blazor package hosts and activates Blazor specific XAF artifacts (Editors, Services, etc).

Details


Credits: to companies that sponsor parts of this package.


This Blazor only module currently contains:

  1. The UploadFilePropertyEditor and the DisplayTextPropertyEditor which are demoed in the next screencast.

BlazorFileUpload

image


  1. The ComponentPropertyEditor which can be used to render any Blazor component/html lighting fast.

ComponentPropertyEditor

image

  1. Additional Attributes to help you geneate powerful UI without much coding are the ImgPropertyAttribute, ReadOnlyObjectViewAttribute, UrlPropertyAttribute and all attributes that live in the Xpand.Extensions.XAF.Attributes/ namespace.

See them applied to a listview ImgPropertyAttribute, UrlPropertyAttribute

image

ReadOnlyObjectViewAttribute

image

Screenshot taken from the Reactive.Rest package.

  1. Model configuration for the DxDataGrid

image

Possible future improvements:

Let me know if you want me to implement them for you.


Installation

  1. First you need the nuget package so issue this command to the VS Nuget package console

    Install-Package Xpand.XAF.Modules.Blazor.

    The above only references the dependencies and nexts steps are mandatory.

  2. Ways to Register a Module or simply add the next call to your module constructor

    RequiredModuleTypes.Add(typeof(Xpand.XAF.Modules.BlazorModule));

Versioning

The module is not bound to DevExpress versioning, which means you can use the latest version with your old DevExpress projects Read more.

The module follows the Nuget Version Basics.

Dependencies

.NetFramework: net6.0

DevExpress.ExpressApp.Blazor Any
DevExpress.ExpressApp.Validation.Blazor Any
Xpand.VersionConverter 4.232.3
Xpand.Extensions.Blazor 4.232.3
Xpand.Extensions.Reactive 4.232.3
Xpand.Extensions.XAF 4.232.3
Xpand.Extensions 4.232.3
Xpand.Extensions.XAF.Xpo 4.232.3
Xpand.XAF.Modules.Reactive 4.232.3
Fasterflect.Xpand 2.0.7
System.Reactive 6.0.0
System.Interactive 5.0.0
Microsoft.Bcl.AsyncInterfaces 7.0.0
Microsoft.CodeAnalysis 4.2.0
System.Data.SqlClient 4.8.6
System.Text.Json 7.0.2
System.Threading.Tasks.Dataflow 7.0.0
System.Security.Cryptography.ProtectedData 8.0.0
System.CodeDom 6.0.0
System.Configuration.ConfigurationManager 6.0.1
System.ServiceModel.NetTcp 4.10.2
System.ServiceModel.Http 4.10.2
System.ServiceModel.Security 4.10.2
Xpand.VersionConverter 4.232.3

Issues-Debugging-Troubleshooting

To Step in the source code you need to enable Source Server support in your Visual Studio/Tools/Options/Debugging/Enable Source Server Support. See also How to boost your DevExpress Debugging Experience.

If the package is installed in a way that you do not have access to uninstall it, then you can unload it with the next call at the constructor of your module.

Xpand.XAF.Modules.Reactive.ReactiveModuleBase.Unload(typeof(Xpand.XAF.Modules.Blazor.BlazorModule))

Tests

The module is tested on Azure for each build with these tests