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 3631372
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T00:23:19+00:00 2026-05-19T00:23:19+00:00

In a wpf application, Whats the responsibility of the viewmodel? can he manage everything

  • 0

In a wpf application, Whats the responsibility of the viewmodel? can he manage everything or only represent the view and send messages/event to the business layer and get information from it?

  • 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-19T00:23:20+00:00Added an answer on May 19, 2026 at 12:23 am

    Short answer, Yes.

    Longer answer …

    The main aims of the Model-View-ViewModel (MVVM) pattern are:

    1. Permit unit testing of your view logic. These are unit tests applied to the ViewModel layer which is executed without a View associated with it.
    2. Facilitate developer-designer workflow by minimising the amount of code-behind associated with your XAML files.

    The MVVM pattern also provides separation of concerns between view logic and business logic in the same way that the MVC and their UI pattern do. However, the 2 points above are what really define the MVVM pattern.

    Now, thinking about where you locate your business logic. If you place it in your ViewModel, are #1 & #2 above still valid? Yes. If you place it in a separate layer, are #1 and #2 still valid? Yes.

    Therefore, in both cases you are still achieving the two main goals of MVVM. Which route you take really depends on the complexity of your application, and the number of developers working on it. As both these factors increase, you will benefit from having 3 layers … or more!

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

Sidebar

Related Questions

I've got a WPF application which calls MessageBox.Show() way back in the ViewModel (to
My WPF application currently only shows a screen with some controls, it doesn't connect
I'm building some WPF application to manage my time. I'd like to save time
I have a wpf mvvm application. And have a GRID with multiple columns whats
My WPF application shows a tree of objects having some properties. These properties can
I have a WPF application which is displaying field validation messages by implementing the
What I have so far is: A WPF application, using MVVM, IDataErrorInfo implemented. Everything
In a Composite WPF application, what is the best way to store global variables
Im writing a WPF application that has a zoom and pan ability, but what
Application: WPF Application consisting of a textbox on top and a listbox below Users

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.