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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:47:42+00:00 2026-05-30T08:47:42+00:00

In the MVVM Pattern, is there exactly one ViewModel per View or is there

  • 0

In the MVVM Pattern, is there exactly one ViewModel per View or is there exactly one ViewModel per Model?

  • 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-30T08:47:43+00:00Added an answer on May 30, 2026 at 8:47 am

    Theoretically, relationships are

    View n – 1 ViewModel n – 1 Model

    I know, a lot of people will bite and beat me, but… In practice…

    Very often, in business applications, there is data access layer (DAL). And very often entities from DAL are your Models. Sometimes you should wrap those entities with additional classes to provide extended functionality or maybe some additional properties. Maybe you have your own Models…

    ViewModels and Views (in practice) usually have 1 to 1 relationship. Something like – every screen (or part of screen) is actually a paired View and ViewModel. I think usually just something like – View is UI layer and ViewModel is code-behind level. View is just XAML file – presentation layer. And (the best practice) everything else should be in ViewModel – all data receiving processes, all commands, all changable fields etc. This way you can usually test ViewModel (with unit testing). One ViewModel can have several Views (in practice) usually only when you have shared ViewModels for, for example, DesktopApplication (WPF), Web Application (Silverlight) and Windows Phone. Something like this. But usually – one ViewModel – one View. If you have several Views for one ViewModel – usually you will have a lot of maintaince problems…

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

Sidebar

Related Questions

I am implementing the Model-View-ViewModel (MVVM) pattern in one of the forms of my
Working with the MVVM pattern, I have a pair of view model classes that
I've started using databinding with MVVM pattern in Silverlight. There's one problem for me.
We have a WPF Project that follows the MVVM pattern. In the View Model
Although I deeply fell in love with the MVVM pattern there seem to be
In MVVM pattern I don't want to think about the view while creating the
Using the MVVM pattern creating WPF applications you have the ViewModel providing data to
I'm developing a project using the MVVM pattern in WPF. One of the key
I'm working on a Silverlight app using the MVVM pattern. My ViewModel currently consists
I'm writing a Silverlight app using the MVVM pattern. I have a main view

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.