Go to file
Doug Bunting ecedbd5372 Allow `null` or empty `fullName` in one special case
- #6662
- users can now provide a `name` or `data-valmsg-for` attribute to avoid `ArgumentException`s
  - affects `<input>`, `<select>`, `<textarea>` elements and validation message `<div>`s
- remove `fullName` check in `DefaultHtmlGenerator.GetCurrentValues(...)` entirely

The new workaround is _not_ identical to changing `ViewData.TemplateInfo.HtmlFieldPrefix`
- does not change where expression values are found in `ModelState` or `ViewData`
- likely needs to be combined with additional workarounds i.e. for advanced use only

nits:
- clean up some excessive argument naming; add a few missing argument names
- take VS suggestions in changed classes e.g. inline a few variable declarations
- clean up some test data
2018-01-09 08:53:37 -08:00
benchmarks/Microsoft.AspNetCore.Mvc.Performance Use common BDN runner and config (#7186) 2018-01-04 09:13:11 -08:00
build update dependencies 2018-01-08 17:37:19 -08:00
samples/MvcSandbox
src Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
test Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
.appveyor.yml Use latest Appveyor VS image 2017-12-18 11:51:33 -08:00
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets
LICENSE.txt
Mvc.NoFun.sln
Mvc.sln Add support for recompilation 2018-01-08 15:26:20 -08:00
NuGet.config
NuGetPackageVerifier.json
README.md
Settings.StyleCop
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2018-01-06 15:19:56 -08:00
korebuild.json
run.cmd
run.ps1
run.sh
version.props

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), please go to https://github.com/aspnet/AspNetWebStack

AppVeyor: AppVeyor

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