Commit Graph

32486 Commits

Author SHA1 Message Date
Ajay Bhargav Baaskaran 8e23eb38b4 Honor NoBuild flag during publish 2018-07-26 11:40:38 -07:00
ASP.NET CI f4355d3930 Updating submodule(s)
Mvc => 0d427a60e5

[auto-updated: submodules]
2018-07-26 18:14:29 +00:00
Doug Bunting 0d427a60e5
Use `TheoryData` properties to avoid duplicate test data
- couldn't just remove duplicate `[TheoryData]` in `GlobalRoutingTest`
  - xUnit analyzers don't understand `[InlineData]` is inherited (though runtime certainly does)
2018-07-26 10:12:50 -07:00
Nate McMaster 232c71f772
React to removing .Buffers.Sources package 2018-07-26 09:32:43 -07:00
ASP.NET CI f563f757b6 Updating submodule(s)
Mvc => 498fa2d72f

[auto-updated: submodules]
2018-07-26 09:01:51 -07:00
Doug Bunting 498fa2d72f
Avoid `InvalidOperationException` when serializing `SerializableError`
- #8055
- provide unique name (`<Empty-Key>`) for XML elements that would otherwise be nameless

nits:
- remove now-useless Mono special case in updated test class
- extend updated tests to involve square brackets as well as empty keys
2018-07-26 08:56:02 -07:00
ASP.NET CI 55c6a445d4 Updating submodule(s)
IISIntegration => 61b4473abe

[auto-updated: submodules]
2018-07-26 08:16:44 -07:00
Pavel Krymets 61b4473abe
Fix another shutdown race and appofline race (#1071) 2018-07-26 08:12:08 -07:00
Mikael Mengistu debd0e3905
Merge pull request #2682 from aspnet/release/2.2
Adding Java Client Overloads up to T8. (#2660)
2018-07-25 22:36:15 -07:00
ASP.NET CI 3a1e916dd4 Updating submodule(s)
SignalR => 2a48a9a2c4

[auto-updated: submodules]
2018-07-25 22:14:31 -07:00
Mikael Mengistu 2a48a9a2c4
Adding Java Client Overloads up to T8. (#2660) 2018-07-25 22:09:03 -07:00
ASP.NET CI 34912f823a Updating submodule(s)
SignalR => daed55be36

[auto-updated: submodules]
2018-07-25 17:22:56 -07:00
Mikael Mengistu 60c5392fd5
Merge pull request #2679 from aspnet/release/2.2
Parse HandshakeResponse (#2656)
2018-07-25 16:58:24 -07:00
Nate McMaster 0b85431980
React to renaming the WebHostBuilderFactory source package 2018-07-25 16:52:21 -07:00
Hao Kung c4e8dd3664
Rename WebHostBuilderFactory (#1505) 2018-07-25 16:44:20 -07:00
ASP.NET CI 50b253653f Updating submodule(s)
Routing => c68c5befc7

[auto-updated: submodules]
2018-07-25 16:26:04 -07:00
Mikael Mengistu daed55be36
Parse HandshakeResponse (#2656) 2018-07-25 16:23:25 -07:00
James Newton-King c68c5befc7
Remove ChangeToken from EndpointDataSource (#662) 2018-07-26 11:06:54 +12:00
ASP.NET CI 59d3fc4ff2 Updating submodule(s)
IISIntegration => ba18129d79

[auto-updated: submodules]
2018-07-25 15:30:34 -07:00
Justin Kotalik ba18129d79
Skip win7 tests (#1096) 2018-07-25 15:26:01 -07:00
ASP.NET CI 97142eecb9 Updating submodule(s)
Mvc => f31ab716ee

[auto-updated: submodules]
2018-07-25 21:25:52 +00:00
James Newton-King f31ab716ee
Change MvcEndpointDataSource to use GetChangeToken (#8137) 2018-07-26 09:20:26 +12:00
ASP.NET CI f7d210b144 Updating submodule(s)
IISIntegration => aa8a8b7471

[auto-updated: submodules]
2018-07-25 13:16:43 -07:00
Pavel Krymets aa8a8b7471 Skip IIS Jenkins (#1094) 2018-07-25 13:11:40 -07:00
BrennanConroy 34a7fc4d99 Merge branch 'merge/release/2.2-to-master' 2018-07-25 11:45:32 -07:00
Nate McMaster 06f0146731
Merge branch 'release/2.1' into release/2.2 2018-07-25 11:10:03 -07:00
Nate McMaster 7119fc7e1d
Upgrade xunit test runner to 2.4.0 RTM and xunit.analyzers to 0.10.0 (#1275)
Also, cleaned up two unused properties from the deps.props file.
2018-07-25 11:08:35 -07:00
Nate McMaster 2d79bee072
Remove condition on the Server.IIS package 2018-07-25 09:40:43 -07:00
Nate McMaster 2e96271e69
Merge branch 'release/2.1' into release/2.2 2018-07-25 09:29:48 -07:00
Nate McMaster aee905e359
Sort list of artifacts and add selenium to external artifacts 2018-07-25 09:18:53 -07:00
ASP.NET CI 7143f9b5ab Updating submodule(s)
Mvc => 10ce77b9ca

[auto-updated: submodules]
2018-07-25 15:34:54 +00:00
ASP.NET CI 8ec5259da1 Updating submodule(s)
Routing => e0294f1d1b

[auto-updated: submodules]
2018-07-25 13:53:54 +00:00
Kiran Challa 10ce77b9ca Updated MvcEndpointDataSource to create endpoints with SuppressLinkGenerationMetadata 2018-07-25 06:41:57 -07:00
ASP.NET CI 4229790d7e Updating submodule(s)
Mvc => bcd6e83591

[auto-updated: submodules]
2018-07-25 06:20:55 -07:00
Kiran Challa e0294f1d1b Upgraded dependencies.props 2018-07-25 06:17:54 -07:00
Kiran Challa bcd6e83591 Upgraded dependencies.props 2018-07-25 06:15:17 -07:00
ASP.NET CI 84e9e2e76d Updating submodule(s)
Mvc => b71d5da05e

[auto-updated: submodules]
2018-07-25 05:30:12 +00:00
Ryan Nowak b71d5da05e Fix test break due to 405 returned from routing 2018-07-24 22:15:32 -07:00
ASP.NET CI 3f11497d7f Updating submodule(s)
Routing => 19f24cad16

[auto-updated: submodules]
2018-07-24 21:59:50 -07:00
Ryan Nowak 19f24cad16 fix silly constructor 2018-07-24 21:54:24 -07:00
ASP.NET CI 4b97daa284 Updating submodule(s)
Mvc => c08504b08a
Routing => 1340f9c26b

[auto-updated: submodules]
2018-07-25 04:09:07 +00:00
James Newton-King 1340f9c26b
Add EndpointSelectorCandidate ctor to not break MVC (#661) 2018-07-25 16:03:26 +12:00
James Newton-King fdff66054f
Missing ChangeToken -> GetChangeToken updates (#660) 2018-07-25 14:35:41 +12:00
James Newton-King c08504b08a
MVC startup experience (#8131) 2018-07-25 14:30:51 +12:00
Mike Harder f385308503 Pass "--debug:ephemeral-hive" to "dotnet new" 2018-07-24 17:43:00 -07:00
Ryan Nowak 147c9527f3
Implement EndpointSelector and MatcherPolicy (#646)
Implement EndpointSelector and MatcherPolicy

This change makes the EndpointSelector API more concrete, and is the
beggining of removing EndpointConstraint by making it obsolete.

To that end, I'm introducing MatcherPolicy, which is a
feature-collection API for registering policies that interact with the
DfaMatcher. The two policies that we'll need to start are:
- ability to order endpoints
- ability to append 'policy' nodes to the graph

These two concepts together replace EndpointConstraint. Extending our
graph representation is a really efficient way to processing most common
scenarios.

---

In general this helps with common cases where 4 or so endpoints match
the URL, but with different HTTP methods supported on each. Today we
have to process route values and call into some 'policy' to make a
decision about which one is the winner. This change pushes this
knowledge down into the graph so that it's roughly as cheap as a
dictionary lookup, and can be done allocation-free.

The big savings here is ability to remove more candidates *before*
collecting route data.

---

Along with this change, I also built 'rejection' into the DFA node
model, you can see an example with the HTTP Method handling that I
implemented. I implemented a policy that can treat failure to resolve an
HTTP method as a 405 response by returning a failure endpoint. This is
at the heart of much of the feedback we've gotten in this area around
versioning and http method handling. We also have a version of this
feature in MVC for [Consumes].
2018-07-24 17:31:51 -07:00
ASP.NET CI a33b667941 Updating submodule(s)
Routing => 6f4c10a664

[auto-updated: submodules]
2018-07-24 17:24:02 -07:00
Kiran Challa f37ca0d2e9 Show list of endpoints in CompositeEndpointDataSource's DebuggerDisplayString
[Fixes #633] Show list of registered endpoints as debugger display string
2018-07-24 17:22:43 -07:00
Kiran Challa 6f4c10a664 PR feedback 2018-07-24 17:17:08 -07:00
Kiran Challa 71cb933a08 Show a flattened tree in LinkGenerationDecisionTree's DebuggerDisplayString
[Fixes #636] Flatten the LinkGenerationDecisionTree to show as debugger display string
2018-07-24 17:11:53 -07:00