C # Forms - MVC Structures?

I need to develop a forms application with a database backend. In the future, this may be due to the ASP.NET page. I thought of doing this as MVC and reusing it later.

So, What MVC structure are you using?

I am interested in quickly creating forms and any frameworks that link / link management with database fields.

+4
source share
4 answers

Windows Forms does not have really well-known MVC frameworks. There is probably a good reason for this - it is very difficult to implement MVC with Windows Forms due to the nature of the technology. I think you are much better off using MVVM with Windows Forms, and I'm talking about this as a big fan of MVC.

Otherwise, you need to give us more detailed information about what you are doing, and then we could offer some advice.

+1
source

This O / R-Mapping-Framework includes a solution for MVC and Command-Pattern, which is recommended for Desktop-Applications.

There is a demo application that demonstrates a simple Win-Forms application.

+1
source

As far as I know, for winforms there is no specific mvc structure, as for web applications (mvc2). You will have to implement the mvc template (or better the mv presenter) yourself. See Link http://msdn.microsoft.com/en-us/magazine/cc188690.aspx

0
source

MVC is really just a template for structuring your code.

If you are really going to use your application and port so that it is accessible via the Internet later, I can offer you to encode it as a WPF application using the MVVM template, as this will require less effort in the long run.

Alternatively, if you use ASP from the very beginning.

0
source

All Articles