Commit Graph

16829 Commits

Author SHA1 Message Date
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