This article is used to demonstrate the MVC Pattern in .NET using C#/WinForm.
Here a simple "User Information Manager" application which is organized according the the Model-View-Controller(MVC) pattern.
The application displays a list of contacts and allows you to add, modify, and delete existing contacts. The idea is to separate the user interface into View (creates the display, calling the Model as necessary to get information) and Controller (responds to user requests, interacting with both the View and Controller as necessary). The main advantage of MVC pattern is Loose Coupling. All the layers are separated with their own functionality. It is easy to replace a layer with some other type of layer. In other words, MVC pattern is to break up UI behavior into separate pieces in order to increase reuse possibilities and testability. I am using Visual Studio 2010 Ultimate with .NET 4.0 for creating this Application.
Here a simple "User Information Manager" application which is organized according the the Model-View-Controller(MVC) pattern.
The application displays a list of contacts and allows you to add, modify, and delete existing contacts. The idea is to separate the user interface into View (creates the display, calling the Model as necessary to get information) and Controller (responds to user requests, interacting with both the View and Controller as necessary). The main advantage of MVC pattern is Loose Coupling. All the layers are separated with their own functionality. It is easy to replace a layer with some other type of layer. In other words, MVC pattern is to break up UI behavior into separate pieces in order to increase reuse possibilities and testability. I am using Visual Studio 2010 Ultimate with .NET 4.0 for creating this Application.
Read More....
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
No comments:
Post a Comment