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 Update ref assembly generation to use DefaultNetCoreTargetFramework property (#14078) 2019-09-17 22:06:31 -07:00
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 Update ref assembly generation to use DefaultNetCoreTargetFramework property (#14078) 2019-09-17 22:06:31 -07:00
Mvc.DataAnnotations Update ref assembly generation to use DefaultNetCoreTargetFramework property (#14078) 2019-09-17 22:06:31 -07:00
Mvc.Formatters.Json Merge branches 2019-10-14 13:21:58 -07:00
Mvc.Formatters.Xml Ensure EnableBuffering works with NewtonsoftJsonInputFormatter (#14870) 2019-10-10 13:52:02 -07:00
Mvc.Localization Update ref assembly generation to use DefaultNetCoreTargetFramework property (#14078) 2019-09-17 22:06:31 -07:00
Mvc.NewtonsoftJson Treat FormatExceptions and OverflowExceptions to be treated as model state errors (#15035) 2019-10-17 10:06:57 -07:00
Mvc.Razor Update ref assembly generation to use DefaultNetCoreTargetFramework property (#14078) 2019-09-17 22:06:31 -07:00
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][Fixes #11783] Replace header.Add with header.TryAddWithoutValidation (#14339) 2019-09-25 17:07:12 +02:00
Mvc.ViewFeatures fixup 2019-10-11 13:46:45 -07:00
benchmarkapps [release/3.1] Update dependencies from 2 repositories (#13571) 2019-09-15 21:27:50 -07:00
benchmarks [release/3.1] Update dependencies from 2 repositories (#13571) 2019-09-15 21:27:50 -07:00
build
…
samples/MvcSandbox Introduce ComponentTagHelper 2019-10-11 13:32:46 -07:00
shared [release/3.1] Update dependencies from 2 repositories (#13571) 2019-09-15 21:27:50 -07:00
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 Move service reference projects into Tools directory (#13185) 2019-08-16 19:05:37 -07:00
MvcNoDeps.slnf Move service reference projects into Tools directory (#13185) 2019-08-16 19:05:37 -07:00
MvcTests.ruleset
…
README.md
…
Settings.StyleCop
…
build.cmd Replace Internal.AspNetCore.Sdk with Microsoft.DotNet.Arcade.Sdk (#10674) 2019-06-07 17:19:41 -07:00
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.