Go to file
Ryan Nowak 36180ab6d0 Add IRouteHandler, RouteBase, and IRoutingFeature
Adds IRouterHandler, an abstraction for endpoints in the routing system
that can't chain (example: delegates). The idea is that some kinds of
routes aren't really friendly to chaining. If you don't support chaining,
then accept IRouteHandler and work with that rather than IRouter.

There's one implementation of IRouteHandler, RouteHandler. It implements
both IRouter and IRouteHandler.

Adds RouteBase as a base class for routes based on our template syntax and
defaults/constraints/data-tokens. Updated a lot of signatures to be
get/set virtual and mutable to facilitate or bigger variety of usage
scenarios.

Renamed TemplateRoute to just Route, now inherits from RouteBase.

Adds IRoutingFeature for middleware scenarios where you don't have access
to the route context.

Also adds some basic extension methods for accessing route values.
2015-12-10 17:55:03 -08:00
samples/RoutingSample.Web Add IRouteHandler, RouteBase, and IRoutingFeature 2015-12-10 17:55:03 -08:00
src Add IRouteHandler, RouteBase, and IRoutingFeature 2015-12-10 17:55:03 -08:00
test Add IRouteHandler, RouteBase, and IRoutingFeature 2015-12-10 17:55:03 -08:00
tools Strong name everything. 2015-11-03 12:18:03 -08:00
.gitattributes
.gitignore Add launchsettings.json to .gitignore 2015-11-30 09:27:32 -08:00
.travis.yml Enabling tests on CoreCLR 2015-12-01 11:00:09 -08:00
CONTRIBUTING.md
LICENSE.txt
NuGet.config Updating to release NuGet.config. 2015-10-28 12:43:08 -07:00
NuGetPackageVerifier.json Add Routing.Abstractions 2015-12-02 16:43:35 -08:00
README.md
Routing.sln Add Routing.Abstractions 2015-12-02 16:43:35 -08:00
Settings.StyleCop
appveyor.yml
build.cmd Fix local build break 2015-10-12 13:01:49 -07:00
build.sh React to aspnet/Universe#290 fix 2015-10-10 20:03:10 -07:00
global.json
makefile.shade Running xml-docs-test before test target 2015-09-18 12:29:43 -07:00

README.md

ASP.NET Routing

AppVeyor: AppVeyor

Travis: Travis

Contains routing middleware for routing requests to application logic.

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.