Commit Graph

18078 Commits

Author SHA1 Message Date
John Luo 306ef044cf
Conditionally enable/disable targeting pack tests (#20255) 2020-03-28 18:04:20 -07:00
Brennan 654cf06615
Backport ANCM environment variable additions (#20006) 2020-03-27 10:56:49 -07:00
William Godbe 1040be3588
Include third-party-notices.txt in all packages (#20166)
* Include third-party-notices.txt in all packages

* Fix version test filename
2020-03-27 10:15:32 -07:00
Brennan 9514a865ef
[SignalR] Avoid deadlock with closing and user callbacks (#19612) (#19664)
* [SignalR] Avoid deadlock with closing and user callbacks (#19612)

* fb
2020-03-25 13:13:02 -07:00
William Godbe 7bda94ab0a
Update branding to 3.1.4 (#20110)
* Update branding to 3.1.4

* Disable targeting pack tests

* Use 3.1.103 SDK
2020-03-25 09:16:36 -07:00
John Luo 042e642aea
Add missing assemblies to ref pack (#19161)
* Add missing assemblies to ref pack

* amend

* Update comments too

* Use patchVersion=0 for ref pack dependencies

* Fixup versions

* Enable targeting pack tests

* Fix targeting pack test

* Feedback

* Update Microsoft.AspNetCore.App.Ref.csproj

* Downgrade System.* versions for all ref/ projects

- yeah, @JunTaoLuo and I agreed w/ you @wtgodbe

* Update condition

Co-authored-by: William Godbe <wigodbe@microsoft.com>
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2020-02-20 15:01:28 -08:00
Javier Calvarro Nelson 7ee3aeb9e0
[SPA] Updates the angular and react dependencies (#19103)
* Update react dependencies

* Update angular dependencies

* Update react-redux dependencies

* Update more react dependencies

* Fix angular issues

* Fix authorize route
2020-02-18 18:09:02 -08:00
William Godbe bdb6a38c47
Publish Checksums to dotnetclichecksums storage account (#19038)
* Update dependencies from Arcade

* Try publishing checksums

* Fix some errors

* Set RelativeBlobPath

* Fix publish location

* Centralize ChecksumExtension

* Fix use of ChecksumExtension in publishing.props
2020-02-14 15:28:30 -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
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
dotnet-maestro-bot 2dc908d502 [automated] Merge branch 'release/2.1' => 'release/3.1' (#18396)
* [Platform] Detect and fix certificates with potentially inaccessible keys on Mac OS (2.1) (#17560)

* [Https] Detects and fixes HTTPS certificates where the key is not guaranteed to be accessible across security partitions

* Fix dotnet dev-certs https --check

* Update logic for detecting missing certs

* Fix security command

* Update warning logic

* Check that the key is accessible in Kestrel

* Add correct link to docs

* Update src/Tools/dotnet-dev-certs/src/Program.cs

Co-Authored-By: Daniel Roth <daroth@microsoft.com>

* Update src/Tools/dotnet-dev-certs/src/Program.cs

Co-Authored-By: Daniel Roth <daroth@microsoft.com>

* Add test for 2.1

* Update src/Tools/dotnet-dev-certs/src/Program.cs

Co-Authored-By: Chris Ross <Tratcher@Outlook.com>

* Address feedback

* Fix non-interctive path

* Fix tests

* Remove a couple of test from an unshipped product

* Check only for certificates considered valid

* Switch the exception being caught, remove invalid test

Co-authored-by: Daniel Roth <daroth@microsoft.com>
Co-authored-by: Chris Ross <Tratcher@Outlook.com>

* Fix patchconfig merge (#18389)

* Fix flaky HubConnectionHandler test (#18391)

Co-authored-by: Javier Calvarro Nelson <jacalvar@microsoft.com>
Co-authored-by: Daniel Roth <daroth@microsoft.com>
Co-authored-by: Chris Ross <Tratcher@Outlook.com>
Co-authored-by: Brennan <brecon@microsoft.com>
2020-01-17 08:30:12 -08:00
Pranav K cd518e9da3 Use reference assemblies when compiling Razor views (#18395)
* Use reference assemblies when compiling Razor views
Fixes https://github.com/dotnet/aspnetcore/issues/18323

* Avoid mixing runtime and ref assembly
2020-01-16 17:56:14 -08:00
Brennan 28240ce460 Fix flaky HubConnectionHandler test (#18391) 2020-01-16 14:24:34 -08:00
Artak 452a822b62 Added the Blazor survey link to the Blazor-Server project template (#17434)
* Added the survey link to the Blazor Server project

* Use new survey link for server project

* Updated the baseline to include the SurveyPrompt.razor file

* Added the SurveyPrompt.razor to all the test baselines
2020-01-16 13:21:37 -08:00
John Luo bc7135c202
Merge pull request #18369 from dotnet/jkotalik/merge31
Merge 2.1 into 3.1
2020-01-16 11:29:26 -08:00
Pranav K 6a8ce3ad67 Add support for IAsyncEnumerable<T> where T is value type (#17154) (#17563)
* Add support for IAsyncEnumerable<T> where T is value type (#17154)

* Add support for IAsyncEnumerable<T> where T is value type

Fixes https://github.com/aspnet/AspNetCore/issues/17139

* Fixup ref asm

* undo changes to blazor.server.js
2020-01-16 10:32:29 -08:00
Javier Calvarro Nelson 8e5767bdf1 [Platform] Detect and fix certificates with potentially inaccessible keys on Mac OS (3.1) (#17581)
* [Platform] Add logic to dotnet-dev-certs to detect and fix certificates with inaccessible keys on Mac OS

* Update the docs link
2020-01-16 10:29:37 -08:00
John Luo 4682c2a6dc Test ref pack fix 2020-01-16 08:51:35 -08:00
Ryan Brandenburg 5dc2d6eafa Extend timeout and report failure to WarmUp for template tests (#16759)
* Extend timeout and report failure to WarmUp for template tests

* Retry click events
2020-01-15 18:44:56 -08:00
Justin Kotalik d9ccf235fd Final bad conflicts 2020-01-15 16:39:50 -08:00
Justin Kotalik ca56fee980 Missed conflicts 2020-01-15 16:26:32 -08:00
Justin Kotalik 4dd0a6cd27 Merge branch 'release/2.1' into release/3.1 2020-01-15 16:19:30 -08:00
Hao Kung 109663e078 Send confirmation mails for external accounts 2020-01-15 13:32:34 -08:00
William Godbe 89d26402ef
[release/3.1] Mark Blazor packages as nonshipping (#18357)
* Mark Blazor packages as nonshipping

* Explicitly set IsShippingPackage=false

* Pin blazor dependency version
2020-01-15 12:11:52 -08:00
John Luo 9522e1dd2e Multi-target all shared framework projects with netcoreapp3.1 (#17998)
- regen ref
2020-01-15 12:08:17 -08:00
Javier Calvarro Nelson b4d2f9aa52 [Static Web Assets] Allow assets with empty base paths (#17414) 2020-01-15 11:45:21 -08:00
Ajay Bhargav B cba11d7e22 Workaround for #18058 (#18213) 2020-01-15 11:42:30 -08:00
James Newton-King 34294a3e7a Fix TestServer hang with duplex streaming requests (#17158) 2020-01-15 11:08:41 -08:00
Chris Ross ad8ecf96a1 React to runtime/594 Encoder.Convert change (#17747) 2020-01-15 11:07:50 -08:00
Chris Ross 8211a1c313 [2.1] CookieChunkingManager needs to flow the Secure attribute… (#17953) 2020-01-15 11:07:15 -08:00
Brennan 164ddfd48b Fix flaky LongPolling tests (#14395) 2020-01-15 11:06:16 -08:00
William Godbe 6ec28e8715
Fix setter for CandidateState.Values in reference assembly (#18278) 2020-01-15 11:02:08 -08:00
William Godbe ee57a0c309
Use checked-in platform manifest in 3.1.2 (#18250)
* Use checked-in platform manifest in 3.1.2

* Only used checked-in manifest in servicing builds
2020-01-15 11:01:16 -08:00
= eb1150ba37 Fixup templates 2020-01-15 09:00:39 -08:00
John Luo 183a09f763 Update branding to 2.1.16 2020-01-14 14:42:47 -08:00
DotNet Bot 1324674163 Merged PR 4703: [internal/release/3.1] Update dependencies from 1 repositories
This pull request updates the following dependencies

[marker]: <> (Begin:48752c90-f78c-49ee-575f-08d76e1d56cb)
## From https://github.com/aspnet/EntityFrameworkCore
- **Build**: 20191210.7
- **Date Produced**: 12/10/2019 8:25 PM
- **Commit**: 813358a5fb4e1f35e5d82463d2bad6616ca6f594
- **Branch**: refs/heads/internal/release/3.1
- **Updates**:
  - **Microsoft.EntityFrameworkCore.Tools** -> 3.1.1-servicing.19610.7
  - **Microsoft.EntityFrameworkCore.SqlServer** -> 3.1.1-servicing.19610.7
  - **dotnet-ef** -> 3.1.1-servicing.19610.7
  - **Microsoft.EntityFrameworkCore** -> 3.1.1-servicing.19610.7
  - **Microsoft.EntityFrameworkCore.InMemory** -> 3.1.1-servicing.19610.7
  - **Microsoft.EntityFrameworkCore.Relational** -> 3.1.1-servicing.19610.7
  - **Microsoft.EntityFrameworkCore.Sqlite** -> 3.1.1-servicing.19610.7

[marker]: <> (End:48752c90-f78c-49ee-575f-08d76e1d56cb)
2019-12-15 17:23:03 +00:00
dotnet-bot 0780fb8e44 Merge in 'release/3.1' changes 2019-12-14 01:57:19 +00:00
Doug Bunting 81bccd1e4a
Merge branch 'release/3.0' => 'release/3.1' #16621
- hurray 🎆 🍾
- thanks @wtgodbe 
/fyi @Pilchie @mmitche
2019-12-13 17:55:58 -08:00
dotnet-bot 95be2bded3 Merge in 'release/3.1' changes 2019-12-14 00:23:13 +00:00
William Godbe f89c8d15a2
Use correct, non-stabilized version to find runtime archive (#17863) (#17869) 2019-12-13 16:21:45 -08:00