Commit Graph

38883 Commits

Author SHA1 Message Date
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
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
ASP.NET CI da0ed59aa8 Updating submodule(s)
Routing => 34499dbe24

[auto-updated: submodules]
2018-07-24 16:54:01 -07:00
Steve Sanderson b5ff6db1d4 Fixes for 0.5.0 (#1183)
* Fix macOS debug launch instructions

* Remove license headers from template files
2018-07-24 16:51:00 -07:00
Kiran Challa 34499dbe24 Added support for suppressing link generation for endpoints 2018-07-24 16:47:34 -07:00
Mike Harder 4e21e92337 RazorClassLibrary projects must now use private feed in pre-release SDKs
- https://github.com/aspnet/Universe/issues/1123#issuecomment-407570943
2018-07-24 15:54:52 -07:00
ASP.NET CI 0b83726d6e Updating BuildTools from 3.0.0-alpha1-10012 to 3.0.0-alpha1-10013
[auto-updated: buildtools]
2018-07-24 15:52:08 -07:00
ASP.NET CI 3e6bdc3029 Updating submodule(s)
Mvc => 630aeade07

[auto-updated: submodules]
2018-07-24 15:24:46 -07:00
Kiran Challa 630aeade07 Added tests related to generating urls with route name 2018-07-24 15:06:16 -07:00
ASP.NET CI 040de10f87 Updating BuildTools from 3.0.0-alpha1-10011 to 3.0.0-alpha1-10012
[auto-updated: buildtools]
2018-07-24 14:54:37 -07:00
ASP.NET CI 833c78b6af Updating submodule(s)
AADIntegration => 4dd806bbfb
Antiforgery => 7f7906a72f
AuthSamples => cb3d706ead
AzureIntegration => f33343bff2
BasicMiddleware => 5b1fee6c86
BrowserLink => 8cabeb0681640d0ea6ceed8f6be84dd8d2d7a90e
Caching => da4e3783c6baddf80819ed1b3c340f8769c2216a
Configuration => 3d5749874c835f9c45544213955bc47847037977
CORS => 2598ac76c4
DataProtection => 7f53a18240
DependencyInjection => d38d9c00fbca3ad7a20d8e725b86543b97b97dff
Diagnostics => 1f1673de38
DotNetTools => bd824c9347
EventNotification => 9f51852ef491c89739191c0217adda3e1d2da07e
FileSystem => 17abc8531db87f36ca2ec16a90df11445f5fe88d
Hosting => 2fad79db9c
HtmlAbstractions => b6ddd7489e
HttpAbstractions => 8c4d36c30f
HttpClientFactory => 495560a7c4bdce240b049ac6969018ac95567221
HttpSysServer => 5edeb8c2ab
IISIntegration => 8813000fa4
JavaScriptServices => 02383cd614
JsonPatch => 254a53ec46
KestrelHttpServer => 1f58092b1b
Localization => e12c118ffe
Logging => 6b03bec2c770cb73756156fd1efb2dbae627e579
MetaPackages => 5c4002941d
Microsoft.Data.Sqlite => 1fc2ee35a2905cb8e221d94c0e97ddf211471bde
MusicStore => c0686dc3c3
MvcPrecompilation => 8203f631fc
Options => 575f51b527c9826b4e18bad132fb260c2a40a42c
Proxy => eda8e1b142fdec87fccaa8bda741f604300ea0de
Razor => 27320fc76f
ResponseCaching => 24f85a9051
Scaffolding => accd08116b1574146545b6e0e1215b03e12a3227
Security => 078a13d97d
Session => 1eca19da1b
StaticFiles => 5c49426396
Templating => ba02ab85c1
WebSockets => f5ea0e7b1a

[auto-updated: submodules]
2018-07-24 14:54:35 -07:00
ASP.NET CI 400701857c Updating submodule(s)
IISIntegration => 5bd475ef90

[auto-updated: submodules]
2018-07-24 14:10:19 -07:00
Nate McMaster 5f9073c0a3
Merge branch 'release/2.2' 2018-07-24 13:50:31 -07:00
dotnet-maestro-bot d6eba42bf0 Upgrade to .NET Core 3.0.0-preview1-26724-02 (#1250) 2018-07-24 13:39:32 -07:00
Nate McMaster 27320fc76f
Merge branch 'release/2.2' 2018-07-24 13:37:40 -07:00
Nate McMaster f5ea0e7b1a
Merge branch release/2.2 2018-07-24 13:37:20 -07:00
Nate McMaster 5c49426396
Merge branch release/2.2 2018-07-24 13:37:15 -07:00
Nate McMaster 078a13d97d
Merge branch release/2.2 2018-07-24 13:37:11 -07:00