Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
hello is there any recomanded framework for building a c# desktop application like the MVC 4 for the asp.NET for the web?

What I have tried:

windows form application and WPF application
Posted
Updated 10-Feb-16 4:25am
v2
Comments
Kevin Marois 10-Feb-16 10:34am    
For WPF take a look at the MVVM pattern. While not a framework, you'll find the better WPF frameworks all incorporate it, so understanding MVVM is probably a requirement.

As far as which framework, that probably depends on your needs. Here's a comparison chart to get you going:

https://catelproject.atlassian.net/wiki/display/CTL/MVVM+framework+comparison+sheet
Member 10425001 10-Feb-16 14:59pm    
you can purchase a third party toolkit like devExpress that has some mvvm inspired windows forms.

I have to ask a little more... do you want to do mvc style because thats what you are used to? Do you have the ability to work with n-tier systems? As far as I can tell(and I'm new to mvc), the only real difference is on the UI level. You dont need controllers in windows because you never loose state. Your windows UI should talk to your bl, which should talk to a service, which should talk to your db.

1 solution

For desktop application in .net / C#, you can go either way:

1. NET/XAML: If you have affinity on C# and other high level language. High productivity. But the problem is, it is not expected to work non windows platform.

2. C++ and Win32: This along with COM components, can make things portable on non windows platform also.

For services prefer WCF over any other.

Thanks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900