aspnetcore/src/Mvc
Pranav K c76df96c70
Treat FormatExceptions and OverflowExceptions to be treated as model state errors (#15035)
In SystemTextJsonInputFormatter and NewtonsoftJsonInputFormatter, suppress
FormatExceptions and OverflowExceptions and instead report them as model state errors.

This makes the behavior more consistent between these formatters, model binders, and
the XML formatters

Fixes https://github.com/aspnet/AspNetCore/issues/14504
2019-10-17 10:06:57 -07:00
..
Mvc
Mvc.Abstractions Produce a ModelState error when reading the form throws (#14994) 2019-10-15 16:46:35 -07:00
Mvc.Analyzers Merge branches 2019-10-14 13:21:58 -07:00
Mvc.Api.Analyzers Merge branches 2019-10-14 13:21:58 -07:00
Mvc.ApiExplorer Merge branches 2019-10-14 13:21:58 -07:00
Mvc.Core Treat FormatExceptions and OverflowExceptions to be treated as model state errors (#15035) 2019-10-17 10:06:57 -07:00
Mvc.Cors
Mvc.DataAnnotations
Mvc.Formatters.Json Merge branches 2019-10-14 13:21:58 -07:00
Mvc.Formatters.Xml
Mvc.Localization
Mvc.NewtonsoftJson Treat FormatExceptions and OverflowExceptions to be treated as model state errors (#15035) 2019-10-17 10:06:57 -07:00
Mvc.Razor
Mvc.Razor.RuntimeCompilation Ensure Microsoft.AspNetCore.Razor.RuntimeCompilation has the right build targets (#14863) 2019-10-11 13:53:16 -07:00
Mvc.RazorPages Produce a ModelState error when reading the form throws (#14994) 2019-10-15 16:46:35 -07:00
Mvc.TagHelpers Make sealed 2019-10-11 13:32:50 -07:00
Mvc.Testing
Mvc.ViewFeatures fixup 2019-10-11 13:46:45 -07:00
benchmarkapps
benchmarks
build
samples/MvcSandbox
shared
test Produce a ModelState error when reading the form throws (#14994) 2019-10-15 16:46:35 -07:00
.editorconfig
Directory.Build.props
Mvc.sln
MvcNoDeps.slnf
MvcTests.ruleset
README.md
Settings.StyleCop
build.cmd
build.sh
buildWithProcDump.cmd
runWithProcDump.ps1
startvs.cmd

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.