Commit Graph

18564 Commits

Author SHA1 Message Date
Brennan 9234e6bfdb
Skip Java tests on ARM (#19214) 2020-02-20 18:08:05 -08:00
Brennan b125c76d5f
Fix watch tests again (#19155) 2020-02-20 16:03:48 -08:00
Brennan 3787d7e7f0
Merge pull request #19122 from dotnet/halter73/mega-merge
Merge branch release/3.1 --> master
2020-02-20 15:19:27 -08:00
Brennan Conroy 3c40c64d3d Fix template test 2020-02-20 12:43:21 -08:00
Doug Bunting 782b7c5dcd
Mark BlazorWasm template as non-shipping and disable its associated test 2020-02-20 11:12:07 -08:00
Doug Bunting e27f912453
Explicitly map `@(Reference)` to `@(PackageReference)` for Microsoft.Internal.Extensions.Refs 2020-02-20 10:59:17 -08:00
Kahbazi d597e08518
Make user-secrets treat unmatched options as arguments (#18256) 2020-02-20 17:16:05 +00:00
Doug Bunting c2ee4ae820
Re-enable source build job
- change ref/ projects to build only the default TFM during source builds
  - avoid errors restoring packages like Microsoft.BCL.AsyncInterfaces
  - may also speed up source builds slightly
2020-02-19 22:46:22 -08:00
Brennan Conroy e721923b67 Fix targets file 2020-02-19 18:15:59 -08:00
Daniel Abbatt 474d03c071 Typo in the exception message that's returned
Typo in the exception message that's returned
Rendererd should be Rendered
2020-02-19 23:00:08 +00:00
Brennan 1e03d57deb
Merge branch 'master' into halter73/mega-merge 2020-02-19 14:20:10 -08:00
Brennan Conroy 2d066dcd3e Apply some fixes 2020-02-19 14:18:29 -08:00
Vaughan Reid b6698757a8
Activity.Baggage values are now be Url decoded in HostingApplicationDiagnostics. (#18948) 2020-02-19 14:03:36 -08:00
Roman Marusyk 76d197f0dd
Add XML Documentation to ResponseCachingMiddleware and ResponseCachingExtensions (#18968)
* Add XML Documentation to ResponseCachingMiddleware and ResponseCachingExtensions

* Update src/Middleware/ResponseCaching/src/ResponseCachingExtensions.cs

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Update src/Middleware/ResponseCaching/src/ResponseCachingExtensions.cs

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Update src/Middleware/ResponseCaching/src/ResponseCachingExtensions.cs

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Update src/Middleware/ResponseCaching/src/ResponseCachingMiddleware.cs

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Update src/Middleware/ResponseCaching/src/ResponseCachingMiddleware.cs

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Update ResponseCachingMiddleware.cs

Co-authored-by: Andrew Stanton-Nurse <andrew@stanton-nurse.com>
2020-02-19 21:39:24 +00:00
Brennan e3a5f03e24
Run Java tests on Helix (#18938) 2020-02-19 13:18:12 -08:00
Kahbazi 1e4438647c
Add Email claim (#18580) 2020-02-19 11:24:35 -08:00
Scott Addie e937884eb4
Secret Manager: Save project file without XML declaration (#14354) 2020-02-19 10:25:28 -08:00
Hao Kung 607a6b4f8a
Merge branch 'master' into halter73/mega-merge 2020-02-18 16:51:15 -08:00
Ajay Bhargav Baaskaran f2dd6d4598 Add back DownloadFile.cs
Revert Razor.Runtime.Manual.cs and regenerate ref assemblies
2020-02-18 15:52:34 -08:00
Hao Kung 853d8f02e7
Use dotnet-helixapi-access token for internal helix builds 2020-02-18 15:51:13 -08:00
Greg Ingram abfd519b40
Updated summary (#19087) 2020-02-18 23:48:22 +00:00
Ajay Bhargav Baaskaran b92f4231e8 Todos 2020-02-18 13:47:25 -08:00
Stephen Halter 88073f86ff Merge branch 'release/3.1' into master 2020-02-18 13:46:51 -08:00
Ryan Brandenburg 211bc40384
Revert flaky tests that seems to have been fixed (#19065) 2020-02-18 09:26:51 -08:00
samsosa 2a52168115
Remove HostString.Port string alloc in HostString.cs (#19082)
https://github.com/dotnet/aspnetcore/issues/19064
2020-02-16 23:07:32 -08:00
Chris Ross 1dc31a7613
Sync script changes from the runtime repo (#19062)
* Sync script changes from the runtime repo #18943

* Additional change
2020-02-14 19:59:35 +00:00
Brennan 50ef4faf14
Fix dotnet watch tests on Helix (#19021) 2020-02-14 11:34:11 -08:00
Pranav K e29c495166
Transfer endpoint metadata from PageActionDescriptor to CompiledPageActionDescriptor (#19061)
Fixes https://github.com/dotnet/aspnetcore/issues/17300
2020-02-14 10:53:46 -08:00
Chris Ross 7e094d7b7d
Update OIDC SameSite sample (#18934) 2020-02-14 18:07:46 +00:00
Stephen Halter 439f4af49c
Cache _absoluteRequestTarget when reusing strings (#18547) 2020-02-14 09:38:31 -08:00
Stephen Halter f3e2b4d4d1
Keep Pipe readable after FormPipeReader error (#18939) 2020-02-14 09:36:57 -08:00
Brennan ba74c35f0e
Build 3.1 site extension (#18568) 2020-02-14 09:35:01 -08:00
Alessio Franceschelli d05c9f465c
HeaderPropagation: reset AsyncLocal per request (#18300)
As Kestrel can bleed the AsyncLocal across requests,
see https://github.com/aspnet/AspNetCore/issues/13991.
2020-02-14 09:33:26 -08:00
Stephen Halter 7fa6d19644
Add option to interpret request headers as Latin1 (#18255) 2020-02-14 09:32:36 -08:00
Jacques Eloff a633c66dc6
Fix layout of installer help page for non-ENU locales, #18152 (#18246) 2020-02-14 09:31:17 -08:00
Pranav K e8d31697ad
Add an option to enable runtime compilation (#18648) 2020-02-14 08:35:06 -08:00
Pranav K d7f98bd562
Use reference equality to compare model instances in EditContext (#18172) (#18649)
* Use reference equality to compare model instances in EditContext

Fixes https://github.com/aspnet/AspNetCore/issues/18069
2020-02-14 08:34:44 -08:00
Pranav K 1027e5372f
Use the analyzer from the SDK when available (#18885)
* Use the analyzer from the SDK when available

This prevents a build warning when building a project that contains a reference to
Microsoft.AspNetCore.Components and a netcoreapp3.0 or newer targeting Web project.

The Web SDK implicitly adds the Components.Analyzer for netcoreapp3.0 or newer targeting projects.
If the project additionally referenced this package (directly or transitively), the package would
set up a property that prevented the implicit analyzer reference. This prevented the analyzer from
being referenced twice.

There were two issues with the current approach:

a) The props file wasn't propogated via buildTransitive. Consequently transitive project references
would reference two copies of the analyzer. When these were different versions, it resulted in a compiler
warning.

b) Forward looking, this prevents newer versions of the analyzer shipped from the SDK from ever being used.
This is particularly problematic since apps are likely to reference component libraries that were previously
compiled against 3.x.

This change attempts to mitigate both of these issues:

a) We add a buildTransitive so our build targets flow
b) We knock out the analyzer added by the package if the SDK's already added it.

Fixes https://github.com/dotnet/aspnetcore/issues/18563

* Update Microsoft.AspNetCore.Components.Analyzers.targets

* Update Microsoft.AspNetCore.Components.Analyzers.targets

* Add a description

* Update Microsoft.AspNetCore.Components.Analyzers.targets
2020-02-14 08:34:23 -08:00
John Luo d10a352e8c
Remove non-existing dependency in Identity.Specification.Tests (#18790) 2020-02-13 16:29:28 -08:00
Doug Bunting a6c43b14a1
Mark AspNetCore projects that aren't packaged explicitly (#18767)
* Mark AspNetCore projects that aren't packaged explicitly
- avoid NU5104 warnings due to confusing versioning
- `$(IsShippingPackage)` was semantically incorrect in any case

* Remove redundant `$(IsShippingPackage)` settings in `$(IsAspNetCoreApp)` projects
- default is `true` for all implementation projects

* Use `$(IsPackable)` when deciding how `$(IsAspNetCoreApp)` projects are handled
- remove all use of `$(IsShippingPackage)` for shared framework composition
- update documentation to match these changes

nits:
- remove odd default for `$(IsPackable)` in Directory.Build.targets
  - no longer relevant since all `$(IsAspNetCoreApp)` projects are `$(IsShippingPackage)` too
- include more information in docs/ProjectProperties.md

* Add direct System.Text.Json references
- avoid MSB3277 warnings
2020-02-13 15:51:27 -08:00
Kirk Larkin ccf3c4e6b8
Set AuthenticationMethod for first Identity external login (#18296) 2020-02-12 13:20:31 -08:00
Andrew Stanton-Nurse c5dd4ce7e3
Quarantining outstanding test failures (#18964)
* quarantining outstanding test failures

* look, what is CI even for anyway?

* shhhh

* who uses who?
2020-02-12 18:58:17 +00:00
Chris Ross e9e6b53526
Restructure shared http code (#18967)
* Restructure shared runtime code

* More qpack

* Header field

* HttpSys tests

* Casing
2020-02-12 18:07:32 +00:00
Justin Kotalik 9733704aea
Update shared code for HTTP/2 and HTTP/3 (#18958) 2020-02-11 14:25:46 -08:00
Pranav K 493da142f1
Fixups to ensure benchmarks apps builds in the master branch (#18942)
* Fixups to ensure benchmarks apps builds in the master branch

Fixes https://github.com/dotnet/aspnetcore/issues/18484
2020-02-11 11:18:31 -08:00
Justin Kotalik 6042fab581
Replat on HTTP/3 changes, fixing up minor nits to be compatible with h3-25 (#18912) 2020-02-11 11:17:42 -08:00
Pranav K 9bd5279472
Fixups for codecheck 2020-02-11 08:48:13 -08:00
PJ Evans aeb598065f
Updated all AzureAD and AzureADB2C views to give ids to all taged html objects. Again, for easy css use. All views are now updated and named appropiately for which auth system being used. (#18910) 2020-02-10 17:04:26 -08:00
Pranav K 4201799425
Fixups to ensure benchmarks apps builds in the master branch
Fixes https://github.com/dotnet/aspnetcore/issues/18484
2020-02-10 15:55:54 -08:00
Günther Foidl aa7804c247
Don't mutate strings in Kestrel (#17556)
* Removed mutating of string-contents in BCryptHandle

* Revert "Removed mutating of string-contents in BCryptHandle"

This reverts commit 5ae80c2834471baf34d1e5a05a42e3cce1ff02d7.

This is a .NET STandard 2.0 project, so no span is available by default. I think it's not worth it to add a reference to System.Memory-package just for this change.

* Better perf for StringUtilities.TryGetAsciiString

* Removed mutating of created string from HttpUtilities

* Use static readonly span-actions as this gives a boost due to not having a null check for the compiler generated cached delegate

* Debug Asserts

* PR Feedback
2020-02-10 22:21:07 +00:00