Skip to content

Reactive.Logger.Client.Win

Apostolis Bekiaris edited this page Sep 21, 2019 · 75 revisions

GitHub issues GitHub close issues

About

The Reactive.Logger.Client.Win is a XAF Windows Forms application capable to connect to any XAF application that has the Reactive.Logger.Hub module installed. More in the details section.

The module uses the next two strategies:

  1. It monitors the DetailView creation and modifies its Reactive.Logger.Client.Win property according to model configuration. However later Reactive.Logger.Client.Win property modifications are allowed.
  2. It monitors the Reactive.Logger.Client.Win modifiation and cancels it if the LockReactive.Logger.Client.Win attribute is used.

Installation

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

    Install-Package Xpand.XAF.Modules.Reactive.Logger.Client.Win.

    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.Reactive.Logger.Client.WinModule));

The module is not integrated with any eXpandFramework module. You have to install it as described.

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:

DevExpress.ExpressApp Any
System.Reactive 4.1.6
Xpand.XAF.Modules.Reactive 1.2.46
Xpand.VersionConverter 1.0.34

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 when XafApplication.SetupComplete.

((Xpand.XAF.Modules.Reactive.Logger.Client.WinModule) Application.Modules.FindModule(typeof(Xpand.XAF.Modules.Reactive.Logger.Client.WinModule))).Unload();

Details

The client will connect and persist remote calls that describe the pipeline flow. Bellow is a screencast when running the client and execute one of our tests. The Bind_Only_NullAble_Properties_That_are_not_Null test makes sure that the ModelMapper module will only bind those model properties that have value. client

The

Tests

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

Examples

The module is valuable in scenarios similar to:

  1. When you want to navigate from a ListView to a DetailView without the intermediate view which is set to View Reactive.Logger.Client.Win.
  2. When you develop a master-detail layout and you want to control the Reactive.Logger.Client.Win state of your

XtraDashboardModule ,ExcelImporterModule are modules that use the Reactive.Logger.Client.WinModule.

Next screenshot is an example from ExcelImporter from the view tha maps the Excel columns with the BO members.

image

image

image


Custom badge

Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally