Go to file
Doug Bunting 715a0b6021 Add `ModelState` entries for greedy and type-matching model binders
- part II of II for #2445
- `FormCollectionModelBinder` is an exception because container is not user-provided
 - no `ModelState` entry added
- enable tests that #2445 was blocking
 - fix these and other tests expecting different `ModelState` entries
- simplify logic in `FormFileModelBinder`

`ValueProviderResult`
- remove `protected` setters and parameterless constructor
 - no scenario for their use in subclasses; however `ConvertTo()` remains `virtual`
- add single-parameter constructor
 - use in most of the greedy and type-matching model binders
- add doc comments throughout class

nits:
- use new `ValueProviderResult` constructor in many existing tests
- `""` -> `string.Empty` and `vpr` -> `valueProviderResult` in `ValueProviderResultTest`
- improve some test names in `BodyValidationIntegrationTests`
- do not check `Message` of a Json.NET `Exception`
2015-06-23 22:34:55 -07:00
samples Adding an 'AddMinimalMvc()' for Mvc.Core and sample 2015-06-12 11:29:47 -07:00
src Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
test Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
.gitattributes
.gitignore
.travis.yml Update .travis.yml to use working version of mono. 2015-05-13 16:34:20 -07:00
CONTRIBUTING.md Update Home master -> Home dev 2015-05-12 11:26:36 -07:00
LICENSE.txt Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Mvc.NoFun.sln Adding an 'AddMinimalMvc()' for Mvc.Core and sample 2015-06-12 11:29:47 -07:00
Mvc.sln Split Mvc.Core 2015-06-09 02:12:13 -07:00
NuGet.Config
README.md
Settings.StyleCop
appveyor.yml
build.cmd
build.sh Change hardcoded `bash` shebang to `env` 2015-06-23 11:02:33 -07:00
global.json
makefile.shade

README.md

ASP.NET MVC

AppVeyor: AppVeyor

Travis: Travis

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.