Home  /  Questions  /  Question

60   95.3
May 17, 2010

MVC Example


I am new to C# , I have heard about MVC pattern.
Can some please share with me an MVC C# code sample (basic).

I would very much appreciate it.
 1 comment
http://kristianguevara.net/creating-your-asp-net-mvc-5-application-from-scratch-for-beginners-using-entity-framework-6-and-identity-with-crud-functionalities/ follow the steps from this link and you will have a better idea...this is what i did to start with MVC --- Karan Trivedi  Aug 25, 2016

588   99.9
May 20, 2010
Watch my Golf Tracker Video Series at MVC Central. I build a complete n-Tier ASP.NET MVC application from the ground up.

You can also download the entire code from the Kits section.


50   50
Apr 08, 2015
Please visit below site for complete tutorials and other stuff on MVC 4

May 17, 2010
 1 comment
Many thanks for reply. See this: http://www.codeproject.com/KB/cs/model_view_controller.aspx If you see the comments of " loudenvier" "Not MVC - No Controller (again)" of above url. The author does not create a Controller class. He uses the control event button_click. Is this the correct approach? It is all very confusing. Assistance appreciated. --- Ali Momin  May 18, 2010

1,128   99.9
May 17, 2010
Here's some more alternatives from StackOverflow:

Looking for a MVC Sample for WinForms

Where can I get some information on starting C# programming with MVC / ASP.NET?

How to learn MVC — *not* in a web setting


If you intend to use C# with WinForms I would recommend that you also take
a look at Passive View design pattern (very similar to MVC)

Good Luck!