本文转自:http://msdn.microsoft.com/en-us/library/gg416514(v=vs.108).aspx
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
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
|
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
- ASP.NET MVC 4 Content Map
https://msdn.microsoft.com/en-us/library/gg416514(v=vs.108).aspx The Model-View-Controller (MVC) pat ...
- MVC中使用EF(1):为ASP.NET MVC程序创建Entity Framework数据模型
为ASP.NET MVC程序创建Entity Framework数据模型 (1 of 10) By Tom Dykstra |July 30, 2013 Translated by litdwg ...
- [转]Creating an Entity Framework Data Model for an ASP.NET MVC Application (1 of 10)
本文转自:http://www.asp.net/mvc/overview/older-versions/getting-started-with-ef-5-using-mvc-4/creating-a ...
- [转]Sorting, Filtering, and Paging with the Entity Framework in an ASP.NET MVC Application (3 of 10)
本文转自:http://www.asp.net/mvc/overview/older-versions/getting-started-with-ef-5-using-mvc-4/sorting-fi ...
- 【第三篇】ASP.NET MVC快速入门之安全策略(MVC5+EF6)
目录 [第一篇]ASP.NET MVC快速入门之数据库操作(MVC5+EF6) [第二篇]ASP.NET MVC快速入门之数据注解(MVC5+EF6) [第三篇]ASP.NET MVC快速入门之安全策 ...
- 【番外篇】ASP.NET MVC快速入门之免费jQuery控件库(MVC5+EF6)
目录 [第一篇]ASP.NET MVC快速入门之数据库操作(MVC5+EF6) [第二篇]ASP.NET MVC快速入门之数据注解(MVC5+EF6) [第三篇]ASP.NET MVC快速入门之安全策 ...
- Java进击C#——应用开发之Asp.net MVC
本章简言 上一章笔者讲到关于Asp.NET的知识点.了解Asp.NET基本的知识点之后,我们在来学习关于C#的MVC框架就简单多了.显然本章就是来介绍一下关于Asp.NET MVC.对于MVC的思想笔 ...
- Cordova+Asp.net Mvc+GIS跨平台移动应用开发实战1-系统初步搭建(附演示,apk,全部源码)
1.前言 身处在移动互联网的今天,移动应用开发炙手可热,身为程序猿的我们怎么能错过开发一款我们自己的APP.本人算是一个基于.net的GIS开发入门者(马上就大四啦), 暑假在学校参加GIS比赛有大把 ...
- 【转】Controllers and Routers in ASP.NET MVC 3
Controllers and Routers in ASP.NET MVC 3 ambilykk, 3 May 2011 CPOL 4.79 (23 votes) Rate: vote 1vote ...
随机推荐
- js 中&& 与 ||
/*** 几乎所有语言中||和&&都遵循“短路”原理,* 如&&中第一个表达式为假就不会去处理第二个表达式,而||正好相反.* js也遵循上述原则.* 当||时,找到为 ...
- 卡特兰数 BZOJ3907 网格 NOIP2003 栈
卡特兰数 卡特兰数2 卡特兰数:主要是求排列组合问题 1:括号化矩阵连乘,问多少种方案 2:走方格,不能过对角线,问多少种方案 3:凸边型,划分成三角形 4:1到n的序列进栈,有多少种出栈方案 NOI ...
- sqlserver任务导出Excle
--sql语句就用下面的存储过程 /*--数据导出Excel 导出查询中的数据到Excel,包含字段名,文件为真正的Excel文件,如果文件不存在,将自动创建文件,如果表不存在,将自动创建表基于通用性 ...
- MySQL 字段类型详解
一.非数字类型 类型 范围 说明 Char(N) [ binary] N=1~255 个字元 binary :分辨大小写 固定长度 std_name cahr(32) not null VarCh ...
- A Tour of Go Exercise: Images
Remember the picture generator you wrote earlier? Let's write another one, but this time it will ret ...
- hdoj 1106 排序
排序 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submissi ...
- 转载ASP.NET MVC 和ASP.NET Web Form简单区别
转载原地址 http://www.cnblogs.com/lei2007/p/3315431.html 概论: Asp.net 微软 提供web开发框架或者技术.分Web Form和ASP.NET ...
- LDO稳压器工作原理
LDO稳压器工作原理 随着便携式设备(电池供电)在过去十年间的快速增长,像原来的业界标准 LM340 和LM317 这样的稳压器件已经无法满足新的需要.这些稳压器使用NPN 达林顿管,在本文中称其为N ...
- 设置 ubuntu ftp
apt-get install后就是启动不了,ftp localhost connection refued 1. 关闭ubuntu防火墙 : ufw disable 2. 还是不行,报 500 m ...
- JQuery上传插件Uploadify API详解
一.相关key值介绍uploader:uploadify.swf文件的相对路径,该swf文件是一个带有文字BROWSE的按钮,点击后淡出打开文件对话框,默认值:uploadify.swf. scrip ...