Home > Microsoft .Net Development Tips > .NET Architecture > Introduction to ASP.NET's Model View Controller (MVC) Design Pattern
Win Development Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

.NET ARCHITECTURE

Introduction to ASP.NET's Model View Controller (MVC) Design Pattern


Ed Tittel, Contributor
02.06.2009
Rating: -4.17- (out of 5)


.NET Essentials Channel
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


I don't know what it is lately, but I find myself bumping into design patterns every which way I turn. I recently reviewed Christopher Alexander's A Pattern Language, and here I am writing about an explicit design pattern called MVC (for Model-View-Controller).

The MVC design pattern is widely used in applications that need to maintain multiple views of the same data sets. The fundamental principle at work here is functional separation. Models maintain the actual data; views provide logical windows into that data and control what users can see and interact with; and controllers handle events that might affect either a model or a particular view.

This structure permits multiple views and multiple controllers to interface with a single model, and it permits new views and controllers to be introduced at will without imposing any changes to model designs. As a paragon of uncoupled designs, this one is a real peach! (For more information and some nice diagrams, check out the description of MVC at enode.com).

Given this background, Microsoft's MVC offering may begin to earn its status as a "cool tool" for ASP.NET. It provides scaffolding and...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
.NET Architecture
Microsoft's Oslo modeling platform, the M language and .NET
Free book from Microsoft brings patterns and practices to .NET
A look at concurrency constructs and primitives in .NET
Designing Windows Communication Foundation service contracts
Book excerpt: Java EE and .NET security interoperability
Book excerpt: .NET Framework Design Guidelines
Book Excerpt: Executing activities in Windows Workflow Foundation
Aspect-oriented programming (AOP) and the .NET Framework
Book excerpt: Hands-on Windows Communication Foundation
The Software Factory: Refactoring an industry

.NET Architecture Best Practices
Free book from Microsoft brings patterns and practices to .NET
Java application frameworks come to .NET
The faces of .NET/Java interoperability
.NET Development coming to a Cloud near you
Distributed caching goes mainstream
A look at concurrency constructs and primitives in .NET
Designing Windows Communication Foundation service contracts
Scaling WCF applications can challenge development teams
Microsoft touts rich Internet app development at Mix08
Book excerpt: .NET Framework Design Guidelines
.NET Architecture Best Practices Research

ASP.NET development best practices
Silverlight, Ajax components require different approach to UI
LINQ Learning Guide: LINQ and Web applications
VB code download home page
VB code: File manipulation downloads
Localization practices for .NET 2.0: It's still about the architecture
Creating custom ASP.NET 2.0 profile providers
.NET development in the trenches
Microsoft developers balancing age-old issues, barrage of new technology
SearchVB.com's Podcast Page
Visual Studio 2008 Learning Guide: Web development

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
.NET  (SearchWinDevelopment.com)
C#  (SearchWinDevelopment.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


support building MVC applications using the ASP.NET framework that provides an interesting and (to many developers) appealing alternative to ASP.NET Web Forms. This tool affords numerous benefits, including:

  • Clear separation of tasks and data views
  • Support for test-driven development approaches
  • Fine-grained control over both HTML and JavaScript code elements
  • User-intelligible URLs (Microsoft calls them "intuitive," but I think they're pushing their luck)

The ASP.NET MVC framework is currently at the release candidate stage, which means it's still in what can only be called a "late beta" mode. Nevertheless, this capability is reasonably mature and surprisingly capable. Check out Microsoft's ASP.NET MVC home page, where you'll find tutorials, videos, a design gallery and some interesting sample applications, as well as the downloads you'll need to start putting this interesting and powerful design pattern to work. Enjoy!

Ed Tittel is a full-time writer and trainer whose interests include XML and development topics, along with IT certification and information security topics. Email Ed at etittel@techtarget.com with comments, questions or suggested topics or tools to review.

Rate this Tip
To rate tips, you must be a member of SearchWinDevelopment.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Database Programming Solutions - .NET XML, Visual Studio LINQ, ORM .NET
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts