Go to file
Ryan Nowak d360886b78 Fix #7558 infer [FromRoute] with parameter in ANY route
This changes the logic for when we infer [FromRoute] on an action
parameter from *ALL* to *ANY*.

This means that if a parameter occurs in any route on an ApiController,
we will treat it as [FromRoute]. We think this is the best decision
because it's less ambiguous. If a parameter appears in a route, it won't
be eligible to be bound from query. I think that's good.

If for some reason you want this kind of behavior (route or query) then
we suggest breaking up the actions. This isn't very documentation
friendly (swagger) so we don't suggest it.
2018-03-29 07:54:39 -07:00
benchmarks/Microsoft.AspNetCore.Mvc.Performance Stop building\testing on netcoreapp2.0 2018-03-19 10:09:51 -07:00
build Update dependencies.props 2018-03-28 10:56:00 -07:00
samples/MvcSandbox ApplicationPartFactory: The works 2018-03-21 15:40:15 -07:00
src Fix #7558 infer [FromRoute] with parameter in ANY route 2018-03-29 07:54:39 -07:00
test Fix #7558 infer [FromRoute] with parameter in ANY route 2018-03-29 07:54:39 -07:00
.appveyor.yml Enable dotnet-build bot 2018-03-15 17:11:23 -07:00
.editorconfig
.gitattributes
.gitignore
.travis.yml Enable dotnet-build bot 2018-03-15 17:11:23 -07:00
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets Stop building\testing on netcoreapp2.0 2018-03-19 10:09:51 -07:00
LICENSE.txt
Mvc.NoFun.sln
Mvc.sln Remove FiltersWebSite 2018-03-16 16:54:10 -07:00
NuGet.config
NuGetPackageVerifier.json
README.md
Settings.StyleCop
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2018-03-28 10:56:00 -07:00
korebuild.json Update KoreBuild channel 2018-03-16 12:32:30 -07:00
run.cmd
run.ps1 Enable dotnet-build bot 2018-03-15 17:11:23 -07:00
run.sh Enable dotnet-build bot 2018-03-15 17:11:23 -07:00
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), see 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 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.