Skip to content

Reactive.Logger.Client.Win

apobekiaris edited this page Oct 17, 2020 · 75 revisions

GitHub issues GitHub close issues

About

The Reactive.Logger.Client.Win is an executable able connect to any XAF app that uses the Reactive.Logger.Hub.

Details

The client is an executable XAF Windows Forms application and not a XAF module, which at the moment is distributed from Nuget.org but in future will use Chocolatey.org as it makes more sense. So you download the package and run the exe which will monitor the ports configured in your model. By default it monitors the range image

If a XAF application that has the Reactive.Logger.Hub found transmitting in this range it will connect and persist all message that describe the remote application 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.

2019-09-21_23-53-04

image

The information can be overwhelming however simple filters, like the one applied in the previous screencast, let us extract very useful data as to what the ModelMapper did.

The client is a Hybrid logger and and uses both the Logger and the Hub so everything discussed there applies also here.


Possible future improvements:

Any other need you may have.

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


Examples

Head to Reactive.Logger

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: net461

DevExpress.ExpressApp.ConditionalAppearance Any
DevExpress.ExpressApp.Win Any
DevExpress.ExpressApp.Xpo Any
Fasterflect.Xpand 2.0.7
JetBrains.Annotations 2020.1.0
MagicOnion 2.6.3
System.Reactive 4.4.1
System.ValueTuple 4.5.0
Xpand.XAF.Modules.GridListEditor 2.202.58
Xpand.XAF.Modules.OneView 2.202.58
Xpand.XAF.Modules.Reactive 2.202.58
Xpand.XAF.Modules.Reactive.Logger.Hub 2.202.58
Xpand.VersionConverter 2.202.10

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.Reactive.Logger.ReactiveLoggerModule))

Tests

The module is tested on Azure for each build with these tests. All Tests run as per our Compatibility Matrix

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