ASP.NET MVC 4 Content Map

The Model-View-Controller (MVC) pattern is an architectural design principle that separates the components of a Web application. This separation gives you more control over the individual parts of the application, which lets you more easily develop, modify, and test them.

ASP.NET MVC is part of the ASP.NET framework. Developing an ASP.NET MVC application is an alternative to developing ASP.NET Web Forms pages; it does not replace the Web Forms model.

For information about what is new in this release of MVC, see ASP.NET MVC 4 on the ASP.NET web site. Last updated September, 2012

Documentation Resources for ASP.NET MVC 4

We suggest the following documentation to help you learn about ASP.NET MVC.

Scenario

Topics

New Featured Content

Intro to ASP.NET MVC 4

Using Asynchronous Methods in ASP.NET MVC 4

ASP.NET MVC 4 Mobile Features

Bundling and Minification

ASP.NET MVC 4 + HTML 5 + Knockout + ASP.NET Web API + SignalR = Webstack of Love (Video)

Using the HTML5 and jQuery UI Datepicker Popup Calendar with ASP.NET MVC

Getting started with ASP.NET MVC

Intro to ASP.NET MVC 4

Introduction to ASP.NET MVC  (video by Pluralsight)

Getting Started with EF using MVC

The ASP.NET MVC 3 content map contains many links that are relevant to ASP.NET MVC 4

Working with data and the Entity Framework

Getting Started with EF using MVC

Intro to ASP.NET MVC 4

Working with Data: Entity Framework (video by Pluralsight)

Building an ASP.NET MVC4 Application with EF and Web API

Working with views

Using the HTML5 and jQuery UI Datepicker Popup Calendar with ASP.NET MVC (Goes into view and edit templates in detail. Full sample included.)

ASP.NET MVC Razor Views (video by Pluralsight)

Dynamic Versus Strongly Typed Views (Rick Anderson)

Understanding controllers

ASP.NET MVC Controllers (video by Pluralsight)

Skinny controller in ASP.NET MVC 4

What is an ActionResult? (Rachel Appel)

The Life And Times of an ASP.NET MVC Controller (Scott Allen)

Use ViewModels to manage data & organize code in ASP.NET MVC applications (Rachel Appel)

When to use ViewBag, ViewData, or TempData in ASP.NET MVC 3 applications (Rachel Appel)

Working with models and binding

What’s the Difference Between a Value Provider and Model Binder? (Phil Haack)

Creating an Entity Framework Data Model for an ASP.NET MVC Application

Model Binding Precedence (forum post)

Validation

ASP.NET MVC–How to show asterisk after required field label

How to: Implement Remote Validation from a Client in MVC

Working with Data: Validation and Mapping (video by Pluralsight)

How data annotations for ASP.NET MVC validation work (Rachel Appel)

Manual Validation with Data Annotations (K. Scott Allen)

Introducing Data Annotations Extensions (Scott Kirkland)

ASP.NET MVC – Display visual hints for the required fields in your model (Radu Enucă)

User friendly CAPTCHA for Asp.Net MVC (Stefan)

Understanding URL routing in ASP.NET MVC

Using Constraints for Better Routing in MVC

Working with Razor views

Working with form input and helpers

Using the HTML5 and jQuery UI Datepicker Popup Calendar (Rick Anderson)

Cascading DropDownList in ASP.Net MVC (Rick Anderson)

How to add a required validator to a CheckBoxList (Simone Chiaretta)

SignalR

Clean up your MVC app with SignalR - Novanet

Internationalization and localization

See jQuery validation for non-English locales note.

Globalization, Internationalization and Localization in ASP.NET MVC 3, JavaScript and jQuery

Recap: i18n Packages for MVC4(The core package contains a helper class for mapping a locale code to a CultureInfo object, with additional helper methods to identify culture-related information.This also includes a config transform to enable globalization on your website.)

ASP.NET MVC Localization complete guide (Alex Adamyan)

jquery /globalize A JavaScript library for globalization and localization.

ASP.NET MVC 3 Internationalization (Nadeem Afana)

Creating a Bilingual ASP.NET MVC3 Application (Keith Barrow)

ASP.NET MVC Localization (Michael K. Campbell)

Model Metadata and Validation Localization using Conventions (Phil Haack)

Using Ajax, JSON, and jQuery

Dynamic Menus in ASP.NET MVC 4 using EF Code First and jQuery

Working with Edit/Display templates and the jQuery UI Popup Calendar

Project Silk: Client-Side Web Development for Modern Browsers

HTML5

Filtering

Filtering in ASP.NET MVC (MSDN article by Rick Anderson with project download.)

Securing ASP.NET MVC applications

Securing your ASP.NET MVC 4 Application (Rick Anderson)

MVC 3 Security (video by Pluralsight)

Implementing MVC Two Factor Authentication with Google Authenticator

Response.Redirect and ASP.NET MVC – Do Not Mix (Rick Anderson)

Mixing Forms and Windows Authentication(craig-andera)

Preventing Security Development Errors: Lessons Learned at Windows Live by Using ASP.NET MVC

Preventing Javascript Encoding XSS attacks in ASP.NET MVC (Jon Galloway)

Hack Proofing Your Microsoft ASP.NET Web Forms and MVC Applications (video by Adam Tuliper)

ASP.NET MVC Ajax CSRF Protection With jQuery 1.5

Prevent Cross-Site Request Forgery (CSRF) using ASP.NET MVC’s AntiForgeryToken() helper

Adding Two-Factor Authentication to a ASP.NET MVC Application (Jimmy Larkin)

Using AntiXss As The Default Encoder For ASP.NET (Phil Haack)

Preventing JavaScript Injection (XSS) Attacks (tutorial on the ASP.NET Web site)

Preventing Cross-Site Request Forgery (CSRF) attacks (tutorial on the ASP.NET Web site)

Microsoft patterns & practices: Project Silk (downloadable sample project and documentation)

Improving ASP.NET MVC application performance

Using Asynchronous Methods in ASP.NET MVC 4

Bundling and Minification

Bundling and Minifying Inline CSS and JavaScript

Easily Add Performance Counters to Your MVC Application (Ben Grover)

YSlow “Grade A” website with ASP.NET MVC 4 (Harvey Kandola)

Precompile your MVC Razor views using RazorGenerator (David Ebbo)

How to improve the performance of ASP.NET MVC web applications (Simone Chiaretta)

ASP.NET MiniProfiler from StackExchange rocks your world (Scott Hanselman)

OutputCacheAttribute class

Optimizing Your MVC4 App to the Max

ASP.NET MVC Performance Tips (Marcin Doboz)

Improving ASP.NET MVC Application Performance at MVCConf (Steve Smith)

Testing SSL and HTTP Compression in your ASP.NET web sites with IIS Express (G. Andrew Duthie)

Optimizing Your Web App To The Max (By replacing images with fonts) (Harvey Kandola)

How ASP.NET MVC Routing Works and its Impact on the Performance of Static Requests (Thomas Marquardt)

mvc-mini-profiler

ASP.NET GZip Encoding Caveats (Rick Strahl)

Testing ASP.NET MVC applications

Walkthrough: Using TDD with ASP.NET MVC

TDD and Unit Testing with ASP.NET MVC 3 (video by Pluralsight)

The "Testable Object" Pattern (Brad Wilson)

Full Throttle TDD (Brad Wilson)

Break away from the debugging cycle of doom in ASP.NET MVC with unit tests (Rachel Appel)

Unit test your MVC views using Razor Generator (David Ebbo)

Building Testable ASP.NET MVC Applications

Making the Most of ELMAH ASP.NET Error Logging (Michael K. Campbell)

Service Location and Dependency Injection in ASP.NET MVC applications

Debugging ASP.NET MVC applications

Finding Bad Controllers

Deploying ASP.NET MVC applications

Configuration and Deployment with ASP.NET MVC 3 (video by Pluralsight)

Best practices

MSDN Patterns & Practices introduces Project Silk, a web guidance project (Rachel Appel)

Microsoft patterns & practices: Project Silk (downloadable sample project and documentation)

Best Practices for ASP.NET MVC (Ben Grover)

ASP.NET MVC Best Practices (Part 1) (Kazi Manzur Rashid)

12 ASP.NET MVC Best Practices (Simone Chiaretta)

Supporting mobile pages in ASP.NET MVC

ASP.NET MVC 4 Mobile Features

Progressively enable the mobile web with ASP.NET MVC 4, HTML5, and jQuery Mobile (video by Phil Haack)

Learning about Progressive Enhancement - Supporting Mobile Browsers with CSS3 Media Queries (Scott Hanselman)

Cloud computing and ASP.NET MVC

Configuration Tips For ASP.NET MVC 4 on a Windows Azure Website

Prominent ASP.NET blogs that frequently include MVC information

Scott Guthrie on ASP.NET MVC

Phil Haack on ASP.NET MVC

Steve Sanderson on ASP.NET MVC

Scott Hanselman on ASP.NET MVC

Rachel Appel on ASP.NET MVC

Rick Anderson on ASP.NET MVC

Stuart Leeks on ASP.NET MVC

David Hayden (David Hayden)

Imran Baloch on ASP.NET MVC

Andrei Ignat on ASP.NET MVC

Radu Enuca on ASP.NET MVC

Kazi Manzur Rashid on ASP.NET MVC

Simon Ince's Blog on MVC

Additional resources

ASP.NET MVC - Highlight Current Link

ASP.NET MVC: Handling Exceptions and 404 Errors

Using Web Fonts In Your ASP.NET MVC Application

Cascading drop down with knockoutjs and ASP.NET MVC

This is Parrot: a new View Engine for ASP.NET MVC

Responsive design using Foundation with ASP.Net MVC

Videos About ASP.NET MVC 4

The following video entries provide additional information about how to work with ASP.NET MVC 3. Some of these videos are listed earlier, but are listed here again for convenience.

Last updated September, 2012