Commit Graph

40462 Commits

Author SHA1 Message Date
DotNet Bot 844a82e37c Merged PR 8040: [internal/release/3.1] Update dependencies from dnceng/internal/dotnet-efcore
This pull request updates the following dependencies

[marker]: <> (Begin:e908e90a-0c22-4c54-b254-08d79557a113)
## From https://github.com/dotnet/efcore
- **Subscription**: e908e90a-0c22-4c54-b254-08d79557a113
- **Build**: 20200520.1
- **Date Produced**: 5/20/2020 5:36 PM
- **Commit**: 85b57af827aa71b77d673e813e046d081c8027ed
- **Branch**: refs/heads/internal/release/3.1
- **Updates**:
  - **Microsoft.EntityFrameworkCore.Tools**: from 3.1.4 to 3.1.5
  - **Microsoft.EntityFrameworkCore.InMemory**: from 3.1.4 to 3.1.5
  - **Microsoft.EntityFrameworkCore**: from 3.1.4 to 3.1.5
  - **Microsoft.EntityFrameworkCore.Relational**: from 3.1.4 to 3.1.5
  - **Microsoft.EntityFrameworkCore.Sqlite**: from 3.1.4 to 3.1.5
  - **dotnet-ef**: from 3.1.4 to 3.1.5
  - **Microsoft.EntityFrameworkCore.SqlServer**: from 3.1.4 to 3.1.5

[marker]: <> (End:e908e90a-0c22-4c54-b254-08d79557a113)
2020-05-21 19:47:40 +00:00
DotNet Bot 1f637e7031 Merged PR 8109: [internal/release/3.1] Update dependencies from dnceng/internal/dotnet-aspnetcore-tooling
This pull request updates the following dependencies

[marker]: <> (Begin:7bf32a0c-3505-43af-42b0-08d79559e63d)
## From https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore-tooling
- **Subscription**: 7bf32a0c-3505-43af-42b0-08d79559e63d
- **Build**: 20200520.13
- **Date Produced**: 5/21/2020 3:42 AM
- **Commit**: 0e01666509ce785750e66cb5e2d2da219867c4fb
- **Branch**: refs/heads/internal/release/3.1
- **Updates**:
  - **Microsoft.AspNetCore.Mvc.Razor.Extensions**: from 3.1.5 to 3.1.5
  - **Microsoft.AspNetCore.Razor.Language**: from 3.1.5 to 3.1.5
  - **Microsoft.CodeAnalysis.Razor**: from 3.1.5 to 3.1.5
  - **Microsoft.NET.Sdk.Razor**: from 3.1.5 to 3.1.5

[marker]: <> (End:7bf32a0c-3505-43af-42b0-08d79559e63d)
2020-05-21 16:29:16 +00:00
DotNet Bot 4cf4dd8810 Merged PR 8052: [internal/release/3.1] Update dependencies from dnceng/internal/dotnet-aspnetcore-tooling
This pull request updates the following dependencies

[marker]: <> (Begin:7bf32a0c-3505-43af-42b0-08d79559e63d)
## From https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore-tooling
- **Subscription**: 7bf32a0c-3505-43af-42b0-08d79559e63d
- **Build**: 20200520.4
- **Date Produced**: 5/20/2020 7:15 PM
- **Commit**: 7b992cb8b4ec55b2b3888db28d7ab105eeaaa5f7
- **Branch**: refs/heads/internal/release/3.1
- **Updates**:
  - **Microsoft.AspNetCore.Mvc.Razor.Extensions**: from 3.1.4 to 3.1.5
  - **Microsoft.AspNetCore.Razor.Language**: from 3.1.4 to 3.1.5
  - **Microsoft.CodeAnalysis.Razor**: from 3.1.4 to 3.1.5
  - **Microsoft.NET.Sdk.Razor**: from 3.1.4 to 3.1.5

[marker]: <> (End:7bf32a0c-3505-43af-42b0-08d79559e63d)
2020-05-21 03:33:31 +00:00
Javier Calvarro Nelson a9449cd20c
[Templates] Update SPA dependencies to keep npm audit happy (#21330)
* Update react dependencies

* Update angular dependencies

* Update react-redux dependencies
2020-05-18 14:59:29 -07:00
Brennan 66ddf3523a Fix cleaning send queue on restart (#18511) 2020-05-18 14:58:38 -07:00
William Godbe f789f0e959
Merge pull request #21843 from dotnet-maestro-bot/merge/release/2.1-to-release/3.1
[automated] Merge branch 'release/2.1' => 'release/3.1'
2020-05-14 17:10:54 -07:00
William Godbe 817127dfd0
[release/3.1] Give .msi's non-stable branding (#21801)
* Give .msi's non-stable branding

* Add BuildNumber to version

* Make GUIDInputs unique per-build
2020-05-14 16:34:09 -07:00
Justin Kotalik a1b3dff836 Merge branch 'release/2.1' into release/3.1 2020-05-14 16:13:17 -07:00
William Godbe 016e3d6e20
[release/3.1] Move SDL validation to ringed release (#21153)
* Move SDL validation to ringed release

* Remove unneeded stuff

* Add back variables

* fixup

* Add missing param
2020-05-13 12:35:53 -07:00
Doug Bunting de38479e5f
Improve build reliability (#20760)
* Improve build reliability
  - ensure `ResolveCustomReferences` target executes before packages are used
  - `ResolveAssemblyReferences` and `ResolveAssemblyReferencesDesignTime` targets run too late
    - e.g. failed builds of Microsoft.AspNetCore.WebUtilities or Microsoft.AspNetCore.Hosting when building from root
  - add `GetReferenceProjectTargetPathMetadata` for ease of use as well as reliability
    - avoids extra work to get existing metadata (ref/ projects execute no tasks in this target)

  nit: rename `@(ReferenceProjectMetadata)` -> `@(ReferenceProjectTargetPathMetadata)`

* Ensure `GetTargetPathMetadata` target runs with `$(TargetFramework)` set
  - ref/ projects all multi-target and otherwise no-op this target

* Revert "Fix various "Type or namespace not found" errors (#20736)"
  - change is no longer needed with other fixes in this PR

  This reverts commit 8218d6e0e7.
2020-05-13 11:31:09 -07:00
Ryan Nowak b194b6c90a
Fix use of precedence in endpoint routing DFA (#20801) (#21200)
* Fix use of precedence in endpoint routing DFA

Fixes: #18677
Fixes: #16579

This is a change to how sorting is use when building endpoint routing's graph of
nodes that is eventually transformed into the route table. There were
bugs in how this was done that made it incompatible in some niche
scenarios both with previous implementations and how we describe the
features in the abstract.

There are a wide array of cases that might have been impacted by this
bug because routing is a pattern language. Generally the bugs will involve a
catch-all, and some something that changes ordering of templates.

Issue #18677 has the simplest repro for this, the following templates
would not behave as expected:

```
a/{*b}
{a}/{b}
```

One would expect any URL Path starting with `/a` to match the first
route, but that's not what happens.

---

The change supports an opt-in via the following AppContext switch:

```
Microsoft.AspNetCore.Routing.UseCorrectCatchAllBehavior
```

Set to true to enable the correct behavior.

---

The root cause of this bug was an issue in how the algorithm used to be
build the DFA was designed. Specifically that it uses a BFS to build the
graph, and it uses an up-front one-time sort of endpoints in order to
drive that BFS.

The building of the graph has the expectation that at each level, we
will process **all** literal segments (`/a`) and then **all** parameter
segments (`/{a}`) and then **all** catch-all segments (`/{*a}`). Routing
defines a concept called *precedence* that defines the *conceptual*
order in while segments types are ordered.

So there are two problems:

- We sort based on criteria other than precedence (#16579)
- We can't rely on a one-time sort, it needs to be done at each level
(#18677)

---

The fix is to repeat the sort operation at each level and use precedence
as the only key for sorting (as dictated by the graph building algo).

We do a sort of the matches of each node *after* building the
precedence-based part of the DFA, based on the full sorting criteria, to
maintain compatibility.

* Add test
2020-05-13 11:12:14 -07:00
Brennan 8ff1cb906d
Set certificate in some Kestrel tests to avoid global machine state (#21516) (#21542) 2020-05-13 11:11:02 -07:00
William Godbe 9e2a480925
[release/3.1] Add .version file to shared framework zip (#21548)
* Add .version file to shared framework zip

* Fix test
2020-05-13 10:59:55 -07:00
William Godbe f0e8ccf2c8
Merge pull request #21760 from dotnet/wtgodbe/315
Update branding to 3.1.5
2020-05-13 10:55:53 -07:00
Will Godbe ca52b8faf2 Update baselines 2020-05-13 09:30:19 -07:00
Will Godbe 58bb85a1b0 Update branding to 3.1.5 2020-05-12 16:04:46 -07:00
Will Godbe 736e57f402 Remove int feeds from nuget.config 2020-05-12 16:03:04 -07:00
Will Godbe a14119a308 Merge remote-tracking branch 'internal/internal/release/3.1' into wtgodbe/315 2020-05-12 16:02:32 -07:00
John Luo bf9fbc02a2
Merge pull request #21227 from dotnet/johluo/win-arm64-3.1
Build aspnetcore for win-arm64 (#19317)
2020-05-12 09:04:01 -07:00
John Luo 2ec9b2e5d1 Use the correct crossgen 2020-04-28 17:23:53 -07:00
John Luo 05f58bbbfa Build aspnetcore for win-arm64 (#19317)
* Build for win-arm64

* Missed file

* Disable Selenium tests on arm64

* Include installers in the uploaded artifacts
2020-04-27 00:34:47 -07:00
DotNet Bot 35628a6780 Merged PR 7537: [internal/release/3.1] Update dependencies from 1 repositories
This pull request updates the following dependencies

[marker]: <> (Begin:Coherency Updates)
## Coherency Updates

The following updates ensure that dependencies with a *CoherentParentDependency*
attribute were produced in a build used as input to the parent dependency's build.
See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)

- **System.Net.Http.WinHttpHandler**: from 4.7.0 to 4.7.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)

[marker]: <> (End:Coherency Updates)

[marker]: <> (Begin:7bf32a0c-3505-43af-42b0-08d79559e63d)
## From https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore-tooling
- **Subscription**: 7bf32a0c-3505-43af-42b0-08d79559e63d
- **Build**: 20200422.2
- **Date Produced**: 4/22/2020 7:47 PM
- **Commit**: a8242d79df31dbff528c185dd62c290b7cc262de
- **Branch**: refs/heads/internal/release/3.1
- **Updates**:
  - **Microsoft.AspNetCore.Mvc.Razor.Extensions**: from 3.1.4 to 3.1.4
  - **Microsoft.AspNetCore.Razor.Language**: from 3.1.4 to 3.1.4
  - **Microsoft.CodeAnalysis.Razor**: from 3.1.4 to 3.1.4
  - **Microsoft.NET.Sdk.Razor**: from 3.1.4 to 3.1.4
  - **System.Net.Http.WinHttpHandler**: from 4.7.0 to 4.7.1

[marker]: <> (End:7bf32a0c-3505-43af-42b0-08d79559e63d)
2020-04-22 23:59:27 +00:00
Will Godbe 335829259d Merged PR 7529: Update dependencies from efcore
Update dependencies from efcore
2020-04-22 20:52:23 +00:00
Will Godbe 2cad2edc3f Merged PR 7488: Downgrade WinHttpHandler to 4.7.0 2020-04-21 20:27:42 +00:00
DotNet Bot 67e04394e9 Merged PR 7373: [internal/release/3.1] Update dependencies from 1 repositories
This pull request updates the following dependencies

[marker]: <> (Begin:7bf32a0c-3505-43af-42b0-08d79559e63d)
## From https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore-tooling
- **Subscription**: 7bf32a0c-3505-43af-42b0-08d79559e63d
- **Build**: 20200415.2
- **Date Produced**: 4/15/2020 6:12 PM
- **Commit**: a49970f2f15efb27b91541bb4b94581693c92b8d
- **Branch**: refs/heads/internal/release/3.1
- **Updates**:
  - **Microsoft.AspNetCore.Mvc.Razor.Extensions**: from 3.1.4 to 3.1.4
  - **Microsoft.AspNetCore.Razor.Language**: from 3.1.4 to 3.1.4
  - **Microsoft.CodeAnalysis.Razor**: from 3.1.4 to 3.1.4
  - **Microsoft.NET.Sdk.Razor**: from 3.1.4 to 3.1.4

[marker]: <> (End:7bf32a0c-3505-43af-42b0-08d79559e63d)
2020-04-16 17:36:54 +00:00
Will Godbe 536f2e5cc3 Merged PR 7173: Update dependencies from EFCore
Update dependencies from EFCore
2020-04-15 22:38:56 +00:00
dotnet-bot 4f307c40be Merge in 'release/3.1' changes 2020-04-15 19:43:15 +00:00
David Fowler 1b99352ec7
Don't re-use DefaultHttpContext if IHttpContextAccessor is in use (#15049) (#20844)
* Don't re-use DefaultHttpContext if IHttpContextAccessor is in use
- Consumers may still get null or an ODE but will never end up with data from a different request.
- Make sure an ODE is thrown from all properties on HttpContext after the request is over.
2020-04-15 12:41:59 -07:00
dotnet-bot 12c9727281 Merge in 'release/3.1' changes 2020-04-15 19:27:41 +00:00
Brennan 5353ce9509
Use SemVer1 for SiteExtension (#20839) 2020-04-15 12:26:21 -07:00
DotNet Bot c53e15e833 Merged PR 6988: [internal/release/3.1] Update dependencies from 1 repositories
This pull request updates the following dependencies

[marker]: <> (Begin:7bf32a0c-3505-43af-42b0-08d79559e63d)
## From https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore-tooling
- **Subscription**: 7bf32a0c-3505-43af-42b0-08d79559e63d
- **Build**: 20200414.7
- **Date Produced**: 4/15/2020 5:37 AM
- **Commit**: 06ade7a064cbdcf80aa6457541c1a99b7e39b5a8
- **Branch**: refs/heads/internal/release/3.1
- **Updates**:
  - **Microsoft.AspNetCore.Mvc.Razor.Extensions**: from 3.1.3 to 3.1.4
  - **Microsoft.AspNetCore.Razor.Language**: from 3.1.3 to 3.1.4
  - **Microsoft.CodeAnalysis.Razor**: from 3.1.3 to 3.1.4
  - **Microsoft.NET.Sdk.Razor**: from 3.1.3 to 3.1.4

[marker]: <> (End:7bf32a0c-3505-43af-42b0-08d79559e63d)

[marker]: <> (Begin:Coherency Updates)
## Coherency Updates

The following updates ensure that dependencies with a *CoherentParentDependency*
attribute were produced in a build used as input to the parent dependency's build.
See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)

- **Microsoft.AspNetCore.Analyzer.Testing**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- **Microsoft.AspNetCore.BenchmarkRunner.Sources**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- **Microsoft.Extensions.ActivatorUtilities.Sources**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- **Microsoft.Extensions.CommandLineUtils.Sources**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- **Microsoft.Extensions.HashCodeCombiner.Sources**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- **Microsoft.Extensions.HostFactoryResolver.Sources**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- **Microsoft.Extensions.Logging.Testing**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- **Microsoft.Extensions.ParameterDefaultValue.Sources**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- **Microsoft.Extensions.TypeNameHelper.Sources**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- **Microsoft.Extensions.ValueStopwatch.Sources**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- **Microsoft.NETCore.App.Internal**: from 3.1.4-servicing.20181.2 to 3.1.4-servicing.20202.1 (parent: Microsoft.Extensions.Logging)
- **Internal.AspNetCore.Analyzers**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- **Microsoft.AspNetCore.Testing**: from 3.1.4-servicing.20181.5 to 3.1.4-servicing.202 ...
2020-04-15 18:12:52 +00:00
Pranav Krishnamoorthy 23c02ef9a9 Merged PR 7269: Avoid caching JsonSerializer
Avoid caching JsonSerializer
2020-04-14 22:38:24 +00:00
dotnet-bot 45a57eac45 Merge in 'release/3.1' changes 2020-04-14 20:46:41 +00:00
BrennanConroy 260de2c10b Add BuildNumber to SiteExtension build 2020-04-14 13:42:25 -07:00
dotnet-bot a2428c7175 Merge in 'release/3.1' changes 2020-04-14 20:01:33 +00:00
William Godbe 01429973ee
[release/3.1] Pass access token as query string when running SignalR in the browser (#20466)
* Pass access token as query string when running SignalR in the browser

* WEBASSEMBLY -> BROWSER
2020-04-14 12:59:06 -07:00
dotnet-maestro[bot] 8dc0b49ea7
[release/3.1] Update dependencies from dotnet/arcade (#20815)
* Update dependencies from https://github.com/dotnet/arcade build 20200413.4

- Microsoft.DotNet.Arcade.Sdk: 1.0.0-beta.20113.5 -> 1.0.0-beta.20213.4
- Microsoft.DotNet.GenAPI: 1.0.0-beta.20113.5 -> 1.0.0-beta.20213.4
- Microsoft.DotNet.Helix.Sdk: 2.0.0-beta.20113.5 -> 2.0.0-beta.20213.4

Dependency coherency updates

- Microsoft.AspNetCore.Analyzer.Testing: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.BenchmarkRunner.Sources: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ActivatorUtilities.Sources: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.CommandLineUtils.Sources: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HashCodeCombiner.Sources: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HostFactoryResolver.Sources: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Testing: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ParameterDefaultValue.Sources: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.TypeNameHelper.Sources: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ValueStopwatch.Sources: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.NETCore.App.Internal: 3.1.4-servicing.20181.2 -> 3.1.4-servicing.20202.1 (parent: Microsoft.Extensions.Logging)
- Internal.AspNetCore.Analyzers: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.Testing: 3.1.4-servicing.20181.5 -> 3.1.4-servicing.20202.2 (parent: Microsoft.EntityFrameworkCore)

* Fixup nuget.config

* Only update from Arcade

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: William Godbe <wigodbe@microsoft.com>
2020-04-14 19:58:09 +00:00
dotnet-bot e3bd613f37 Merge in 'release/3.1' changes 2020-04-14 18:01:07 +00:00
William Godbe 8218d6e0e7
Fix various "Type or namespace not found" errors (#20736)
* Add manual packageReferences where needed

* Add more explicit packageRefs

* Fix typo

* undo changes to blazor.server.js

* Fix typo

* Don't gen ref assemblies in CodeCheck
2020-04-14 10:57:26 -07:00
Pranav Krishnamoorthy 8d09403118 Merged PR 7268: Avoid caching JsonSerializer
Avoid caching JsonSerializer
2020-04-14 17:49:57 +00:00
dotnet-bot a22e71fff9 Merge in 'release/3.1' changes 2020-04-10 19:26:55 +00:00
Pranav K e4b9a28416 Turn off SDL validation 2020-04-10 12:25:34 -07:00
dotnet-bot 7633def913 Merge in 'release/3.1' changes 2020-04-09 23:02:44 +00:00
William Godbe 546640876f
Pin 2 CoreFx dependencies (#20695) 2020-04-09 16:01:28 -07:00
dotnet-bot a9d1e2a26f Merge in 'release/3.1' changes 2020-04-06 23:20:44 +00:00
Doug Bunting 31203f0a99
Merge/release/2.1 to release/3.1 (#20578)
- no-op merge
2020-04-06 16:17:50 -07:00
Doug Bunting bf61530887
Merge remote-tracking branch 'origin/release/2.1' into merge/release/2.1-to-release/3.1 2020-04-06 16:15:32 -07:00
dotnet-bot a68e5e2c42 Merge in 'release/3.1' changes 2020-04-05 22:31:12 +00:00
Doug Bunting 5019088694
[3.1] Remove Code_check job from publish-build-assets.yml `dependsOn` (#20558)
- nit: remove redundant conditions for easier reading
2020-04-05 15:29:43 -07:00
dotnet-bot 95e1891b7b Merge in 'release/3.1' changes 2020-04-05 03:20:02 +00:00