anybody knows something similar to asp.net mvc for winforms or wpf ?
For winforms you can implement your own MVP (model view presenter) or MVC (model view controller patterns. There are also some frameworks like CAB (composite application block) that you can use http://msdn.microsoft.com/en-us/library/aa480450.aspx that are basicly a MVC pattern.
The most accepted (and in my opinion the most usable) pattern for developing WPF applications is MVVM
(stands for Model-View-ViewModel
).
You can read a quite broad introduction with a walkthrough here: http://msdn.microsoft.com/en-us/magazine/dd419663.aspx
Well, MVC is a pattern, you can always organize your code in a MVC manner. I'm not quite sure what you are asking for(a framework or something like that... I'm not familiar with any kind of mvc framework for wpf, but this doesn't mean there isn't one), because there is no managing urls in winforms and wpf and the other cool stuff in asp.net-mvc.
If you want to code in WPF way I strongly recommend doing ig the MVVM way.
Here is the ultimate start for wpf mvvm - http://community.infragistics.com/pixel8/media/p/91950.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With