MVVM Demonstration Using C# WPF

Main Article Content

Sudip Chakraborty
Aithal P. S.

Abstract

Purpose: Nowadays, MVVM (Model-View View-Model) is the proven architecture for distributed software development. It encourages the development of the software components by the different independent teams and easy integration at the final stage. The individual researcher prefers direct coding or tightly coupled software modules. The Model is rapid and efficient but might create maintainability issues later. So from day one, we should introduce the best design model. In this scenario, the MVVM model is the major player. Here, we present how to implement MVVM into our project through a simple task. We will design the user interface, which is part of the UX design team, and then add functionality, which is the programming part. Finally, we will do integration and execution. The code used in this project is available to download from GitHub.


Design/Methodology/Approach: We are creating a C# WPF project inside the visual studio community edition. Then we segregate our activity into two parts. In the first part, we make a Model for our project. After that, we design the user interface. The user interface interacts with the user to display the data and receive inputs from the user. It is the presentation or view layer. After completing it, we add the required view model interaction logic. Finally, we integrate all components and run the project.


Findings/Result: Through the research, we realize the importance of the MVVM concept. It is a good software architecture; the researcher who has gone through the documents will find out how to implement the MVVM into their project. Some essential procedures are presented concisely so they can be adopted quickly. This architecture is independent of any language. So once we grab it, it can be implemented in our project, whatever the language we use.


Originality/Value: Several documents on MVVM design using WPF are available worldwide. Most of the documents are elaborative and descriptive. It is tricky to extract the required information from long-duration content as fast-track space.   Here we demonstrate practically. Using the documents as a reference, the researcher can easily integrate the MVVM concept into their project.


Paper Type: Experimental-based Research.

Article Details

How to Cite
Sudip Chakraborty, & Aithal P. S. (2023). MVVM Demonstration Using C# WPF. International Journal of Applied Engineering and Management Letters (IJAEML), 7(1), 1–14. https://doi.org/10.47992/IJAEML.2581.7000.0163
Section
Articles

Most read articles by the same author(s)

<< < 1 2 3 4 5 6 > >>