Go to file
Doug Bunting 90e41b905a Add `ModelMetadata.HtmlEncode` property
- use new `ModelMetadata.HtmlEncode` property in HTML helpers
 - specifically in default HTML display and editor object templates (e.g.
   `@Html.DisplayFor()`) when value is non-`null` and the template is invoked
   with template depth greater than 1
- similar to MVC 5.2 commit [2b12791aee4f](https://aspnetwebstack.codeplex.com/SourceControl/changeset/2b12791aee4ffc56c7928b623bb45ee425813021)

nits:
- remove dupe `null` check in `DefaultDisplayTemplates.ObjectTemplate()`
- move backing fields initialized with constants together in `ModelMetadata`
2014-11-03 12:23:33 -08:00
samples Revert "Revert "Added a functional test for view precompilation"" 2014-10-30 14:38:44 -07:00
src Add `ModelMetadata.HtmlEncode` property 2014-11-03 12:23:33 -08:00
test Add `ModelMetadata.HtmlEncode` property 2014-11-03 12:23:33 -08:00
.gitattributes
.gitignore
CONTRIBUTING.md
LICENSE.txt
Mvc.NoFun.sln
Mvc.sln Revert "Revert "Added a functional test for view precompilation"" 2014-10-30 14:38:44 -07:00
NuGet.Config
README.md
Settings.StyleCop
build.cmd
build.sh
global.json
makefile.shade

README.md

ASP.NET MVC

ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and gives you full control over markup for enjoyable, agile development. ASP.NET MVC includes many features that enable fast, TDD-friendly development for creating sophisticated applications that use the latest web standards.

ASP.NET MVC in ASP.NET vNext includes support for building web pages and HTTP services in a single aligned framework that can be hosted in IIS or self-hosted in your own process.

This project is part of ASP.NET vNext. You can find samples, documentation and getting started instructions for ASP.NET vNext at the Home repo.