Go to file
Doug Bunting d3c24637b1 Correct `Type.IsAssignableFrom()` polarity
- #3482
 - see new tests; many failed without fixes in the product code
 - add support for binding `IFormFileCollection` properties
 - make `FormFileModelBinder` / `HeaderModelBinder` collection handling consistent w/ `GenericModelBinder`++
  - see also dupe bug #4129 which describes some of the prior inconsistencies
  - add checks around creating collections and leaving non-top-level collections `null` (not empty)
 - move smarts down to `ModelBindingHelper.GetCompatibleCollection<T>()` (was `ConvertValuesToCollectionType<T>()`)
  - add `ModelBindingHelper.CanGetCompatibleCollection()`
  - add fallback for cases like `public IEnumerable<T> Property { get; set; } = new T[0];`
- #4193
 - allow `Exception`s while activating collections to propagate
- part of #4181
 - `CollectionModelBinder` no longer creates an instance to check if it can create an instance
 - not a complete fix since it still creates unnecessary intermediate lists

nits:
- correct a few existing test names since nothing is not the same as `ModelBindingResult.Failed()`
- remove a couple of unnecessary `return` statements
- correct stale "optimized" comments
- explicit `(string)`
2016-03-03 09:55:01 -08:00
samples Remove project name from output path 2016-03-02 14:39:12 -08:00
src Correct `Type.IsAssignableFrom()` polarity 2016-03-03 09:55:01 -08:00
test Correct `Type.IsAssignableFrom()` polarity 2016-03-03 09:55:01 -08:00
tools
.gitattributes Updating to use cli 2016-02-22 17:49:51 -08:00
.gitignore Updating to use cli 2016-02-22 17:49:51 -08:00
.travis.yml Updating to use cli 2016-02-22 17:49:51 -08:00
CONTRIBUTING.md
LICENSE.txt
Mvc.NoFun.sln Add Microsoft.AspNetCore.Mvc.Dnx to allow using Mvc with DNX 2016-02-26 15:14:32 -08:00
Mvc.sln Add Microsoft.AspNetCore.Mvc.Dnx to allow using Mvc with DNX 2016-02-26 15:14:32 -08:00
NuGet.config
NuGetPackageVerifier.json Add Microsoft.AspNetCore.Mvc.Dnx to allow using Mvc with DNX 2016-02-26 15:14:32 -08:00
README.md
Settings.StyleCop
appveyor.yml Updating to use cli 2016-02-22 17:49:51 -08:00
build.cmd Return the correct error code from the build script 2016-02-28 11:10:35 -08:00
build.ps1 Update the build scripts 2016-02-27 12:51:16 -08:00
build.sh Update the build scripts 2016-02-27 12:51:16 -08: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.

Related community projects:

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.