Go to file
Doug Bunting 8779cafbab Use `[Display(Order=x)]` to sort validation messages and properties
- #964
- compute `ModelMetadata.Order` based on `[Display]` attribute
 - property affects e.g. `@Html.DisplayFor()` generation for complex objects
 - also affects order of messages in validation summaries
- test new scenarios involving `ModelMetadata.Order`
 - per-property `ModelMetadata` and related tests
 - validation and `HtmlHelper` tests
 - add `HtmlHelperValidationSummaryTest` (which touches on #453)
- update ModelBinding functional test to show use of `[Display(Order = x)]`

nits:
- move more `NullDisplayText` bits into proper slots (just above `Order`)
 - add doc comments for `ComputeNullDisplayText()`
- add more assertions in tests using `ModelStateDictionary.HasReachedMaxErrors`
- remove some trailing whitespace
- avoid `Assert.True()` & `Assert.False()`; split some assertions up
- `""` -> `string.Empty` in affected test classes
- rename "DefaultEditorTemplatesTest~~s~~" class and file to follow guidelines
- rename "ModelBindingTest~~s~~" class and file to follow guidelines

FYI #1888 covers a predictable (or even just stable) order in the UI
2015-01-29 09:31:05 -08:00
samples Removing XmlSerializer from TagHelpersSample.Web 2015-01-23 17:26:48 -08:00
src Use `[Display(Order=x)]` to sort validation messages and properties 2015-01-29 09:31:05 -08:00
test Use `[Display(Order=x)]` to sort validation messages and properties 2015-01-29 09:31:05 -08:00
.gitattributes
…
.gitignore [cleanup] Update .gitignore and reset .kproj files 2015-01-21 22:03:23 -08:00
CONTRIBUTING.md
…
LICENSE.txt
…
Mvc.NoFun.sln Added the EnvironmentTagHelper: 2015-01-22 10:17:25 -08:00
Mvc.sln Added functionaltests for ModelMetadataType attribute and moved TryValidateModel tests actions to ValidationWebSite 2015-01-27 15:56:49 -08:00
NuGet.Config Updating to dev NuGet.config 2014-12-08 15:24:52 -08:00
README.md Change ASP.NET vNext to ASP.Net 5 in the Readme.md 2015-01-22 11:00:05 -08:00
Settings.StyleCop Correct StyleCop violations 2015-01-06 16:23:57 -08:00
build.cmd Rename SKIP_KRE_INSTALL to SKIP_DOTNET_INSTALL 2015-01-20 18:30:04 -08:00
build.sh Updating build.cmd and build.sh to use dotnetsdk 2015-01-20 01:36:23 -08:00
global.json
…
makefile.shade Address aspnet/razor#236, recreate XML files when xml-docs-test target is run directly 2014-11-30 21:36:36 -08:00

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 5 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 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.