jacalvar
438ec83227
[ Fixes #359 ] Routing is matching empty segments to parameters and defaults are wrong
2016-10-03 15:34:04 -07:00
Pavel Krymets
032bcf43b2
Use TaskCache class from Microsoft.Extensions.TaskCache.Sources ( #361 )
...
Instead of Task.FromResult(0)
2016-09-08 09:25:44 -07:00
Doug Bunting
2fe646ca27
Increase .travis.yml consistency between repos
...
- aspnet/Universe#349
- minimize `dotnet` setup time; no need for caching
2016-09-04 20:10:38 -07:00
Kiran Challa
56b3fb9b6f
[ Fixes #351 ] Error message incorrectly references RouteCollection when you don't set the default handler on RouteBuilder
2016-08-30 11:16:35 -07:00
Justin Kotalik
95a7785a12
Adds timeout to sample Regex.
2016-08-23 12:26:48 -07:00
Kiran Challa
714c3d6659
[ Fixes #4991 ] Misleading MissingMethodException message for incorrect routes
2016-08-10 12:09:28 -07:00
Pranav K
d20cb17c52
Switching to dotnet.myget.org feed
2016-08-09 15:10:29 -07:00
Pranav K
e1b2ee6627
Updating to Moq \ Castle.Core that does not require imports
2016-08-08 12:25:00 -07:00
Ivano Scifoni
88de3d5070
StringRouteConstraint implementation
2016-08-04 10:39:53 -07:00
BrennanConroy
00cd01ba54
Update .travis.yml
2016-08-02 13:09:51 -07:00
Ajay Bhargav Baaskaran
dde24fbba0
Optimize ListStorage in RouteValueDictionary
2016-07-18 17:31:50 -07:00
mnltejaswini
6801715daf
Add support for IEnumerable<KeyValuePair<string, string>> in RouteValueDictionary Fixes #329 ( #335 )
2016-07-18 12:12:34 -07:00
jacalvar
57ec8b0f04
[ Fixes #228 ] Update sample app to show more common routing patterns and add functional tests for it.
2016-07-15 11:21:28 -07:00
Doug Bunting
1bcd01338a
One build to rule them all
...
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 12:31:06 -07:00
Ajay Bhargav Baaskaran
902190406d
Updating to RTM builds of xunit and Moq
2016-07-05 17:10:14 -07:00
jacalvar
90dc4bc207
[ Fixes #324 ] Default parameters are not taken into account on attribute routing
2016-07-01 16:06:03 -07:00
Ryan Nowak
0978a7dd16
Add some tests, rename misnamed file
2016-07-01 09:29:02 -07:00
Muchiachio
4adc693cb5
Add an UseRouter that takes Action<IRouteBuilder>
...
- Added an overload of UseRouter that takes Action<IRouteBuilder>, to
make configuring standalone routing much less verbose.
Addresses #332
2016-07-01 08:50:29 -07:00
Muchiachio
322e1f5d9c
Make routing feature class public
...
- Made routing feature class public, to lower boilerplate code in client
code tests.
Addresses #333
2016-06-30 08:58:33 +03:00
Pranav K
2c264efd42
Updating to dev versions
2016-06-16 10:18:32 -07:00
Pranav K
069262ceff
Merge branch 'release' into dev
2016-06-14 16:29:23 -07:00
Pranav K
716f0f7537
Updating to release.
2016-06-14 16:22:55 -07:00
N. Taylor Mullen
334d14ac66
Remove direct Microsoft.NETCore.Platforms dependency.
...
- Microsoft.NETCore.App now pulls this package in.
aspnet/Coherence-Signed#344
2016-06-13 15:29:38 -07:00
jacalvar
c74a210386
Remove unncessary usings
2016-06-09 00:43:45 -07:00
jacalvar
dd79d0b88c
[ Fixes #316 ] TreeRouter does not match a route with the correct length
2016-06-03 12:55:20 -07:00
Cesar Blum Silveira
8880cc0381
Fix OSX build on Travis.
2016-05-27 11:30:38 -07:00
John Luo
3222785d3f
React to updated CoreCLR packages
...
https://github.com/aspnet/Coherence/issues/97
2016-05-26 18:32:53 -07:00
Pranav K
1956be42f6
Revert "aspnet/Coherence#97 - React to updated CoreClr packages"
...
This reverts commit 1d21cecd8d .
2016-05-18 09:44:36 -07:00
Ajay Bhargav Baaskaran
1d21cecd8d
aspnet/Coherence#97 - React to updated CoreClr packages
2016-05-17 12:47:17 -07:00
Ryan Nowak
86a41bc618
Optimize manipulation of RouteData.Routers
...
This change avoid calling List.Clear() and new List(IEnumerable<T>) which
both end up calling into native methods via the Array static class. These
methods are designed to be performant for large collections, and for our
needs this collection has at most 1-4 items. This is worth 2-3% in
techempower plaintext.
2016-05-11 11:20:10 -07:00
Pranav K
74a246d34c
Merge branch 'release' into dev
2016-05-02 15:21:04 -07:00
Pranav K
0ce851680b
Fix build warnings
2016-05-02 11:27:25 -07:00
BrennanConroy
efd5b9fc53
Merge branch 'release' into dev
2016-04-27 18:59:44 -07:00
BrennanConroy
5a8d55fa0c
Remove reference to UseDefaultHostConfiguration
2016-04-27 18:59:33 -07:00
BrennanConroy
20f298ee4f
Merge branch 'release' into dev
2016-04-25 11:28:34 -07:00
BrennanConroy
1d522a0167
Update web.config and add publish tool
2016-04-25 08:58:44 -07:00
Ryan Nowak
96b7678c8f
RVD crazy
2016-04-22 14:06:49 -07:00
Ryan Nowak
e8ce0e7523
TreeRouter cleanup
2016-04-20 18:12:10 -07:00
Pranav K
f826be9206
Use latest build of dotnet-test-xunit
2016-04-19 14:54:10 -07:00
Pranav K
ea2d30ff49
Merge branch 'release' into dev
2016-04-19 14:54:10 -07:00
Pavel Krymets
793cd22aa0
Merge branch 'release' into dev
2016-04-18 17:03:21 -07:00
Pavel Krymets
d98924f713
Bring Microsoft.NETCore.Platforms dependency back
2016-04-18 17:03:18 -07:00
Pavel Krymets
d7a36ce05e
Merge branch 'release' into dev
2016-04-14 16:33:54 -07:00
Pavel Krymets
b1f720ef12
Migrate tests, tools and samples to portable
2016-04-14 16:28:13 -07:00
Ryan Nowak
9cd3fe34a5
Improve tests for catch-all + defaults/nulls
2016-04-11 15:17:07 -07:00
John Luo
e3a9bc07e5
Merge branch 'release' into dev
2016-04-11 10:01:08 -07:00
John Luo
2b929327aa
Moving web.config and use ANCM
2016-04-11 10:00:28 -07:00
Ryan Nowak
a51c78da06
Remove dictionary alloc in routing
...
This changes TemplateMatcher to mutate RouteData.Values directly instead
of creating a new dictionary and then merging in values. This is one the
biggest single costs in routing in terms of both allocations and execution
time.
So Match now becomes TryMatch. This will dirty the state of the RVD, so
the caller needs to snapshot it before calling into it (handled
inside the TreeRouter or RouteCollection).
Some subtle changes were needed to how/when values are added to be
compatible with the existing tests. The general idea is that we add null
values for non-parameter defaults or catchalls, but only if they don't
trounce an existing value. This logic used to live in MergeValues but now
it's in TryMatch since TryMatch might be working from existing data.
Also fixed the .sln to avoid building a package that we use as shared
source.
2016-04-08 08:46:00 -07:00
Pranav K
fe66fb7f2f
Removing imports from src projects
2016-04-08 06:49:12 -07:00
Pranav K
e337756cce
Merge branch 'release' into dev
2016-04-08 06:49:12 -07:00