Commit Graph

16544 Commits

Author SHA1 Message Date
Nate McMaster 9212f4a3df
Update corefx dependencies and react to changes in JSON API (#9563) 2019-04-19 11:42:41 -07:00
Ben Adams 5ff2910d09 UriHelper use Ordinal string.IndexOf (#9537) 2019-04-19 10:14:03 -07:00
BrennanConroy a6fd8da9e8
Set camelCase as default in JsonHubProtocol (#9531) 2019-04-19 09:55:51 -07:00
Ben Adams d46388b58e Lazy create MVC ControllerActionInvoker statemachines (#9533)
* Lazy create ControllerActionInvoker.InvokeInnerFilterAsync statemachine

* Lazy create ControllerActionInvoker.InvokeNextActionFilterAwaitedAsync statemachine

* Lazy create ControllerActionInvoker.InvokeNextActionFilterAsync statemachine

* Lazy create ControllerActionInvoker.InvokeActionMethodAsync statemachine

* Lazy create Controller.OnActionExecutionAsync statemachine

* Ref assembly

* Formatting feedback
2019-04-19 07:48:26 -07:00
Artak Mkrtchyan a1d2d64120 Updated order for Blazor templates 2019-04-18 23:07:51 -07:00
Artak Mkrtchyan cab7ca6694 Changed the order of some templates to be explicit 2019-04-18 23:07:51 -07:00
Pranav K acf45106fc
Use FileBufferingWriteStream in ViewComponentResultExecutor (#9523)
Fixes https://github.com/aspnet/AspNetCore/issues/9443
2019-04-18 19:27:55 -07:00
Pranav K 9e4d5c14c7
Use LogicalName that works consistently in all platforms (#9527) 2019-04-18 19:27:25 -07:00
James Newton-King 7669cf0d03
Move Microsoft.AspNetCore.Authorization.Policy types (#9492) 2019-04-19 13:24:36 +12:00
James Newton-King c34cdefc95
Avoid async in AuthorizationMiddleware when no metadata (#9521) 2019-04-19 11:56:05 +12:00
Ben Adams 23efa15112 Lazy create EndpointRouting statemachines (#9506) 2019-04-18 16:40:06 -07:00
Ben Adams 507a765dfb Lazy create StaticFileMiddleware statemachine (#9507) 2019-04-18 14:44:00 -07:00
BrennanConroy c84e37f30d
Make System.Text.Json the default for SignalR and remove Newtonsoft from shared framework (#9476) 2019-04-18 13:49:24 -07:00
Pavel Krymets 56c064bd53 Display startup errors in ANCM (#8518) 2019-04-18 13:48:48 -07:00
Justin Kotalik eb41de88a9
Fix flaky routing test (#9505) 2019-04-18 13:40:43 -07:00
Mikael Mengistu ebb9ad20db
Client to Server Streaming with IAsyncEnumerable (#9310) 2019-04-18 13:20:39 -07:00
Ryan Nowak 6074daacae Fixes: #9468 2019-04-18 12:47:42 -07:00
Justin Kotalik 10d70c5c9e
Fix AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterCooldownExpires (#9487) 2019-04-18 12:44:54 -07:00
Pranav K caac31c925
Correct some EventHandler entries (#9474)
* Correct some EventHandler entries

Fixes https://github.com/aspnet/AspNetCore/issues/7570
2019-04-18 12:44:31 -07:00
Ben Adams 8fcadf72cd Allow headers to match on ReferenceEquals before OrdinalIgnoreCase (#9341) 2019-04-18 12:00:01 -07:00
Ryan Brandenburg dac6756853
Default IdentityUI to Bootstrap4 (#9334) 2019-04-18 10:22:57 -07:00
Artak Mkrtchyan 6a7b94a2bd Updated order of projects in the new project dialog 2019-04-18 10:14:26 -07:00
Pranav K 11842e75e2
Update MessagePack and fix build warning (#9464) 2019-04-18 10:06:58 -07:00
Justin Kotalik 8b536b08ca
Revert "Skip IIS Express on Windows 7 (#8330)" (#9490)
This reverts commit b2a58ab8de.
2019-04-18 08:57:50 -07:00
Andrew Stanton-Nurse f95960d856
[SignalR] Test definition isn't async (#9481)
Jest is warning us that this will be deprecated in the future. There's no reason for the `describe` callback to be `async` since all it's doing is registering tests through nested `it` calls.
2019-04-18 08:44:35 -07:00
Hao Kung 47ae9d9299
Remove RequiredPolicy (#9399) 2019-04-17 21:58:38 -07:00
Justin Kotalik 7448964388 Mark mvc test as flaky (#9489) 2019-04-17 21:46:27 -07:00
David Fowler a8b67a2b98
Rename variable (#9461) 2019-04-17 20:56:06 -07:00
David Fowler 32c46c7201
Create an activity more often than before (#9361)
- Create an Activity if there's a diagnostic listener attached with the activity name or if logging is enabled.
- Add the activity id to the logging scope (and call the field ActivityId)
2019-04-17 18:23:12 -07:00
Pranav K 92cae6faab
Buffer writes from sources of synchronous writes (#9015)
* Buffer writes from sources of synchronous writes

Fixes https://github.com/aspnet/AspNetCore/issues/6397
2019-04-17 18:11:07 -07:00
Nate McMaster e4328b2a96
Update DataProtection.AzureStorage to use latest Azure SDK dependency (Microsoft.Azure.Storage.Blob) (#9465) 2019-04-17 17:25:23 -07:00
Nate McMaster 485795ad3c
Revert ANCM installers to build with v141 C++ toolset (#9477) 2019-04-17 15:54:17 -07:00
Pranav K 56e2080ef7
Always fully build Components.Server.csproj (#9421)
* Always fully build Components.Server.csproj

* Use pre-built js files instead of building on the fly
* Use a sourcemap file for Debug. .gitignore sourcemap files
* Install nodejs on CodeCheck agents

Fixes https://github.com/aspnet/AspNetCore/issues/9402
2019-04-17 09:17:42 -07:00
Andrew Stanton-Nurse 46db367760
Fix #8974 by supporting strings in configureLogging for SignalR JS client (#9252) 2019-04-17 08:15:55 -07:00
Andrew Stanton-Nurse 01b0c888d2
Flow ANCM version number in the build output (#9269)
* Update IIS libraries to platform toolset v142

* Drop ancm version into a text file next to the installer

* feedback and try reverting removal of VC++ 141 tools to fix build
2019-04-17 08:09:07 -07:00
Pranav K 004ac25983
Remove AddRazorSupportForMvc from MVC and Blazor projects (#9446)
Fixes https://github.com/aspnet/AspNetCore/issues/9126
Fixes https://github.com/aspnet/AspNetCore/issues/9183
Fixes https://github.com/aspnet/AspNetCore/issues/9207
2019-04-16 20:46:51 -07:00
Ben Adams 2dc5694ecd Http1OutputProducer Reset sequentially (#9203) 2019-04-16 20:29:47 -07:00
Ryan Nowak 4f57a4af14 Address Jimmys cool feedback 2019-04-16 19:36:32 -07:00
Ryan Nowak 84916223bb Address Bens cool feedback 2019-04-16 19:36:32 -07:00
Ryan Nowak 7021df89e4 Remove dynamic from page endpoints 2019-04-16 19:36:32 -07:00
Ryan Nowak 6f305373ca Allow fallback to controller to use MatcherPolicy 2019-04-16 19:36:32 -07:00
Ryan Nowak 4f015e2813 Add ability to replace an endpoint with a collection
This is a crucial enabler for dynamic scenarios. A policy can replace an
endpoint with a *group* of dynamic endpoints which will be disambiguated
by other policies.
2019-04-16 19:36:32 -07:00
Ryan Nowak e47fbbab9e Slim down CandidateSet 2019-04-16 19:36:32 -07:00
Ryan Nowak 6eeda774ef Implement IEndpointSelectorPolicy for ConsumesMatcherPolicy 2019-04-16 19:36:32 -07:00
Ryan Nowak eca6a71754 Implement IEndpointSelectorPolicy for HttpMethodMatcherPolicy 2019-04-16 19:36:32 -07:00
Ryan Nowak 8df3dc7ae4 Make HostMatcherPolicy implement IEndpointSelectorPolicy 2019-04-16 19:36:32 -07:00
Ryan Nowak 94fab79771 Add some cool docs about IDynamicEndpointMetadata.
This will make James happy, which makes it more likely he will
look at the rest of the PR.
2019-04-16 19:36:32 -07:00
David Fowler 48f0a76ea9
Support plain text exception formatting (#9342)
- If there's no Accept: text/html then print the exception.ToString as plaintext
2019-04-16 18:34:07 -07:00
Justin Kotalik 102dd03149
Wait to dispose CTS for IIS (#9389) 2019-04-16 17:08:57 -07:00
Pranav K e2477706b6
Always set flag in CorsMiddleware once it executes (#9440)
Fixes https://github.com/aspnet/AspNetCore/issues/9348
2019-04-16 16:28:27 -07:00