Go to file
N. Taylor Mullen fc2019c973 Modify `TypeConverterModelBinder`'s `ModelBindingResult.IsModelSet` to be false when model value is `null` for non-null accepting types.
- Previously `ModelBindingResult.IsModelSet` would be set to true if type conversions resulted in empty => `null` values for ValueTypes. This resulted in improper usage of `ModelBindingResult`s creating null ref exceptions in certain cases.
- Updated existing functional test to account for new behavior. Previously it was handling the null ref exception by stating that errors were simply invalid; now we can provide a more distinct error.
- Added unit test to validate `TypeConverterModelBinder` does what it's supposed to when conversions result in null values.
- Added additional integration tests for `TypeConverterModelBinder`.

#2720
2015-07-02 20:03:32 -07:00
samples Add or update sample `readme.md` files 2015-06-26 21:15:18 -07:00
src Modify `TypeConverterModelBinder`'s `ModelBindingResult.IsModelSet` to be false when model value is `null` for non-null accepting types. 2015-07-02 20:03:32 -07:00
test Modify `TypeConverterModelBinder`'s `ModelBindingResult.IsModelSet` to be false when model value is `null` for non-null accepting types. 2015-07-02 20:03:32 -07:00
.gitattributes
.gitignore
.travis.yml Fixing tests in Mono. 2015-07-02 17:24:14 -07:00
CONTRIBUTING.md Update Home master -> Home dev 2015-05-12 11:26:36 -07:00
LICENSE.txt
Mvc.NoFun.sln [Fixes #2684] Removed Mvc.Common 2015-06-25 16:02:07 -07:00
Mvc.sln [Fixes #2684] Removed Mvc.Common 2015-06-25 16:02:07 -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.