Ryan Nowak
a3e999762f
Merge pull request #8630 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-22 07:58:36 -07:00
Ryan Nowak
76a30b0911
Remove LinkGenerationTemplate
...
This doesn't really accomplish our goals for 2.2 - I don't have a clear
scenario where I would tell a developer to use this VS something else.
Will reevaluate in 3.0
2018-10-21 15:39:59 -07:00
Turner Bass
05d729b409
UrlHelperBase L166-167 declared type of url in TryFastGenerateUrl
2018-10-11 15:41:14 -07:00
Ryan Nowak
384b814349
React to IEndpointSelectorPolicy changes
2018-10-05 21:03:53 -07:00
Ryan Nowak
3667b0481a
React to routing API changes
...
Reaction for: https://github.com/aspnet/Routing/pull/822
2018-09-30 14:26:06 -07:00
Ryan Nowak
cb1393cbb1
Adding functional tests for LinkGenerator
2018-09-29 20:34:48 -07:00
Ryan Nowak
831937c86c
Add LinkGenerator extensions for MVC
2018-09-26 09:37:46 -07:00
Ryan Nowak
89a962716f
React to Routing LinkGenerator changes
2018-09-22 15:47:38 -07:00
Ryan Nowak
f573b8840a
Fix aspnet/Routing#782
...
Currently MVC is still running the IActionConstraint implementations for
features that we've already moved into the routing layer. This has a
significant perf cost associated with, and so we want to skip it because
it's redundant. However if anyone has implemented their own
`IActionConstraint`-based features, they still need to just work.
This change takes the approach of skipping the action constraint phase
at runtime unless we see something 'unknown'. This is an all or nothing
choice, and will run action constraints if **any** action constraint we
don't special case exists. This is the most compatible behavior (running
redundant constraints) when the application is using constraints that
the developer implemented.
Another approach I considered was to eliminate these constraints as part
of the process of building ADs. I don't think that's ideal because
people have written code that introspects action constraints. We should
consider something like this in 3.0.
2018-09-09 15:17:05 -07:00
Ryan Nowak
fabe189470
React to LinkGenerator changes
2018-09-05 20:52:37 -07:00
James Newton-King
b649133eec
Refactor KnownRouteValueConstraint to not require HttpContext ( #8352 )
2018-08-30 08:57:53 +12:00
James Newton-King
8ed9d0aac2
Use Endpoint instead of RouteEndpoint where possible ( #8331 )
2018-08-28 11:00:11 +12:00
James Newton-King
e2de54a92d
Update MvcEndpointDataSource to use RoutePattern ( #8249 )
2018-08-23 21:42:42 +12:00
James Newton-King
03da30f3bf
Replace remaining references to global routing ( #8312 )
2018-08-23 10:23:29 +12:00
James Newton-King
cbe1526763
React to routing changes ( #8303 )
2018-08-22 17:15:09 +12:00
Kiran Challa
c16f86f0ef
React to Routing repo's api changes
2018-08-03 16:25:41 -07:00
Ryan Nowak
2b289d2f2c
Use MatcherPolicy for Consumes
2018-08-01 19:05:04 -07:00
James Newton-King
44f5b54f5f
React to routing API review ( #8194 )
2018-08-02 13:37:43 +12:00
James Newton-King
046af405b6
Rename global routing to endpoint routing ( #8179 )
2018-08-01 15:05:49 +12:00
Ryan Nowak
fbae57cde1
React to the removal of EndpointConstraint
2018-07-28 19:03:16 -07:00
Kiran Challa
3df34dbbfe
React to Routing repo's LinkGenerator api changes
2018-07-24 05:20:53 -07:00
Ryan Nowak
196e3f109f
React to Routing branding
...
This is a reaction PR for the branding changes in progress in Routing.
This can be merged after the changes to in to Routing.
2018-07-22 19:47:15 -07:00
Kiran Challa
0caacb8217
React to LinkGenerator api changes
2018-07-17 05:24:27 -07:00
Kiran Challa
54c14b8782
Reacting to Routing repo's EndpointFinder changes
2018-06-28 12:40:04 -07:00
Kiran Challa
a0a9c2c585
Integrate Dispatcher's link generator
...
Related to https://github.com/aspnet/Routing/issues/530
2018-06-19 04:14:05 -07:00
Rob Ward
42dcd0ba28
UrlHelperFactory.GetUrlHelper throws NullReferenceException when passed
...
a null action context.
This change validates the action context parameter.
2018-03-05 13:34:05 -08:00
Sébastien Ros
d0a8b5f78f
Port fix for URL helper redirect ( #6917 )
...
Fixes #6910
2017-10-05 11:24:18 -07:00
Pranav K
c27b07ef3f
Use C# 7 features
2017-06-11 22:11:51 -07:00
Pranav K
1c4b0fcdf3
Code clean up
2017-06-09 22:38:46 -07:00
Ryan Nowak
e2cb8e8ac8
A new and exciting implementation of action selection
...
This is an improved implementation of the ActionSelector for conventional
routing. This will do fewer dictionary lookups than the decision tree, and
will avoid OrdinalIgnoreCase hashing in the common case.
2017-05-05 17:54:09 -07:00
Ajay Bhargav Baaskaran
9ed753288f
[ Fixes #5170 ] Fixed KeyNotFoundException in UrlHelperFactory.GetUrlHelper()
2016-08-26 11:27:02 -07:00
Ryan Nowak
855974f128
Fix #4959 - Doc cleanup for RouteValueAttribute
2016-07-27 08:59:34 -07:00
Doug Bunting
15f25d569a
Improve `IUrlHelper` and related doc comments
...
- #4245 , #4507
2016-07-05 09:34:33 -07:00
Doug Bunting
1f6bbf9967
Add doc comments for `public` attributes
...
- #4641
2016-06-10 14:26:14 -07:00
jacalvar
6a6d2e0d9f
[ Fixes #4506 ] Move and rename ActionDescriptor.Name to ControllerActionDescriptor.ActionName
2016-05-31 23:13:20 -07:00
mnltejaswini
df4eb283b2
[Perf] UrlHelper shares a single RouteValueDictionary across several calls to Action and RouteUrl methods
2016-05-19 16:15:46 -07:00
mnltejaswini
74357b3ed8
[Perf] Fast Generate Url for specific cases to avoid string allocations
2016-05-18 18:08:25 -07:00
Ryan Nowak
af58c2e6b6
Streamlining action selection and route values
...
Removes a few concepts we don't need
Improves documentation
More things are IDictionary instead of other random types
2016-04-22 17:36:23 -07:00
mnltejaswini
d537ec06cc
[Perf] Using single UrlHelper per HttpContext and one StringBuilder per UrlHelper to reduce allocations
2016-03-07 13:48:54 -08:00
Ajay Bhargav Baaskaran
ca164db921
[ Fixes #4214 ] Moved IUrlHelper to Mvc.Abstractions
2016-03-04 16:45:47 -08:00
N. Taylor Mullen
3be7fbdf9f
Rename AspNet 5 file contents.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:18:33 -08:00
N. Taylor Mullen
6a6c8ca544
Rename AspNet 5 folders and files.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:17:07 -08:00