Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4578952
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:34:26+00:00 2026-05-21T20:34:26+00:00

loosly coupled communication between viewmodels is a nice concept. I have used Prism Eventaggregator

  • 0

loosly coupled communication between viewmodels is a nice concept.
I have used Prism Eventaggregator as well as MVVM Light Toolkit’s Messanger.

If the project grows I get alot of messages back and forth.

What is best practise of keeping track of my messages? Naming conventions? patterns?
etc…
How do you keep track?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T20:34:27+00:00Added an answer on May 21, 2026 at 8:34 pm

    I’ve found that there is a lot of value in providing a “Messages” namespace that contains your strongly typed messages. Keep in mind that well-defined messages will be more like contracts/DTOs – you want to maintain as much decoupling as possible, so dependencies should be kept to a minimum, otherwise the senders and receivers will both rely on common libraries. Sometimes this is necessary due to the nature of the message.

    I think you’ll also find that many messages may follow a particular pattern. Two common message patterns are what I’ll call the Action and Command. Action is more of a “verb” and a “subject”.

    For example, you might have MessageAction that exposes T Target, and the action is an enumeration that indicates update, select, add, delete, etc. That’s common and a generic message can wrap it, and your handlers listen for the generics that close the type they are interested in.

    The Command is an Action that originates from somewhere and then applies an action to a target. For example, maybe you are adding a role to a user. In that case, your item of interest is the role, your target is the user, and your action is adding it. That can be a CommandAction.

    Another common way to organize messages would be to implement a common interface or base class. It then becomes trivial to search for implementors in the project to determine where messages are being used.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How does one design loosely-coupled systems which may often require data from each-other but
I'm working on a loosely coupled cluster for some data processing. The network code
I'm working on some code for a loosely coupled cluster. To achieve optimal performance
Lately I have seen a lot of blog posts concerning how to build loosely
What is the difference between == and === ? How exactly does the loosely
I am currently programming a scheduling application which loosely based on iCalendar standard. Does
Put differently: Is there a good reason to choose a loosely-typed collection over a
I've just started playing with Django and am loosely following the tutorial with my
PHP, as we all know is very loosely typed. The language does not require
I'm working on a real time application implemented using in a SOA-style (read loosely

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.