Go to file
Doug Bunting 5c8dfef15e
Change `CollectionModelBinder` and `ComplexTypeModelBinder` to enforce `[BindRequired]`
- #8180
- add an error when binding fails for top-level model
  - same case as when MVC creates "default" / empty model i.e. `ParameterBinder` can't detect this
- update `CollectionModelBinder` subclasses and the various providers as well
- controlled by existing `MvcOptions.AllowValidatingTopLevelNodes` option

smaller issue:
- change `ModelBinding_MissingBindRequiredMember` resource to mention parameters too
2018-09-21 11:08:16 -07:00
.github
.vsts-pipelines/builds Update CI and build tools for to use 2.2 versions 2018-06-29 11:33:02 -07:00
benchmarkapps Reference Microsoft.NET.Sdk.Razor in projects with Razor files 2018-09-20 13:21:45 -07:00
benchmarks/Microsoft.AspNetCore.Mvc.Performance Add IParameterTransformer support (#8329) 2018-09-12 21:46:41 +12:00
build Reaction PR from routing rename 2018-09-20 10:15:50 -07:00
samples/MvcSandbox Update tests to latest compat switch 2018-08-23 08:09:02 -07:00
src Change `CollectionModelBinder` and `ComplexTypeModelBinder` to enforce `[BindRequired]` 2018-09-21 11:08:16 -07:00
test Change `CollectionModelBinder` and `ComplexTypeModelBinder` to enforce `[BindRequired]` 2018-09-21 11:08:16 -07:00
.appveyor.yml
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md Update CONTRIBUTING.md 2018-07-24 10:54:26 -07:00
Directory.Build.props make feature branch build 2018-07-20 12:57:43 -07:00
Directory.Build.targets
LICENSE.txt
Mvc.NoFun.sln Remove experimental analyzers 2018-09-07 16:03:06 -07:00
Mvc.sln Remove experimental analyzers 2018-09-07 16:03:06 -07:00
NuGet.config
NuGetPackageVerifier.json
README.md Remove AppVeyor badge from README (#8271) 2018-08-14 10:36:57 -07:00
Settings.StyleCop
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2018-09-16 12:22:12 -07:00
korebuild.json Update CI and build tools for to use 2.2 versions 2018-06-29 11:33:02 -07:00
run.cmd
run.ps1
run.sh
version.props Remove experimental analyzers 2018-09-07 16:03:06 -07:00

README.md

ASP.NET Core MVC

Note: For ASP.NET MVC 5.x, Web API 2.x, and Web Pages 3.x (not ASP.NET Core), see https://github.com/aspnet/AspNetWebStack

Travis: Travis

ASP.NET Core 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 Core MVC includes many features that enable fast, TDD-friendly development for creating sophisticated applications that use the latest web standards.

ASP.NET Core MVC 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.

See the ASP.NET Core MVC documentation.

Related community projects:

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

Building from source

To run a complete build on command line only, execute build.cmd or build.sh without arguments. See developer documentation for more details.