PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, September 12, 2022

[FIXED] How to Implement MVVM in a .NET Core Console Application?

 September 12, 2022     .net-core, cross-platform, design-patterns, entity-framework-core     No comments   

Issue

I’d like to use .Net Core (Console App) and EF Core to create my business logic, a number crunching engine that loads financial data from a local database (MySQL or SQLite), process it, will store the results in the same database and show them to the user.

I want to be able to easily add in the future a GUI to manage the CRUD operations and simple commands.

How can I implement the MVVM pattern in a console application to be able to easily add a GUI in the future (Win7-10 and MacOs)?


Solution

The Terminal.Gui Nuget package includes:

Reactive Example - A sample app that shows how to use System.Reactive and ReactiveUI with Terminal.Gui. The app uses the MVVM architecture that may seem familiar to folks coming from WPF, Xamarin Forms, UWP, Avalonia, or Windows Forms. In this app, we implement the data bindings using ReactiveUI WhenAnyValue syntax and Pharmacist — a tool that converts all events in a NuGet package into observable wrappers.



Answered By - 9swampy
Answer Checked By - Senaida (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing