MVC frameworks for .NET desktop applications [closed]

吃可爱长大的小学妹 提交于 2019-12-21 10:15:53

问题


I've been playing a lot with MVC lately in the forms of ASP.NET MVC and Django (MTV actually) and I must say that I love it.

Are there any similar frameworks for creating desktop WinForm apps?


回答1:


Not that I know of.

Most of my Winforms apps use the MVC or MVP pattern though. I've noticed that when creating Winforms apps you don't really need much of a framework. There is no routing infrastructure and no view-rendering. I find that I don't have to do much plumbing to use these patterns.

That might explain why there are no high profile frameworks in that space.




回答2:


A winforms app blends the view and controller into pretty much one thing, the form. In other words, you are working with a model view/controller pattern. Much of the work for the view and controller is already done.



来源:https://stackoverflow.com/questions/451300/mvc-frameworks-for-net-desktop-applications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!