Commit Graph

37200 Commits

Author SHA1 Message Date
James Newton-King 1e0d1d7eb2
Merge branch 'merge/release/2.2-to-master' 2018-07-26 10:30:01 +12: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
Steve Sanderson 26aa6e838f Auto-remove the AspNetCorePackageVersion attribute from templates 2018-07-25 12:43:40 -07:00
ASP.NET CI d3c8afef50 Updating submodule(s)
SignalR => 34a7fc4d99

[auto-updated: submodules]
2018-07-25 12:23:21 -07:00
ASP.NET CI dfdb2f21d6 Updating submodule(s)
Mvc => f06810f744

[auto-updated: submodules]
2018-07-25 11:55:27 -07:00
Kiran Challa f06810f744 Updated dependencies.props 2018-07-25 11:50:23 -07:00
BrennanConroy 34a7fc4d99 Merge branch 'merge/release/2.2-to-master' 2018-07-25 11:45:32 -07:00
Steve Sanderson a46dd91fd4 Fix server-side template custom restore sources condition 2018-07-25 11:24:07 -07:00
Nate McMaster 68fd26a46b
Merge branch 'release/2.2' 2018-07-25 11:19:21 -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
Kiran Challa 06b0872ff9 Merge branch 'merge/release/2.2-to-master' 2018-07-25 10:38:40 -07:00
dotnet-maestro-bot b119b39aad Upgrade to .NET Core 3.0.0-preview1-26725-04 (#1276) 2018-07-25 10:31:09 -07:00
Steve Sanderson 4e892e74da Fix handling nonvoid elements in markup blocks (#1190)
* Fix empty nonvoid elements in markup blocks. Fixes #1186

* Also update another test
2018-07-25 09:53:52 -07:00
Nate McMaster 2d79bee072
Remove condition on the Server.IIS package 2018-07-25 09:40:43 -07:00
Steve Sanderson 0f8fdad593 Further 0.5.0 tweaks (#1191)
* Clarify debug instructions further

* Fix error message

* Add "using Microsoft.JSInterop" in templates

* Clarify template descriptions
2018-07-25 09:33:12 -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
dotnet-maestro-bot 170a1650e9 Upgrade to .NET Core 3.0.0-preview1-26725-01 (#1274) 2018-07-25 08:53:44 -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 4d0c2da881 Updating submodule(s)
Mvc => 5628b5c496
Routing => c4bc628aa6

[auto-updated: submodules]
2018-07-25 14:39:55 +00:00
Kiran Challa c4bc628aa6 Merge branch 'merge/release/2.2-to-master'
# Conflicts:
#	build/dependencies.props
2018-07-25 07:13:51 -07:00
Kiran Challa 5628b5c496 Use feature branch versions of routing 2018-07-25 07:12:10 -07:00
ASP.NET CI 2592456ce4 Updating submodule(s)
Routing => 10f175123f

[auto-updated: submodules]
2018-07-25 14:09:25 +00:00
Kiran Challa b0cd3f2d7a Merge branch 'merge/release/2.2-to-master'
# Conflicts:
#	build/dependencies.props
2018-07-25 07:08:16 -07: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 300ff7cf74 Updating submodule(s)
Mvc => bf50387092

[auto-updated: submodules]
2018-07-25 13:37:58 +00:00
Kiran Challa 10f175123f Upgraded dependencies.props 2018-07-25 06:33:34 -07:00
Kiran Challa bf50387092 Upgraded dependencies.props 2018-07-25 06:31:58 -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