This change resolves #3512 and #3636 by removing 'magic' link generation and adding an extension method to add routes to areas correctly using the new pattern. This is pretty much exactly the same as how MapWebApiRoute works. For site authors, we recommend adding area-specific routes in a way that includes a default AND constraint for the area. Put your most specific (for link generation) routes FIRST. Ex: routes.MapRoute( "Admin/{controller}/{action}/{id?}", defaults: new { area = "Admin" }, constraints: new { area = "Admin" }); The bulk of the changes here are to tests that unwittingly relied on the old behavior. |
||
|---|---|---|
| samples | ||
| src | ||
| test | ||
| tools | ||
| .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.sh | ||
| global.json | ||
| makefile.shade | ||
README.md
ASP.NET MVC
ASP.NET 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 MVC includes many features that enable fast, TDD-friendly development for creating sophisticated applications that use the latest web standards.
ASP.NET MVC in ASP.NET 5 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.
This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.