Answered by:
MVC Architecture In C#

Question
-
Hi friends, Can any buddy tell me the best example of MVC architecture in c#.
- Moved by Kristin Xie Tuesday, June 2, 2015 10:51 AM
Wednesday, May 20, 2015 6:52 AM
Answers
-
Please post questions related to MVC and web apps in the ASP.NET forums (http://forums.asp.net ).
- Proposed as answer by Kristin Xie Thursday, May 21, 2015 10:12 AM
- Marked as answer by Just Karl Tuesday, June 2, 2015 10:29 PM
Wednesday, May 20, 2015 3:25 PM
All replies
-
Mostly MVC is used in Web Apps.
ASP.NET has a powerfull MVC architecure (ASP.NET MVC).
Simply you can write an CRUD ops page (Employee) for an example for this.
In WPF, you can use MVVM architecture.
Muthukrishnan Ramasamy
net4.rmkrishnan.net
Use only what you need, Reduce global warmingWednesday, May 20, 2015 7:03 AM -
How would you define "best"?
And what are you looking for?
Here's some example projects:
http://www.asp.net/aspnet/samples/aspnet-mvc
http://www.c-sharpcorner.com/UploadFile/rmcochran/MVC_intro12122005162329PM/MVC_intro.aspx
- Edited by Andy ONeill Wednesday, May 20, 2015 9:24 AM
Wednesday, May 20, 2015 9:23 AM -
MVC is a pattern that does not bound to any technology. It can be using any programming language.
http://www.tutorialspoint.com/struts_2/basic_mvc_architecture.htm
chanmm
chanmm
Wednesday, May 20, 2015 10:01 AM -
Please post questions related to MVC and web apps in the ASP.NET forums (http://forums.asp.net ).
- Proposed as answer by Kristin Xie Thursday, May 21, 2015 10:12 AM
- Marked as answer by Just Karl Tuesday, June 2, 2015 10:29 PM
Wednesday, May 20, 2015 3:25 PM -
Hi friends, Can any buddy tell me the best example of MVC architecture in c#.
That would be any MVC solution that is using N-tier and a true Seperation of Concerns and not the junk being preached about ADO.NET EF or any data access being done directly by the controller.
http://en.wikipedia.org/wiki/Separation_of_concerns
http://en.wikipedia.org/wiki/Multitier_architecture
http://www.codeproject.com/Articles/70061/Architecture-Guide-ASP-NET-MVC-Framework-N-tier-En
Wednesday, May 20, 2015 6:45 PM -
Yes, you can definitely build C# applications in MVC. If someone tells you that MVC is a core web framework he is wrong. MVC is a software development pattern. It is used by other web-based tools and frameworks, such as ASP.NET thus providing the famous ASP.NET MVC framework.
The MVC framework is pretty simple, it contains three categories,
- Model -- for data
- View -- for user interface
- Controller -- for handling the software state, such as events, input/output and other stuff such as business logic
If your application's source code is based on these three categories and they are written, controlled and maintained separately then yes, your application is using the MVC framework. There are no libraries, assemblies required to use this framework. It is just a theory.
If you are interested in learning MVC framework, then please read this article of mine that I wrote a while ago about MVC framework for beginners.
PS. I also have a guide for those interested in ASP.NET MVC framework. ;-)
~!Firewall!~
Wednesday, May 20, 2015 8:17 PM -
Good one, although MVC is not something that belongs to web applications only. It is a software development pattern. Perhaps you might also want to have a look at my answer. :-)
~!Firewall!~
Wednesday, May 20, 2015 8:18 PM