1. Added an Order property to IRouteTemplateProvider, ReflectedAttributeRouteModel, AttributeRouteInfo, AttributeRouteLinkGenerationEntry and AttributeRouteMatchingEntry. 2. Changed the implementation of AttributeRoute to take the order into account when routing incomming requests and generating links. 3. Ensured a stable ordering of route entries with the same order and precedence for route matching and link generation based on the template text. 4. Added tests to validate that the precedence gets respected in route matching and link generation. 5. Added tests to validate that the order gets respected in route matching and link generation. 6. Added tests to validate that the order gets respected over the precedence for route matching and link generation. 7. Added tests to validate that routes with the same order and precedence expose a stable ordering for route matching and link generation. |
||
|---|---|---|
| samples/MvcSample.Web | ||
| src | ||
| test | ||
| .gitattributes | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| Mvc.sln | ||
| NuGet.Config | ||
| README.md | ||
| Settings.StyleCop | ||
| 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 vNext 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 vNext. You can find samples, documentation and getting started instructions for ASP.NET vNext at the Home repo.