Commit Graph

16933 Commits

Author SHA1 Message Date
Ryan Nowak 11061e412e
EndpointMiddleware does not invoke endpoint (#10650)
* EndpointMiddleware does not invoke endpoint

Fixes: #10649

The bug is that the endpoint delegate is not invoked when
SuppressCheckForUnhandledSecurityMetadata is set to true. This option is
provided so that can you suppress the security checks done by routing,
but right now what it does is suppress the entire middleware.

We had tests for the supression cases, but they didn't actually validate
that the middleware did any work, just that we don't throw. Fixed that.

* harden tests
2019-05-30 13:27:09 -07:00
Justin Kotalik 76b8ca56af
Use web.config environment variables to read if in Development (#10642) 2019-05-30 12:45:56 -07:00
Ben Adams 6f7a8ec4c0 Ensure PlatformBenchmark is compiled for .NET Core 3.0 (#9619) 2019-05-30 08:19:26 -07:00
Andrew Stanton-Nurse bf5e3024a5
Update SignalR Java Client metadata (#10640)
The repo URLs were pointing at the old one :)
2019-05-30 08:19:01 -07:00
Hao Kung 0b54783877
[Helix] Try running node services tests on helix again (#9046) 2019-05-29 21:15:29 -07:00
Alessio Franceschelli abd70031cb HeaderPropagation middleware: small cleanup
- Removed MessageHandler DI registration as not needed.
- Fixed two parameters XML descriptions.
- Cleaned up usings in the example.
2019-05-29 20:06:20 -07:00
Nate McMaster e39b4b5c3e
Rename CacheEntryHelpers .cs to CacheEntryHelpers.cs (#10633) 2019-05-29 17:58:57 -07:00
Chris Ross 2a9655b8d6
Clear ShutdownTestRun flaky state (#10618) 2019-05-29 17:49:07 -07:00
Ben Adams 231bd526ad Fix linux CI break (#10610) 2019-05-29 14:52:12 -07:00
Artak 95d2f8ee7a
Changing `@functions` block to `@code` block (#10591)
* Changing `@functions` block to `@code` block
2019-05-29 13:36:24 -07:00
Nate McMaster 443d60d8bb
Remove arch from filename for RPM for targeting pack (#10593) 2019-05-29 13:11:51 -07:00
Justin Kotalik e16aa29e67
Make new HttpContext properties virtual (#10613) 2019-05-29 12:47:17 -07:00
Kevin Pilch f1ff37efdb
Clean up some stale comments (#10561)
Addresses AzDO Bug #890301 (https://dev.azure.com/devdiv/DevDiv/_workitems/edit/890301/)
2019-05-28 17:24:11 -07:00
Ryan Nowak 6ca30bbfc9
Add runtime support for Blazor attribute splatting (#10357)
* Add basic tests for duplicate attributes

* Add AddMultipleAttributes improve RTB

- Adds AddMultipleAttributes
- Fix RTB to de-dupe attributes
- Fix RTB behaviour with boxed EventCallback (#8336)
- Add lots of tests for new RTB behaviour and EventCallback

* Harden EventCallback test

This was being flaky while I was running E2E tests locally, and it
wasn't using a resiliant equality comparison.

* Add new setting on ParameterAttribute

Adds the option to mark a parameter as an *extra* parameter. Why is this
on ParameterAttribute and not a new type? It makes sense to make it a
modifier on Parameter so you can use it both ways (explicitly set it, or
allow it to collect *extras*).

Added unit tests and validations for interacting with the new setting.

* Add renderer tests for 'extra' parameters

* Refactor Diagnostics for more analyzers

* Simplify analyzer and fix CascadingParameter

This is the *easy way* to write an analyzer that looks at declarations.
The information that's avaialable from symbols is much more high level
than syntax. Much of what's in this code today is needed to reverse
engineer what the compiler does already. If you use symbols you get to
benefit from all of that.

Also added validation for cascading parameters to the analyzer that I
think was just missing due to oversight.

The overall design pattern here is what I've been converging on for the
ASP.NET Core analyzers as a whole, and it seems to scale really well.

* Add analyzer for types

* Add analyzer for uniqueness

This involved a refactor to run the analyzer per-type instead of
per-property.

* Fix project file

* Adjust name

* PR feedback on PCE and more renames

* Remove unused parameter

* Fix #10398

* Add E2E test

* Pranavs cool feedback

* Optimize silent frame removal

* code check

* pr feedback
2019-05-28 17:17:50 -07:00
Ben Adams 9f9c79bbe8 Use same code for Json Platform as TE (#7292) 2019-05-28 16:59:11 -07:00
Justin Kotalik 6e253996d9
Usability cleanup in IIS tests (#10460) 2019-05-28 14:28:33 -07:00
Ben Adams 3eca32965d Use sealed contexts for ActionInvoker 2019-05-28 12:13:38 -07:00
Steve Sanderson bc011b5c97 Integrate authorization into Blazor router (#10491)
* Split AuthorizeView in two, so "Core" part can be reused from routing

* Rename LayoutDisplay to PageDisplay

* Integrate authorization with Router/PageDisplay

* CR: Replace AuthorizeViewCore.razor with AuthorizeViewCore.cs

* Update tests

* Update ref assemblies

* Add E2E tests

* Update ref assembly exclusions

* More manual ref assembly updating

* Oh these ref assemblies
2019-05-27 18:12:01 -07:00
Dylan Dmitri Gray 9969e99ef4
Dylan/request throttle (#10413)
* request throttling -- initial implementation

* prevented semaphore leak; added xml docs

* small doc fixes

* reference document

* Added internals folder, added structured logging,

* removed typo'd dependency

* no default MaxConcurrentRequests; other polishing

* renamed SemaphoreWrapper->RequestQueue; cleanup

* moved SyncPoint; prevented possible semaphore leak

* adjusting feedback

* regen refs

* Final changes!
2019-05-27 14:46:14 -07:00
Larry Ewing cc40c37765 Work around mono url differences (#10551) 2019-05-27 10:08:24 +01:00
Justin Kotalik a20ddd8374
Make Native components a non-required part for build.cmd, fix IIS native code check (#10435) 2019-05-25 15:20:26 -07:00
Justin Kotalik 2d1c14d5a9
Write Premain errors to the response and write different status codes (#10282) 2019-05-25 15:19:06 -07:00
Brennan 833ddbe899
Fix broken build (#10541) 2019-05-25 14:47:22 -07:00
Ben Adams 44b2768307 Use Pipelines in PlaintextApp sample (#7227) 2019-05-25 12:18:14 -07:00
Stephen Halter 49c01eefec
Log clearer handshake failures in SignalR .NET client (#10433) 2019-05-24 10:32:41 -07:00
Steve Sanderson 54fff2b168
Server-side Blazor template with authentication (#10444) 2019-05-24 18:10:52 +01:00
Justin Kotalik 3be11f6544
Increase stack size for IIS Inprocess (#10511) 2019-05-24 08:16:54 -07:00
Steve Sanderson d18a033b1e
Integrate AuthorizeView with actual authorization (#10487) 2019-05-24 15:28:37 +01:00
John Luo 2c70498c13
Fix TLS protocols used in tests (#10483) 2019-05-23 20:07:39 -07:00
Arthur Vickers eef19949de Move Identity tests from SQL Server to SQLite for better reliability (#10300) 2019-05-23 16:32:48 -07:00
dotnet-maestro[bot] 72433039c0 Update dependencies and pin System.Data.SqlClient (#10434) 2019-05-23 15:40:53 -07:00
BrennanConroy c05244cda9
More docker resiliency for tests (#10425) 2019-05-23 14:46:32 -07:00
Ryan Nowak 2948c81aea
Fix RendererSyncContext.Post() (#10451)
* Fix RendererSyncContext.Post()

Fixes: #9683 - SignalR connection breaks on large DOM

The root cause here is a misbehaving sync context. It's not legal for a
Post() implementation to run a callback synchronously. We want that
behavior for most of the functionality Blazor calls directly, but Post()
should always go async or else various threading primitives are broken.

* Fix incorrect tests

These tests have the assumption that setting the result of a TCS will
execution continuations synchronously. This was a bug in our
SyncContext, and these tests needed updating to be more resiliant.

* Remove a delegate allocation
2019-05-23 10:39:53 -07:00
Artak a6dce7b33c
Updating minimum required VS version to 16.2 (#10458)
* Updating minimum required VS version to 16.2
2019-05-23 10:26:07 -07:00
Jacques Eloff eebd61642f
Merge pull request #10296 from aspnet/joeloff/LocLink
Fix .wxl reference
2019-05-23 09:05:04 -07:00
Chris Ross 156c4feb65
Put request trailers in a separate collection (#10410) 2019-05-23 09:00:39 -07:00
Stafford Williams c2e2d7d135 SignalR: Fix Crankier build (#9976)
* fix benchmarkapps build
* move Directory.* to BenchmarkServer
2019-05-23 08:20:34 -07:00
Steve Sanderson 6c5e1690ad
Update Mono WebAssembly for Blazor (https://github.com/aspnet/Blazor/pull/1807) 2019-05-23 13:10:53 +01:00
Dániel Lőczi dbe9ab7dd5 Respect CancellationToken in HubConnection.StartAsync() (#10140) 2019-05-22 14:37:08 -07:00
BrennanConroy f26b87aa42 Check for Java in local SignalR build (#10455) 2019-05-22 11:02:37 -07:00
Pranav K 72e2d13217 Make JsonPatch netstandard2.0
Fixes https://github.com/aspnet/AspNetCore/issues/9812
2019-05-22 10:22:42 -07:00
Chris Ross ede9249223 React to Authorization refactor (#10453) 2019-05-22 09:36:52 -07:00
Chris Ross f5879cc0d5
Add new Negotiate Auth handler (#9831) 2019-05-22 06:14:50 -07:00
Nate McMaster 01a8798936
Update links and disable warnings related to tests that don't work in Helix (#10427) 2019-05-21 16:39:06 -07:00
Pranav K 26b53236b1
Fix more null refs in Api Analyzers (#10375)
*  Fix more null refs in Api Analyzers

 * Make attributes used by analyzer public
 * Compile analyzer tests against ref assemblies
 * Turn on Nullable reference types and harden some null-checks

Fixes https://github.com/aspnet/AspNetCore/issues/8686
2019-05-21 16:17:15 -07:00
Pranav K 5df6e452b6
Support a few more complex types with DefaultTempDataSerializer (#10314)
* Support a few more complex types with DefaultTempDataSerializer

Fixes https://github.com/aspnet/AspNetCore/issues/9540
2019-05-21 13:51:48 -07:00
Ryan Brandenburg 66fd4be4d7
Accessibility (#10247)
Template Accessibility
2019-05-21 11:22:21 -07:00
Justin Kotalik 47d39501a5
Upload native symbols for ANCM shim. (#10297) 2019-05-21 08:34:28 -07:00
BrennanConroy 663c83c140
Fix build failures with new VS (#10411) 2019-05-20 17:51:06 -07:00
Dylan Dmitri Gray 55555bedd5
Merge pull request #10275 from aspnet/dylan/requestQ
start of request queue
2019-05-20 17:02:47 -07:00
Hao Kung 16a47948f8
Move AuthZ policy types back into Policy and rejigger AddAuthorization (#10021) 2019-05-20 16:20:19 -07:00
Dylan Dmitri Gray 54e5b15c24 it's gone for good 2019-05-20 11:58:30 -07:00
Pranav K 200c9e21bd
Use attributes for application part discovery (#10271)
* Use attributes for application part discovery

Fixes https://github.com/aspnet/AspNetCore/issues/4332
2019-05-20 09:10:12 -07:00
Steve Sanderson 147880f796
Components auth step 2 (#10293)
* CR feedback left over from #10227

* Begin adding E2E test case

* Add cookie auth and test login page

* Make E2E auth component work client-side too

* Restructure auth E2E tests around a router so there can easily be multiple such test components

* Add E2E test case for AuthorizeView

* Prepare for E2E test implementations

* Fix ToBaseRelativePath handling of hashes

... otherwise E2E test will fail, because we're using the hash to control server-or-client execution

* Decouple E2E execution mode from hosting mode

* Actual E2E tests for cascading authentication state

* Actual E2E tests for AuthorizeView (in "no authentication rule" mode)

* Fix inconsistent namespace

* CR: Manual ref assembly definitions for AuthorizeView/CascadingAuthenticationState
2019-05-20 15:41:02 +01:00
Doug Bunting 5502c2080e Fix sign check
- most likely cause of failing official builds
- small typo in #10340: need to find .cab files _below_ `$(TargetDir)`
2019-05-18 19:00:04 -07:00
Dylan Dmitri Gray 7ff5293177 added HttpsPolicy back 2019-05-18 18:31:31 -07:00
BrennanConroy e953537307
Fix silly npm warnings (#10339) 2019-05-17 23:20:32 -07:00
Stephen Halter 8d83e5352d
Disable request body data rate limits per HTTP/2 stream (#10355) 2019-05-17 18:25:41 -07:00
Dylan Dmitri Gray 68606a2d80 removed redundant HttpsPolicy dependency 2019-05-17 16:56:17 -07:00
Justin Kotalik 2e89aa4aa6
Log stdout to event log on failure to start process for ANCM out of process (#10123) 2019-05-17 16:30:59 -07:00
Pranav K b9546df5d4
Defer link interception until Router is initialized (#10062)
* Defer link interception until Router is initialized

Fixes https://github.com/aspnet/AspNetCore/issues/9834
2019-05-17 15:33:35 -07:00
Pranav K fdc056cebe
Fixup 2019-05-17 15:12:24 -07:00
Jacques Eloff 64152c9180
Merge pull request #10340 from aspnet/joeloff/copycabs
Copy CABs to artifacts
2019-05-17 14:47:23 -07:00
Dylan Dmitri Gray 206c1e8a8a Removed error line 2019-05-17 14:37:16 -07:00
Dylan Dmitri Gray 5e85b3773b ready for final review 2019-05-17 14:27:06 -07:00
Alessio Franceschelli 320fadb756 HeaderPropagation Middleware: configuration per client (#10096)
* HeaderPropagation Middleware: configuration per client

* Renamed fields

* Renamed fields

* Fix sample

* Addressed feedback, cleaned up and added tests

* Addressed feedback on HeaderPropagationHttpClientBuilderExtensions

* Updated reference assemblies
2019-05-17 14:16:44 -07:00
Pranav K c43d713fd4 Re-enable FlushPointTest
Fixes https://github.com/aspnet/AspNetCore-Internal/issues/2300
2019-05-17 14:02:26 -07:00
Chris Ross b670246e3d
Add ForwardedHeaders to CreateDefaultBuilder #4135 (#10273) 2019-05-17 13:07:11 -07:00
Chris Ross 8b99354419
Expose the SslServerAuthenticationOptions via a callback #9349 (#10310) 2019-05-17 13:05:45 -07:00
Jacques Eloff fa2cad3452 CopyCabs 2019-05-17 12:15:20 -07:00
Dylan Dmitri Gray 3e6f70d5e8 Justin fixed refs 2019-05-17 10:54:56 -07:00
Dylan Dmitri Gray 9363eff2a8 OrTimeout Extension 2019-05-17 10:40:19 -07:00
John Luo 818dc3b74a
Update log directory (#10301)
* Update log directory

This will now include functional test logs

* There were a few more places logs was used instead of log
2019-05-17 09:02:34 -07:00
John Luo a05d555f11
Revert Work around potential race in PipeWriter (#10315)
* Remove Flaky attributes

* Revert "Work around potential race in PipeWriter (#10165)"

This reverts commit bff1d0e6c4.
2019-05-17 01:20:52 -07:00
Pranav K 6c5274a09f
Support a few more complex types with DefaultTempDataSerializer
Fixes https://github.com/aspnet/AspNetCore/issues/9540
2019-05-16 17:59:39 -07:00
Dylan Dmitri Gray 04ce6ef4c8 IDisposable fix 2019-05-16 16:59:40 -07:00
Dylan Dmitri Gray ac305849e3 cleanup from PR feedback 2019-05-16 16:55:46 -07:00
Dylan Dmitri Gray 61f028ad32 Renamed project, cleaned sln file 2019-05-16 16:35:01 -07:00
Dylan Dmitri Gray 5956609846 start of request queue 2019-05-16 16:35:00 -07:00
Nate McMaster 117dd8cff4
Use Arcade version suffixes for local (3.0.0-dev) and PR builds (3.0.0-ci) (#10279)
* Update versioning for local and PR builds to match Arcade versioning
* Mark CanCancelIAsyncEnumerableClientToServerUpload as flaky - cref aspnet/AspNetCore-Internal#2465
* Disable rollforward in project template tests (3.0.0-dev is older than 3.0.0-preview*). This prevents tests from rolling forward onto technically older bits
2019-05-16 12:59:40 -07:00
Chris Ross 7db16f174d
Disable SameSite for AzureAd and B2C cookies #9115 (#10280) 2019-05-16 12:02:40 -07:00
Jacques Eloff d83bb8efa2
Merge pull request #10241 from aspnet/joeloff/SetupAssets
Publish the shared framework MSI to artifacts
2019-05-16 10:56:38 -07:00
Jacques Eloff 75dcbf3f98 Fix .wxl reference 2019-05-16 10:32:37 -07:00
Hao Kung 394eb3ca13
Allow password validation failures to propogate (#6034) 2019-05-16 09:38:30 -07:00
Mickaël Derriey 3da1b107ef Ensure AzureADOptions.Instance is set (#9967) Fixes #6022 2019-05-16 08:24:12 -07:00
Nate McMaster 3e1086d587
Make dotnet-sql-cache an OOB package (#10272) 2019-05-16 07:49:10 -07:00
Steve Sanderson 1dbc203e19
Components auth: basic services and components (#10227) 2019-05-16 09:59:12 +01:00
Mickaël Derriey 9f4aa98ee2 Handle `null`s in the `JsonDocumentAuthExtensions.GetString` extension method (#10252) 2019-05-15 13:48:15 -07:00
Nate McMaster dc90e11c7a
Move obj and bin directories into repo root (#10063)
The Arcade SDK requires that the obj/ and bin/ folders be placed in the top-level artifacts/ folder of the repo. Although this PR does not complete our Arcade convergence, this is a step towards updating our repo to build with the Arcade SDK.

Changes:
* Set output path for build to artifacts/bin/$(ProjectName)/ 
* Set intermediate output path for build to artifacts/obj/$(ProjectName)/
* Cleanup .gitignore files (remove duplication between repo-root and tested gitignore files)
* Add code check which looks for project files that share the same name (could cause issues)
* Rename project files to have unique names (avoid race condition of build output)
* Update all locations which were hard-coded to expect bin/ and obj/ in the project directory
* Add overrides for tests which still assert test binaries exist in a given location relative to the source code
2019-05-15 13:44:55 -07:00
Nate McMaster 77e08c26d5
Replace all usages of RepositoryRoot with RepoRoot (#10267)
Preparing to adopt the Arcade SDK, which uses the shorter variable name instead
2019-05-15 12:00:19 -07:00
Stephen Halter bff1d0e6c4
Work around potential race in PipeWriter (#10165)
- Make sure we always await the last flush task before calling FlushAsync
  again instead of preemptively calling FlushAsync and checking to see
  if the ValueTask is incomplete before bothering to acquire the _flushLock
- This now acquires the _flushLock fore every call to Response.Body.Write
  whereas this only happened for truly async writes before.
- I don't think this is a big concern since this should normally be uncontested,
  and DefaultPipeWriter.FlushAsync/GetResult already acquire a lock.
2019-05-15 11:30:48 -07:00
Doug Bunting 6274705501
Merge branch 'release/2.2' => 'master' (#10243) 2019-05-15 11:13:26 -07:00
Ryan Brandenburg e9fbf306f9
RunTemplateTests (#9829) 2019-05-15 09:52:52 -07:00
huysentruitw 18ce50f543 ContentDispositionHeaderValue must encode/sanitize new-line char (#9971) 2019-05-15 09:34:50 -07:00
Doug Bunting 35a5718960
Merge branch 'release/2.2' -> 'master' 2019-05-15 09:07:11 -07:00
Mickaël Derriey 4a2bd2adbf Source server variables from IIS when running ANCM in-proc (#10022) 2019-05-15 08:26:29 -07:00
Steve Sanderson 2c58d82d44 Add components solution filter file 2019-05-15 13:19:51 +01:00
John Luo 20fcbf1f9a
Add a protobuf item template (#10125) 2019-05-14 20:55:26 -07:00
Justin Kotalik 47575a08a5
Handle a few other potentially null properties (#10053) 2019-05-14 18:08:05 -07:00
Justin Kotalik 93af64823e
Move iisexpress test to other IIS machines (#10234) 2019-05-14 18:07:27 -07:00
James Newton-King a2c69b3d0c
HTTP2: Include END_STREAM with HEADERS frame to avoid empty DATA frame (#10219) 2019-05-15 10:56:06 +12:00
John Luo 4946c72dab
Add build for linux-musl-arm64 (#10155)
* Add build for linux-musl-arm64

* Remove redundant apk installs
2019-05-14 15:44:52 -07:00
Ryan Nowak d794c52c75
Make RouteAttribute non-inherited (#10236)
* Make RouteAttribute non-inherited

Fixes: #5529

Inheriting and looking for inherited route attributes will cause nothing
but trouble. We had a bug tracking what to do about this and we decided
to make it really clear that routes are not inherited.

Previously the attribute was marked as inherited, but we woulnd't look
for inherited routes.

* add test
2019-05-14 15:37:17 -07:00
Daniel Roth 07a02dcbc7
Add missing app namespace to server-side Blazor template (#10240) 2019-05-14 14:44:50 -07:00
Hao Kung 0425808b70
RequiredPolicy reborn and less demanding as FallbackPolicy (#9759) 2019-05-14 12:42:34 -07:00
David Fowler dd2721f5ca Use UnsafeRegister for the handshake (#10204) 2019-05-14 11:13:45 -07:00
Jacques Eloff 3282e6fe2d Publish the shared framework MSI to artifacts 2019-05-14 10:22:36 -07:00
Jacques Eloff bde1b16498
Merge pull request #10179 from aspnet/joeloff/LocHB
Add localzied WXL files to bundles
2019-05-14 10:18:16 -07:00
Bruno 124064ef47 Add option to limit domains on AddRedirectToWww (#9676) 2019-05-14 08:33:03 -07:00
Ryan Nowak 2ed7be91e0 Fix #10185 remove .NET framework requirement from VSIX 2019-05-14 07:39:33 -07:00
Jacques Eloff fb495ad7ed Responding to feedback 2019-05-13 16:36:53 -07:00
Ryan Brandenburg a266cecc0c
Fix template accessibility (#10208) 2019-05-13 15:54:04 -07:00
Pranav K 3d79b9aa58
Add some caching to CORS (#9972)
* Add some caching to CORS
2019-05-13 11:52:16 -07:00
Ryan Brandenburg b76d9e2c36
Merge pull request #10192 from guardrex/guardrex/templates-line-ending
Add line endings to last lines of template files
2019-05-13 10:07:05 -07:00
James Newton-King d5207af367
Improve TestServer support for Response.StartAsync (#10189) 2019-05-13 22:38:26 +12:00
Luke Latham 3e90b3840b Add line endings to last lines of template files 2019-05-12 08:43:02 -05:00
BrennanConroy 208299aa31
Synchronize writing to connection and aborting connection (#10043) 2019-05-12 00:38:07 -07:00
Jacques Eloff d819851b3b Set Compressed=yes 2019-05-11 09:38:50 -07:00
Jacques Eloff 349ed16587 Add localized strings for bundles 2019-05-11 09:34:51 -07:00
Pranav K 8a3fdb4b21
Changes per PR comments 2019-05-11 06:22:19 -07:00
Pranav K 20982a947d
Add some caching to CORS 2019-05-11 05:43:44 -07:00
Nate McMaster b744814f06
Enhancements to Helix testing (#10007)
* Add Windows 7 and 8.1 testing on Helix
* Install SQL Server on-demand in Helix test queues
* Only install mssql on Windows runs
* Use exit /b
* Add targets to better support running helix locally
* Set maxretrycount to 2
* Handle IIS issues on win7/win8
* Make HelixPreCommand's fail the workitem
* Add a pre-generated test cert of IIS Express
* Update helix doc and ignore netsh script failures
* Fix bug in detecting Windows queues and disable Win 7 until we have queues ready
* Fix HttpSys functional tests on Helix
2019-05-10 15:04:16 -07:00
James Newton-King 11311d4f9d
Return response trailers from test server (#10135) 2019-05-11 07:50:53 +12:00
Stephen Halter 1cb42b1374
Auto-reconnect support for .NET SignalR client (#9535) 2019-05-10 11:08:18 -07:00
dotnet-maestro[bot] 6a630ca904 [master] Update dependencies from aspnet/AspNetCore-Tooling (#10130)
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190509.1
- Microsoft.NET.Sdk.Razor - 3.0.0-preview6.19259.1
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview6.19259.1
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview6.19259.1
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview6.19259.1

Dependency coherency updates
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Configuration - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Hosting - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Http - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Localization - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Logging.Console - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Logging.EventLog - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.ObjectPool - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Options - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.Primitives - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.ValueStopwatch.Sources - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.WebEncoders - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Internal.Extensions.Refs - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.JSInterop - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Mono.WebAssembly.Interop - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.CSharp - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Win32.Registry - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.ComponentModel.Annotations - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Data.SqlClient - 4.7.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Diagnostics.EventLog - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.IO.Pipelines - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Net.Http.WinHttpHandler - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Net.WebSockets.WebSocketProtocol - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Reflection.Metadata - 1.7.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Runtime.CompilerServices.Unsafe - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Security.Cryptography.Cng - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Security.Cryptography.Pkcs - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Security.Cryptography.Xml - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Security.Permissions - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Security.Principal.Windows - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.ServiceProcess.ServiceController - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Text.Encodings.Web - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Text.Json - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- System.Threading.Channels - 4.6.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.Extensions.DependencyModel - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.NETCore.Platforms - 3.0.0-preview6.19256.13 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.App - 3.0.0-preview6-27708-04 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Internal.AspNetCore.Analyzers - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)
- Microsoft.AspNetCore.Testing - 3.0.0-preview6.19259.1 (parent: Microsoft.CodeAnalysis.Razor)

* react to json changes
- thanx @BrennanConroy 
2019-05-10 10:52:02 -07:00
Steve Sanderson efa9a4e530
In components event dispatch, use explicit fire-and-forget instead of async void (#10149) 2019-05-10 18:12:32 +01:00
Ben Adams 0a148bfca4 Use sealed contexts for ResourceInvoker 2019-05-09 22:06:40 -07:00
Mikael Mengistu 5d56d8fdb0
Reduce Functional Test Stream Item Delay (#10127) 2019-05-09 21:22:40 -07:00
Mikael Mengistu 0adbfc6d25
Revert "Remove CancelableEnumerator (#10099)" (#10129) 2019-05-09 21:08:20 -07:00
dotnet-maestro[bot] 3cd84a9b03 [master] Update dependencies from aspnet/AspNetCore-Tooling (#10100)
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190508.1
- Microsoft.NET.Sdk.Razor - 3.0.0-preview6.19258.1
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview6.19258.1
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview6.19258.1
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview6.19258.1

* React to AspNetCore-Tooling Razor diagnostics change.
- It seems like on MacOS the ordering mechanism results in mismatched expectations for the CompilerFailedExceptionFactoryTest.
- thanx @NTaylorMullen !
2019-05-09 21:06:27 -07:00
Andrew Stanton-Nurse d3dc92ff6c
suppress ExecutionContext by default in TestServer (#10094)
fixes #7975

There is a 'PreserveExecutionContext' property to turn the old behavior back on. Also I had to modify where IHttpApplication.CreateContext is called since that's what sets the IHttpContextAccessor, which depends on AsyncLocals!
2019-05-09 20:47:43 -07:00
Ryan Nowak 0b590ff46f Fix #6764 EndpointConventionBuilder API review 2019-05-09 19:38:43 -07:00
Mikael Mengistu d37b2ca70a
Remove CancelableEnumerator (#10099) 2019-05-09 17:04:51 -07:00
Alexander Tsoi 41df269eaf Fix typo in xml docs (#10119) 2019-05-09 14:56:11 -07:00
Stephen Halter 2a88a3dd65
Expand slow heartbeat warning (#10092)
- Mention thread pool starvation as a possible cause.
2019-05-09 14:44:26 -07:00
Ryan Nowak b03bca15de Fix: #10091 2019-05-09 14:00:31 -07:00
Ryan Nowak 15b1566d90 Do something different I guess. 2019-05-09 13:59:38 -07:00
Ryan Nowak 434bf614d5 Make GetOrdereredMetadata return something good 2019-05-09 13:59:38 -07:00
Ryan Nowak f45250ce5e Mark test as flaky 2019-05-09 13:44:16 -07:00
Ryan Nowak 24784d0681 Fix #10066 2019-05-09 13:44:16 -07:00
BrennanConroy 9c3266008a
Set defaults for Json options (#10057) 2019-05-09 12:50:38 -07:00
Ryan Nowak 7642f9d12a
Fixes: #9281 - implement SignalR detection (#10065)
This change adds detection of various SignalR configure-related calls to
the startup analysis infrastructure.

Also adds a shim that VS is going to call into to analyze the project
pre-publish.
2019-05-09 12:33:09 -07:00
Steve Sanderson 4db8260c6c
Fix components event dispatch ordering + E2E test fixes (#10112) 2019-05-09 18:32:26 +01:00
David Fowler dcf49f2575
Move service registration before hosting startups run (#10105)
* Move service registration before hosting startups run
- This allows IHostingStartup to see default service registrations and override them.
- Added a test to verify that hosting startup can see the IWebHostingEnvironment. Unfortunately this is used by MVC to get the application name before the container is baked. This was found when porting our workshop from 2.2 to 3.0
2019-05-09 09:14:31 -07:00
Mickaël Derriey a677fd231e Make OIDC handler skip unrecognized requests (#10060) 2019-05-08 22:05:58 -07:00
huysentruitw 6d5b6b0c6f Calling abort inside TestServer handler should set RequestAborted (#9975) 2019-05-08 22:00:42 -07:00
Ryan Nowak b3836954ed Fix #9316 Expose Blazor HubOptions 2019-05-08 16:22:13 -07:00
Nate McMaster 3dbbb2994c
Upgrade yarn and cleanup npm commands (#10054)
* Add yarn.lock file for NodeServices
* Remove references to 'npm install' (causes double-download of node modules) and replace npm commands in package.json with yarn for consistency
* Upgrade yarn to 1.15.2
2019-05-08 15:07:25 -07:00
Mikael Mengistu e3bf01eec3
Adding more streaming benchmark scenarios (#10049) 2019-05-08 10:13:43 -07:00
Nick Sullivan 48d2f40192 blazor.boot.json - don't set physicalpath 2019-05-08 17:45:43 +01:00