ASP.NET MVC 3

El modelo Model-View-Controller (MVC) es un principio de diseño arquitectónico que separa los componentes de una aplicación web. Esta separación ofrece más control sobre las partes individuales de la aplicación, lo cual permite desarrollarlas, modificarlas y probarlas más fácilmente.

ASP.NET MVC forma parte del marco de trabajo ASP.NET. Desarrollar una aplicación ASP.NET MVC es una alternativa al desarrollo de páginas de formularios Web Forms de ASP.NET; no reemplaza el modelo de formularios Web Forms.

Puede obtener la versión más actualizada del marco de ASP.NET MVC en la página de descarga de ASP.NET MVC. Para obtener información sobre las novedades de esta versión de MVC, vea ASP.NET MVC 3 en el sitio web de ASP.NET.

Nota

Además, también hay una versión anterior del marco de MVC (ASP.NET MVC 2).Si trabaja con una aplicación escrita específicamente para que se utilice en esa versión del marco de MVC, puede descargar ASP.NET MVC 2.

Mapa de contenido de ASP.NET MVC 3

Recomendamos consultar la documentación en el siguiente orden para obtener información sobre ASP.NET MVC. Puede descargar proyectos de ejemplo completos en la página ASP.NET MVC 3 Code Examples del sitio web de MSDN.

Nota

Hay información adicional disponible en las entradas de blog escritas por expertos en materia de ASP.NET MVC.Para obtener más información, vea la sección Entradas de blog sobre ASP.NET MVC que figura más adelante en este documento.

Escenario

Temas

Introducción a ASP.NET MVC

Intro to ASP.NET MVC 3

Introduction to ASP.NET MVC 3 (vídeo de pluralsight)

Getting Started with ASP.NET MVC

ASP.NET MVC 3 Overview

ASP.NET MVC 3 Roundup of Tutorials, Videos, Labs, and other Assorted Training Materials

Creating a MVC 3 Application with Razor and Unobtrusive JavaScript

ASP.NET MVC from Basics to Tips and Tricks (Michael Johnson)

Información general sobre MVC en ASP.NET

MVC FAQ

Tips on getting your ASP.NET MVC questions answered quickly (entrada de blog)

Vea también la sección Entradas de blog sobre ASP.NET MVC que figura más adelante en este documento.

Trabajar con Entity Framework

Intro to ASP.NET MVC 3

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

Round tripping a timestamp field with EF4.1 Code First and MVC 3 (Julie Lerman)

Handling Optimistic Concurrency Exceptions with EF and MVC 3 (Rick Anderson)

Working with Data: Entity Framework (pluralsight)

Working with Data: Validation and Mapping (vídeo de pluralsight)

Internacionalización

Compatibilidad con la validación de ASP.NET MVC 3 con configuraciones regionales no inglesas

ASP.NET MVC 3 Internationalization (Nadeem)

Entender los modelos, vistas y controladores

ASP.NET MVC Controllers (vídeo de pluralsight)

Controladores y métodos de acción en aplicaciones de ASP.NET MVC

Cómo: Implementar la validación remota en ASP.NET MVC

Vistas y representación de la interfaz de usuario en aplicaciones de ASP.NET MVC

Modelos y validación en ASP.NET MVC

Usar un controlador asincrónico en ASP.NET MVC

Filtrar en ASP.NET MVC

Entender la estructura del proyecto de ASP.NET MVC

Marco de MVC y estructura de aplicación

Descripción de la ejecución de la aplicación MVC

Tutorial: Organizar una aplicación mediante áreas

Entender el enrutamiento de URL en ASP.NET MVC

ASP.NET Routing

RouteDebugger 2.0 (Phil Haack)

ASP.NET MVC Framework: URL Routing (Scott Guthrie)

ASP.NET MVC Routing Overview

ASP.NET Routing and ASP.NET MVC (Craig Stuntz)

Trabajar con vistas

ASP.NET MVC Razor Views (vídeo de pluralsight)

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

What is an ActionResult? (Rachel Appel)

Create User Friendly Date Fields with ASP.NET MVC EditorTemplates and jQueryUI (Rachel Appel)

Dynamic V Strongly Typed Views (Rick Anderson)

Razor Layout (Justin Schwartzenberger)

Representar un formulario mediante aplicaciones auxiliares HTML

Tutorial: Usar aplicaciones auxiliares con plantilla para mostrar datos en ASP.NET MVC

Crear una vista de ASP.NET MVC llamando a varias acciones

Creating Custom HTML Helpers (tutorial del sitio web de ASP.NET)

Creating Page Layouts with View Master Pages (vídeo del sitio web de ASP.NET)

Vea también la sección Entradas de blog sobre ASP.NET MVC que figura más adelante en este documento.

Trabajar con modelos

Tutorial: Utilizar plantillas de vista MVC

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

Input Validation vs. Model Validation in ASP.NET MVC

Cómo: Validar los datos del modelo mediante los atributos de DataAnnotations

Cómo: Implementar la validación remota en ASP.NET MVC

Vea también la sección Entradas de blog sobre ASP.NET MVC que figura más adelante en este documento.

Crear aplicaciones auxiliares

Creating Custom HTML Helpers (tutorial del sitio web de ASP.NET)

User Controls and HTML Helpers (Dino Esposito)

Utilizar AJAX y jQuery en aplicaciones de ASP.NET MVC

jQuery Templates with ASP.NET MVC (Hajan)

jQuery templates vs. MVC Partial Views (Nadeem Afana)

Mocking the jQuery Ajax Call in ASP.NET MVC 3 Music Store (Elijah Manor)

An early look at jQuery UI Grind in ASP.NET MVC – Data Model (Tomasz Pęczek)

JavaScript and Ajax (vídeo de pluralsight)

Vea también la sección Entradas de blog sobre ASP.NET MVC que figura más adelante en este documento.

Filtrar métodos de acción

Filtrar en ASP.NET MVC

Get to Know Action Filters in ASP.NET MVC 3 Using HandleError

Crear filtros de acción personalizada

Cómo: Crear un filtro de acción personalizado

Conditional Filters in ASP.NET MVC 3 (Phil Haacked)

FluentFilters for ASP.NET MVC 3 - Register global filters by specified conditions (Dmitry Antonenko)

Proteger aplicaciones MVC

Cómo crear un sitio de intranet mediante ASP.NET MVC

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

Better, Faster, Easier SSL testing for ASP.NET MVC & WebForms (Rick Anderson)

ASP.NET MVC Ajax CSRF Protection With jQuery 1.5

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

Tutorial: Utilizar la autenticación mediante formularios en ASP.NET MVC

Clase AuthorizeAttribute

Preventing JavaScript Injection (XSS) Attacks (tutorial del sitio web de ASP.NET)

Preventing Cross-Site Request Forgery (CSRF) attacks (tutorial del sitio web de ASP.NET)

Inyección de código SQL (Libros en pantalla de SQL Server 2008)

Cómo: Proteger ASP.NET de inyecciones SQL (Modelos y prácticas)

Vea también la sección Entradas de blog sobre ASP.NET MVC que figura más adelante en este documento.

Mejorar el rendimiento de una aplicación ASP.NET MVC

Clase OutputCacheAttribute

ASP.NET MVC Performance Tips (Marcin Doboz)

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

Adding Dynamic Content to a Cached Page (tutorial del sitio web de ASP.NET)

Probar las aplicaciones MVC

Tutorial: Utilizar TDD con ASP.NET MVC

Creación de aplicaciones ASP.NET MVC comprobables

Scaffolding Actions and Unit Tests with MvcScaffolding

Dependency Injection with ASP MVC 3–Distilled and Simplified

Testing Routing and URL Generation in ASP.NET MVC

Unit Test Your Custom Routes

Testing Routes In ASP.NET MVC

RouteEvaluator For Unit Testing Routes

Test your ASP.NET MVC or WebForms Application on IIS 7 in 30 seconds (Rick Anderson)

Implementar aplicaciones MVC

Using ASP.NET MVC with Different Versions of IIS (tutorial del sitio web de ASP.NET)

Bin deploy required dependencies for MVC 3 projects with Visual Studio 2010 SP1 (Justin Schwartzenberger)

Test your ASP.NET MVC or WebForms Application on IIS 7 in 30 seconds (Rick Anderson)

Entradas de blog sobre ASP.NET MVC 3

Las siguientes entradas de blog proporcionan información adicional sobre cómo trabajar con ASP.NET MVC 3.

Vídeos acerca de ASP.NET MVC 3

Las siguientes entradas de vídeo proporcionan información adicional sobre cómo trabajar con ASP.NET MVC 3

  1. Introduction to ASP.NET MVC 3 (pluralsight)

  2. ASP.NET MVC Controllers (pluralsight)

  3. ASP.NET MVC Razor Views (pluralsight)

  4. Working with Data: Entity Framework (pluralsight)

  5. Working with Data: Validation and Mapping (pluralsight)

  6. JavaScript and Ajax (pluralsight)

  7. Advanced MVC 3 (Brad Wilson)

  8. ASP.NET MVC 3 Roundup of Tutorials, Videos, Labs, and other Assorted Training Materials (Jon Galloway)