DEV Community

MVVM in .NET

Adrián Bailador on June 01, 2025

MVVM is a powerful architectural pattern used in .NET desktop applications like WPF, MAUI, and WinUI. In this article, we break down the pattern...
Collapse
 
stevsharp profile image
Spyros Ponaris

CommunityToolkit.Mvvm works great with Blazor!
I gave it a try, and it works smoothly . I'll be exploring it further in my Blazor projects.
You can check it out here:
github.com/stevsharp/MVVM-WPF-BLAZ...

Collapse
 
adrianbailador profile image
Adrián Bailador

You have gained a new follower. Nice code Spyros

Collapse
 
stevsharp profile image
Spyros Ponaris

Glad you liked it!
If you find it useful, feel free to give it a ⭐ on GitHub — or even better, contribute to the project if you'd like!

Thread Thread
 
adrianbailador profile image
Adrián Bailador

Perfect, I will 😊

Thread Thread
 
stevsharp profile image
Spyros Ponaris

Seems great

Collapse
 
stevsharp profile image
Spyros Ponaris

Thanks Adrian.

Collapse
 
stevsharp profile image
Spyros Ponaris

Hey, thanks for sharing! MVVM is such a powerful pattern — I still remember when Microsoft introduced it. It felt revolutionary at the time, and I was honestly disappointed that Windows Forms never adopted it. Thankfully, CommunityToolkit.Mvvm makes it so much easier now, offering great flexibility and modern tooling. Love working with it!

Collapse
 
adrianbailador profile image
Adrián Bailador

Thanks so much

Collapse
 
stevsharp profile image
Spyros Ponaris

This week, I’ll be diving into CommunityToolkit.Mvvm and sharing my thoughts on it.

I’ve already written about MVVM and why it still matters in 2025 — even beyond WPF, in platforms like Blazor and WinForms.

Check it out:
🔗 MVVM is not just for WPF — why it still matters in 2025 (even in Blazor and WinForms)

Collapse
 
stevsharp profile image
Spyros Ponaris

You are welcome..

Collapse
 
dotallio profile image
Dotallio

Really love how you emphasized CommunityToolkit.Mvvm to cut down the usual MVVM boilerplate - it's such a game changer once you discover it. The learning curve is real though, did you have any big aha moments that made things finally click for you?