C# Tutorial - Getting Started with Model View View-Model (MVVM) | FoxLearn

  Рет қаралды 57,168

Fox Learn

Fox Learn

3 жыл бұрын

Introduction tutorial of the Model-View-ViewModel architectural design pattern for Windows Forms Application in C# that covers the basic fundamentals of the pattern, its purpose, and how to use it to Insert Update Delete data in DataGridView with SQL Database using MVVM Architecture pattern step by step in C# Windows Forms Application.
Natural Voice Text to Speech: bit.ly/3lvKtpz
Website: foxlearn.com
What I like most about MVVM is is the compartmentalization of the various components in a project.
1) The UI components are kept away from the business logic
2) The business logic is kept away from the database operations
3) It's easy to read (because everything has specific places to live)

Пікірлер: 48
@DannaxOfficial
@DannaxOfficial 3 жыл бұрын
Thankyou!!! I have been loking for a tutorial about this pattern and finally I found the best! Thank you so much!! I love yor channel
@foxlearn
@foxlearn 3 жыл бұрын
You're welcome. Thank you !
@mauriAR
@mauriAR 3 жыл бұрын
Thank you, I love your tutorials!
@foxlearn
@foxlearn 3 жыл бұрын
You're welcome. Thank you !
@hotreload
@hotreload 22 күн бұрын
@@foxlearn what's the best architectural design pattern for Windows Forms Application in C# MVVM or Repository Pattern like your user authentication video
@SHKIPPER989
@SHKIPPER989 2 жыл бұрын
Спасибі!_) Дуже допомогли!
@mahdimdh4459
@mahdimdh4459 Жыл бұрын
She earned me when i see the Rise of nation on her desktop :D
@NgocDucDo
@NgocDucDo 5 ай бұрын
Thank you very much for your videos.
@scalahouse4062
@scalahouse4062 8 ай бұрын
quite explicit! very detailed!
@mariopinto9717
@mariopinto9717 3 жыл бұрын
thanks for your videos.
@foxlearn
@foxlearn 3 жыл бұрын
You're welcome. Thank you !
@foreignerxx
@foreignerxx 3 жыл бұрын
Awesome. Hope to see a tutorial searching by.. In database records then get a report and print it. 🌺🌹🌺
@niangel2704
@niangel2704 2 жыл бұрын
Congratulations for your tutorials and thank you very much for them My question is how to handle a Cancel clicked button? Because of the two BindingSources (in View and in ViewModel), whatever changes you make on the details components data, these are simultaneously reflected to the datagridview. But what should we do whenever we want to cancel these changes: a) when a new row is getting added b) when an existed row is being edited!! Look forward to hearing from you or somebody who could help Thanx a million for you help FoxLearn
@miketadyshak9162
@miketadyshak9162 5 ай бұрын
At 1:31 you are assigning dialog controls to each of the database fields. That does not work with Visual Studio Community 2022.
@hotreload
@hotreload 22 күн бұрын
what's the best architectural design pattern for Windows Forms Application in C# MVVM or Repository Pattern
@LindenMikus
@LindenMikus 3 жыл бұрын
thanks, will you be showing mvc and presentation model as well? how would you handle situations where edit to a customer record can only be accessed by one user at a time to avoid data conflicts (given this application is distributed to multiple users)?
@foxlearn
@foxlearn 3 жыл бұрын
OK. Thank you for your suggestion
@zulfifarsath
@zulfifarsath Ай бұрын
could you please do recipe coasting calculation program in visual studio
@flaviusioan69
@flaviusioan69 3 жыл бұрын
Tnx
@davestorm6718
@davestorm6718 2 жыл бұрын
got a video on validation? I get "Validation failed for one or more entities" when trying to save
@naedlorenzo3848
@naedlorenzo3848 Жыл бұрын
Hi, how are you going to validate not to insert the same item in the database?
@babarkhalid2746
@babarkhalid2746 2 жыл бұрын
I wish I could give this video 1000 likes.
@miketadyshak9162
@miketadyshak9162 5 ай бұрын
SQL server management studio prompts for a server name. What do I enter for that for a local database?
@tariknayeb1342
@tariknayeb1342 3 жыл бұрын
Thank you very useful, I'm asking always for this, if you want of course a program that can allow as to update the principal program already programmed, exactly like the updater of visual studio when there's a new version of it we receive a message who update it automatically thanks
@foxlearn
@foxlearn 3 жыл бұрын
OK. Thank you for your suggestion. Let me try to research
@tariknayeb1342
@tariknayeb1342 3 жыл бұрын
​@@foxlearn Thank you
@bbbrenato
@bbbrenato Жыл бұрын
How I can create the database on SQL?
@emiliowildberger7151
@emiliowildberger7151 3 жыл бұрын
Please can you do this witt repository pattern
@foxlearn
@foxlearn 3 жыл бұрын
OK. Thank you for your suggestion
@cissemy
@cissemy 2 жыл бұрын
Great Video The Model does not work with visual studio 2022. Thanks
@680ashraf
@680ashraf 3 жыл бұрын
How can do this in the case of combobox
@foxlearn
@foxlearn 3 жыл бұрын
OK. Thank you for your suggestion !
@queirozquery5734
@queirozquery5734 3 жыл бұрын
Need Help, Make a tutorial showing the use of (two connection strings) connection with Local and Remote database in C # language. Thanks!
@foxlearn
@foxlearn 3 жыл бұрын
Similarly, just configuration your sql allows you to connect via network
@jonas9
@jonas9 3 жыл бұрын
Why do you still use WinForms?
@dosovi4548bustayes
@dosovi4548bustayes Жыл бұрын
any suggestion?
@XBIPTKA
@XBIPTKA 3 жыл бұрын
make a video with 2 or more tables, please)
@foxlearn
@foxlearn 3 жыл бұрын
OK. Thank you for your suggestion !
@amjadislamamjad8
@amjadislamamjad8 3 жыл бұрын
Please add Validation of form in this tutorial.
@foxlearn
@foxlearn 3 жыл бұрын
OK. Thank you for your suggestion. I'll upload soon
@wanderingflower3979
@wanderingflower3979 3 жыл бұрын
Is this wpf?
@abdiwahabfarah9160
@abdiwahabfarah9160 11 ай бұрын
No. This is not WPF. Its Windows Form
@S3Kglitches
@S3Kglitches 3 жыл бұрын
So actually it is a business layer.
@foxlearn
@foxlearn 3 жыл бұрын
I don't think so
@shreyesbasutkar9206
@shreyesbasutkar9206 2 жыл бұрын
dhokha hai
@alanbourke4069
@alanbourke4069 2 жыл бұрын
Videos with robot voices are *extremely* annoying
@erosnemesis
@erosnemesis Жыл бұрын
Omg the robot voice is horrible!! I stopped watching the second I heard it.
DevExpress Tutorial - Fluent Design Form | FoxLearn
20:38
Fox Learn
Рет қаралды 45 М.
WPF MVVM Step by Step ( Windows Presentation Foundation)
34:06
.NET Interview Preparation videos
Рет қаралды 311 М.
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 550 М.
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 49 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 15 МЛН
WPF in C# with MVVM using Caliburn Micro
1:23:30
IAmTimCorey
Рет қаралды 361 М.
C# Tutorial - Material Design for .NET WinForms | FoxLearn
10:01
Rock Your WinForms Apps with DevExpress MVVM
44:02
DevExpress
Рет қаралды 51 М.
Model View View-Model (MVVM): Getting Started
29:12
CodingWithMitch
Рет қаралды 397 М.
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 550 М.