Is there something similar to asp.net mvc for winforms or wpf?

Does anyone know something similar to asp.net mvc for winforms or wpf?

+6
model-view-controller winforms wpf
source share
5 answers

The most acceptable (and, in my opinion, most suitable for use) WPF application development template is MVVM (stands for Model-View-ViewModel ).

You can read a fairly wide introduction with a step-by-step guide here: http://msdn.microsoft.com/en-us/magazine/dd419663.aspx

+1
source share

For winforms, you can implement your own MVP (model view presenter) or MVC (model template management models. There are also some structures, such as CAB (application application block), which you can use http://msdn.microsoft.com/en- us / library / aa480450.aspx , which are mostly MVC templates.

+2
source share

Well, MVC is a template, you can always organize your code using MVC. I'm not quite sure what you are asking for (a framework or something like that ... I am not familiar with any mvc card for wpf, but that does not mean that it is not), because it does not manage URLs in winforms and wpf, and other cool stuff in asp.net-mvc.

If you want to use the code in WPF, I highly recommend making the MVVM path.

Here is the final start for wpf mvvm - http://community.infragistics.com/pixel8/media/p/91950.aspx

+1
source share

You can take a look at the implementation of Model-View-View Model in WPF .

This is not a platform like .NET MVC, but in its main MVC there is a template, and MVVM is a close analogue for WPF.

+1
source share

It’s good that the settings of Windows applications really make sense, an event-driven model can be used in an environment that supports states. In contrast, the amount of javascript hack to emulate these "states" in webforms is insane. Thus, MVC makes sense on the Internet, because the website is stateless, in the windows we have states and must use them. If you really want this web interface for your Windows service or something else, you can put a copy of casini in your installer and use the web interface without any problems. Hope this helps.

+1
source share

All Articles