Go to file
Ryan Nowak 134096d9cb Relayer implementation
This refactor introduces two major changes

1. Now creating the 'handler' delegate happens inside the endpoint
middleware. This allows you to short circuit even harder, AND to create
endpoint funcs that capture and use 'next' to rejoin the middleware
pipeline.

2. Relayered the implementation to have routing plug into the dispatcher.
It wasn't immediately apparent to me that this was the right thing to do,
but I think we will need to do things this way to deliver the kind of
back-compat experience we need to do.

The idea that I have is that 'attribute routing' will be the 'default'
entry in the dispatcher. Adding additional conventional routes or other
IRouter-based extensibility will be possible through adapters - but the
default experience will be to add items to the 'attribute route'.

So. We will need to port the attribute routing infrastructure to the
dispatcher library.

We may also need to make RVD into a subclass of something in the
dispatcher assembly.
2017-09-17 18:29:22 -07:00
benchmarks Add dispatcher packages 2017-08-31 11:54:27 -07:00
build Use PackageLineup to manage PackageReference versions 2017-08-29 11:31:54 -07:00
samples Relayer implementation 2017-09-17 18:29:22 -07:00
shared/Microsoft.AspNetCore.Routing.DecisionTree.Sources
src Relayer implementation 2017-09-17 18:29:22 -07:00
test Add dispatcher packages 2017-08-31 11:54:27 -07:00
.appveyor.yml Use Directory.Build.props/targets 2017-08-29 11:30:03 -07:00
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props Use PackageLineup to manage PackageReference versions 2017-08-29 11:31:54 -07:00
Directory.Build.targets Use PackageLineup to manage PackageReference versions 2017-08-29 11:31:54 -07:00
LICENSE.txt
NuGet.config Use PackageLineup to manage PackageReference versions 2017-08-29 11:31:54 -07:00
NuGetPackageVerifier.json
README.md
Routing.sln Add dispatcher packages 2017-08-31 11:54:27 -07:00
Settings.StyleCop
build.cmd
build.ps1
build.sh
version.xml

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 Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.