Ryan Nowak
57cc8aea96
Various improvments to route values link APIs
...
- Add docs
- Add support for templates
- Remove undesirable constructor parameter
- misc cleanup
2018-09-10 16:50:46 -07:00
Ryan Nowak
c683844817
Fix #553 - Add logging for new LinkGenerator
...
Adds logging for all of the failure cases of link generation.
2018-09-10 16:11:43 -07:00
ASP.NET CI
72b61bf2af
Update dependencies.props
...
[auto-updated: dependencies]
2018-09-09 12:27:37 -07:00
Ryan Nowak
489a179c41
Add a test for Routing#435
...
This was already fixes as part of the LinkGenerator redesign. Adding a
test so we can mark it as complete.
2018-09-06 16:57:43 -07:00
Ryan Nowak
e3b704095b
Revisions to LinkGenerator ( #770 )
...
* Revisions to LinkGenerator
* PR feedback
2018-09-05 20:52:09 -07:00
Ikebe Shodai
950d2e9b74
Fix locale sensitive unit tests
2018-09-05 20:13:25 -07:00
James Newton-King
dcfb63a768
Avoid RoutePattern allocating empty dictionaries ( #772 )
2018-09-06 14:00:52 +12:00
James Newton-King
1c74973c6a
Minor matcher builder allocation optimization ( #771 )
2018-09-06 13:47:34 +12:00
James Newton-King
dbebdbecd6
Add flag for including label with DfaNodes ( #769 )
2018-09-06 13:38:17 +12:00
James Newton-King
fe8c633224
Optimize builder and HTTP policy allocations ( #768 )
2018-09-06 13:25:35 +12:00
James Newton-King
abc378d3dc
Avoid resizing large struct arrays ( #767 )
2018-09-06 13:10:17 +12:00
James Newton-King
0f5d471dfd
Create collections on DfaNode as needed ( #779 )
2018-09-06 12:58:57 +12:00
James Newton-King
a777a4cdd5
Reuse collections in DfaMatcherBuilder ( #778 )
2018-09-06 12:25:45 +12:00
James Newton-King
e5c520b4ca
Add DfaMatcherBuilder benchmarks ( #777 )
2018-09-06 12:10:20 +12:00
ASP.NET CI
35163566a9
Update branding to 2.2.0-preview3
2018-09-05 16:36:05 -07:00
James Newton-King
f9f80e3d80
Revert "Add DfaMatcherBuilder benchmarks ( #764 )"
...
This reverts commit ec11d0578c .
2018-09-05 08:11:52 +12:00
James Newton-King
ec11d0578c
Add DfaMatcherBuilder benchmarks ( #764 )
2018-09-05 08:10:38 +12:00
ASP.NET CI
6cbc8fa08c
Update dependencies.props
...
[auto-updated: dependencies]
2018-09-02 12:25:15 -07:00
Ryan Nowak
945e798ca7
[Design] Set the endpoint feature only on success
2018-08-30 14:52:35 -07:00
Ryan Nowak
8395ad8340
remove references to ref emit packages
2018-08-30 13:26:22 -07:00
James Newton-King
74bfff149e
Use var in for loops ( #758 )
2018-08-31 08:24:41 +12:00
Ryan Nowak
8d053853bb
Address PR feedback, I hit merge too soon.
2018-08-29 19:46:25 -07:00
Ryan Nowak
3511c8cef0
Add vectorized il-emit trie jump table
...
Add new futuristic jump table. Remove old experimental jump tables since
this is much much better.
2018-08-29 19:30:02 -07:00
James Newton-King
4e9e33a223
Unit test constraints without HttpContext ( #755 )
2018-08-29 17:34:54 +12:00
James Newton-King
99c4f2f36a
Support policy arguments and resolving services by constructors ( #753 )
2018-08-29 14:51:34 +12:00
James Newton-King
40fb13a021
Fix DfaMatcher to work with non-RouteEndpoint ( #739 )
2018-08-24 09:11:13 +12:00
James Newton-King
15e46ad323
Change RoutePattern to not throw when inline and arg default value are the same ( #747 )
2018-08-23 21:39:23 +12:00
Ryan Nowak
a0aa61fd10
Improvements for IEndpointSelectorPolicy
...
These changes are based on our discussion earlier this week. Adding
async, and making it possible to short circuit, which should be better
aligned with the requirments of versioning.
2018-08-22 19:26:13 -07:00
Ryan Nowak
e90e670ac8
Enable benchmark validation
...
Move Swaggather out of benchmarks folder
Add MSBuild junk
Fix broken tests
2018-08-22 08:16:41 -07:00
Ryan Nowak
78cf97cf3a
Fix broken benchmarks
...
The tests for matching still compile but do the wrong thing, because
they aren't setting up the HTTP method metadata correctly.
Adding back an overload of CreateEndpoint that's like what was there
before.
2018-08-22 08:16:41 -07:00
James Newton-King
1680b9f4fc
Change endpoint invoker to RequestDelegate, Endpoint/EndpointMetadataCollection namespaces, split out IRouteValuesFeature ( #712 )
2018-08-22 17:15:57 +12:00
James Newton-King
08a0a7fadb
Remove MatchProcessor, add IParameterPolicy ( #734 )
2018-08-22 15:24:34 +12:00
James Newton-King
4f33362ab5
Minor RVD and EndpointMetadataCollection refactors ( #708 )
2018-08-22 10:30:25 +12:00
James Newton-King
967afc3b0f
Optimize RoutePattern allocations ( #706 )
2018-08-22 10:01:52 +12:00
ASP.NET CI
4a064b2267
Update package branding for 2.2.0-preview2
2018-08-21 13:33:52 -07:00
Kiran Challa
0986f74264
Added benchmarks for link generation
2018-08-17 13:38:17 -07:00
Kiran Challa
731767837a
Introducing new **catchAll parameter to allow generating links with unencoded values
2018-08-16 15:52:09 -07:00
Ryan Nowak
730646c301
Perf for EMC
2018-08-15 22:08:58 -07:00
Ryan Nowak
6724b4d796
Add EMC benchmark
2018-08-15 22:08:58 -07:00
Ryan Nowak
4fa0b068b8
Fix #710 - add support for data tokens
2018-08-15 21:43:50 -07:00
Ryan Nowak
97f54c532b
Support supression of matching for endpoints
2018-08-15 21:36:08 -07:00
Ryan Nowak
085a0b808e
Use RoutePattern in TemplateBinder
2018-08-15 12:12:52 -07:00
Ryan Nowak
e09b88ebd6
Tokenize Less
2018-08-14 15:31:38 -07:00
ASP.NET CI
e2892f82ed
Update dependencies.props
...
[auto-updated: dependencies]
2018-08-12 19:27:56 +00:00
Ryan Nowak
12cb35894e
Add support for GraphViz
...
Adds **internal** support for dumping a route table to GraphViz DOT
notation. This allows us to dump the DFA graph for a route table and
visualize it.
Example:
https://gist.github.com/rynowak/2b24e4a6a602ca6f9c4de3ec227d621b
2018-08-08 21:36:39 -07:00
James Newton-King
dce72c9553
Remove public extension methods for registering endpoint routing ( #697 )
2018-08-07 17:49:31 +12:00
James Newton-King
39c5700148
Add docs to RouteValuesAddress ( #695 )
2018-08-07 13:14:35 +12:00
ASP.NET CI
0aee3f3595
Update dependencies.props
...
[auto-updated: dependencies]
2018-08-06 20:49:29 +00:00
ASP.NET CI
c44f2303e7
Update dependencies.props
...
[auto-updated: dependencies]
2018-08-05 19:25:57 +00:00
Ryan Nowak
e53a9f57db
adding more docs
2018-08-03 18:55:57 -07:00