Carl-Hugo / BlazorMobileExperiments

Vertical Slice Architecture and a Flux/Redux inspired central app state store. This is an experiments using MediatR, FluentValidation, Scrutor, MobileBlazorBindings, Xamarin.Forms, and AutoMapper.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BlazorMobileExperiments

This project is an experimental app that I built to try out combining the following:

  • Vertical Slice Architecture.
  • Flux/Redux-inspired central app state store; it is not Flux/Redux, the states are mutated (currently at least).
    • The Blazor libraries that were out there were targeting .Net Standard 2.1, which was not compatible with this project. That is the only reason why I programmed that part. Otherwise, I would have used an existing library. It turns out that I don't dislike my implementation even if it would need more work before being reusable and before following the immutability part of the Flux/Redux pattern (if I want to go there).
  • Mobile App using Blazor, Xamarin.Forms, and the experimental MobileBlazorBindings.
  • Testing Blazor/Xamarin.Forms components using bUnit, xUnit and .Net 5.

Libraries

How to run

Open the solution with Visual Studio, make sure the Xamarin components are installed. Have an Android emulator or an android phone. Press F5 (Run) to run the Android project.

What's next?

I don't know, I liked developing this demo app over the weekend (and learn a bit about Xamarin.Form), so I may fiddle with it more or create something more real... we will see...

About

Vertical Slice Architecture and a Flux/Redux inspired central app state store. This is an experiments using MediatR, FluentValidation, Scrutor, MobileBlazorBindings, Xamarin.Forms, and AutoMapper.

License:MIT License


Languages

Language:C# 76.0%Language:HTML 23.5%Language:CSS 0.5%