asp.net mvc 各版本区别
2016-01-02 16:39
531 查看
MVC 6
ASP.NET MVC and Web API has been merged in to one.
Dependency injection is inbuilt and part of MVC.
Side by side - deploy the runtime and framework with your application
Everything packaged with NuGet, Including the .NET runtime itself.
New JSON based project structure.
No need to recompile for every change. Just hit save and refresh the browser.
Compilation done with the new Roslyn real-time compiler.
vNext is Open Source via the .NET Foundation and is taking public contributions.
vNext (and Rosyln) also runs on Mono, on both Mac and Linux today.
MVC 5
One ASP.NET
Attribute based routing
Asp.Net Identity
Bootstrap in the MVC template
Authentication Filters
Filter overrides
MVC 4
ASP.NET Web API
Refreshed and modernized default project templates
New mobile project template
Many new features to support mobile apps
Enhanced support for asynchronous methods
MVC 3
Razor
Readymade project templates
HTML 5 enabled templates
Support for Multiple View Engines
JavaScript and Ajax
Model Validation Improvements
MVC 2
Client-Side Validation
Templated Helpers
Areas
Asynchronous Controllers
Html.ValidationSummary Helper Method
DefaultValueAttribute in Action-Method Parameters
Binding Binary Data with Model Binders
DataAnnotations Attributes
Model-Validator Providers
New RequireHttpsAttribute Action Filter
Templated Helpers
Display Model-Level Errors
ASP.NET MVC and Web API has been merged in to one.
Dependency injection is inbuilt and part of MVC.
Side by side - deploy the runtime and framework with your application
Everything packaged with NuGet, Including the .NET runtime itself.
New JSON based project structure.
No need to recompile for every change. Just hit save and refresh the browser.
Compilation done with the new Roslyn real-time compiler.
vNext is Open Source via the .NET Foundation and is taking public contributions.
vNext (and Rosyln) also runs on Mono, on both Mac and Linux today.
MVC 5
One ASP.NET
Attribute based routing
Asp.Net Identity
Bootstrap in the MVC template
Authentication Filters
Filter overrides
MVC 4
ASP.NET Web API
Refreshed and modernized default project templates
New mobile project template
Many new features to support mobile apps
Enhanced support for asynchronous methods
MVC 3
Razor
Readymade project templates
HTML 5 enabled templates
Support for Multiple View Engines
JavaScript and Ajax
Model Validation Improvements
MVC 2
Client-Side Validation
Templated Helpers
Areas
Asynchronous Controllers
Html.ValidationSummary Helper Method
DefaultValueAttribute in Action-Method Parameters
Binding Binary Data with Model Binders
DataAnnotations Attributes
Model-Validator Providers
New RequireHttpsAttribute Action Filter
Templated Helpers
Display Model-Level Errors
相关文章推荐
- ASP.NET页面回车键触发Button按钮事件问题
- What's Ailing ASP.NET Web Forms
- aspx页面与ashx的区别
- ASP.Net请求处理机制初步探索之旅 - Part 1 前奏(转)
- ASP: VS2015 + IIS Express 10 学习笔记
- ASP.NET MVC学习1
- ASP.NET列表信息以Excel形式导出
- 利用fis3自动化处理asp.net项目静态资源时遇到的一个编码问题
- Spring AOP使用@AspectJ实现日志管理
- rasppi
- 为什么在ASP.NET中IIS发布后就不能观看视频了
- Asp.Net WebApi 启用CORS跨域访问
- 使Asp.net WebApi支持JSONP和Cors跨域访问
- windows server2008下asp.net 的部署
- J48源码学习笔记(四)buildTree(),collaspe(),prune()
- 知识地图项目中当前暂时搁置,后期需要优化的地方--给自己记录一下
- asp.net MVC4 lognet4 日志
- ASP.net 判断上传文件类型的三种方法
- ASP.NET MVC 表单提交多层子级实体集合数据到控制器中
- asp.net mvc 无刷新加载