MVVM Question: How do you manage the interaction between Model and ViewModel?

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Rx.NET

    The Reactive Extensions for .NET

  • Typically if you want to notify interested parties (ViewModels in case of WPF) of Model changes you'd use some kind of pub-sub mechanism like Reactive Extensions or MediatR. Your ViewModel can subscribe to an event bus of some kind (either standalone or maybe exposed by an Aggregate if you follow DDD), your domain logic (which should be located in Model layer, not in ViewModel layer: Service, Repository, DDD Aggregate or whatever you'd like to call it) will then do something useful with your Model and publish the corresponding event to the event bus.

  • MediatR

    Simple, unambitious mediator implementation in .NET

  • Typically if you want to notify interested parties (ViewModels in case of WPF) of Model changes you'd use some kind of pub-sub mechanism like Reactive Extensions or MediatR. Your ViewModel can subscribe to an event bus of some kind (either standalone or maybe exposed by an Aggregate if you follow DDD), your domain logic (which should be located in Model layer, not in ViewModel layer: Service, Repository, DDD Aggregate or whatever you'd like to call it) will then do something useful with your Model and publish the corresponding event to the event bus.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Async Methods after setting a property.

    2 projects | /r/csharp | 16 Mar 2023
  • Anyone using TPL Dataflow Library?

    2 projects | /r/csharp | 31 May 2022
  • The Monad Invasion - Part 2: Monads in Action!

    3 projects | dev.to | 27 Feb 2024
  • CsvHelper – CSV Library for .NET

    1 project | news.ycombinator.com | 13 Sep 2023
  • Cannot use disposed service

    1 project | /r/dotnet | 4 Jul 2023