ReduxSimple.Entity 3.7.0-preview001

.NET Standard 2.0
This is a prerelease version of ReduxSimple.Entity.
dotnet add package ReduxSimple.Entity --version 3.7.0-preview001
NuGet\Install-Package ReduxSimple.Entity -Version 3.7.0-preview001
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ReduxSimple.Entity" Version="3.7.0-preview001" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ReduxSimple.Entity --version 3.7.0-preview001
#r "nuget: ReduxSimple.Entity, 3.7.0-preview001"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ReduxSimple.Entity as a Cake Addin
#addin nuget:?package=ReduxSimple.Entity&version=3.7.0-preview001&prerelease

// Install ReduxSimple.Entity as a Cake Tool
#tool nuget:?package=ReduxSimple.Entity&version=3.7.0-preview001&prerelease

Redux Simple

Simple Stupid Redux Store using Reactive Extensions

Redux Simple is a .NET library based on Redux principle. Redux Simple is written with Rx.NET and built with the minimum of code you need to scale your whatever .NET application you want to design.

Example app

There is a sample UWP application to show how ReduxSimple library can be used and the steps required to make a C#/XAML application using the Redux pattern.

You can follow this link:

Getting started

Like the original Redux library, you will have to initialize a new State when creating a Store + you will create Reducer functions each linked to an Action which will possibly update this State.

In your app, you can:

  • Dispatch new Action to change the State
  • and listen to events/changes using the Subscribe method

You will need to follow the following steps to create your own Redux Store:

  1. Create State definition
public record RootState
    public string CurrentPage { get; set; } = string.Empty;
    public ImmutableArray<string> Pages { get; set; } = ImmutableArray<string>.Empty;

Each State should be immutable. That's why we prefer to use immutable types for each property of the State.

  1. Create Action definitions
public class NavigateAction
    public string PageName { get; set; }

public class GoBackAction { }

public class ResetAction { }
  1. Create Reducer functions
public static class Reducers
    public static IEnumerable<On<RootState>> CreateReducers()
        return new List<On<RootState>>
            On<NavigateAction, RootState>(
                (state, action) => state with { Pages = state.Pages.Add(action.PageName) }
            On<GoBackAction, RootState>(
                state =>
                    var newPages = state.Pages.RemoveAt(state.Pages.Length - 1);

                    return state with {
                        CurrentPage = newPages.LastOrDefault(),
                        Pages = newPages
            On<ResetAction, RootState>(
                state => state with {
                    CurrentPage = string.Empty,
                    Pages = ImmutableArray<string>.Empty
  1. Create a new instance of your Store
sealed partial class App
    public static readonly ReduxStore<RootState> Store;

    static App()
        Store = new ReduxStore<RootState>(CreateReducers());
  1. And be ready to use your store inside your entire application...
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.7.0-preview001 301 12/20/2021
3.6.1-preview002 996 5/2/2021
3.6.1-preview001 272 4/19/2021
3.6.0-preview001 154 2/15/2021
3.5.2-preview001 176 1/13/2021
3.5.1-preview001 237 10/16/2020
3.5.0-preview001 258 10/10/2020
3.4.0-preview001 242 4/24/2020
3.3.0-preview001 239 4/16/2020
3.2.0-preview001 295 4/16/2020
3.1.0-preview001 245 2/26/2020
3.0.1-preview001 401 1/25/2020
3.0.0-preview001 273 11/11/2019