The issue here is that route values used for action selection are 'global'. That means that pages need to have a 'null' route value for 'action' and controllers need to have a 'null' route value for pages. This is the same way that areas work. The fix is to move the 'merge' of route values up to a level where pages and controllers can work together. Since ADPs use the russian-doll pattern, the fix is to run this 'merge' in the controller ADP, but after all of the ADs have been created. |
||
|---|---|---|
| build | ||
| samples/MvcSandbox | ||
| src | ||
| test | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| Mvc.NoFun.sln | ||
| Mvc.sln | ||
| NuGet.config | ||
| NuGetPackageVerifier.json | ||
| README.md | ||
| Settings.StyleCop | ||
| appveyor.yml | ||
| build.cmd | ||
| build.ps1 | ||
| build.sh | ||
| version.props | ||
README.md
ASP.NET Core MVC
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:
- AspNet.Mvc.TypedRouting: A collection of extension methods providing strongly typed routing and link generation for ASP.NET Core MVC projects.
- ASP.NET MVC Boilerplate: Rich templates for ASP.NET Core MVC.
- MyTested.AspNetCore.Mvc: Powerful fluent testing framework for ASP.NET Core MVC.
- MvcDeviceDetector: Device detection mechanism to create mobile web applications.
- XmlResult: XML formatter extensions to allow defining the XML serializer type.
- AspNetCoreImageTagHelper: Tag helper for rendering images as inline base64 data.
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.