Commit Graph

40803 Commits

Author SHA1 Message Date
Pranav K 8efeefb3d1
Merge branch 'blazor-wasm' into prkrishn/merge-blazor-wasm 2020-05-16 21:10:28 -07:00
Pranav K bb0f54f954
Merge commit '96db48550802b5db8f32bdc05ed0b805a9e66ef7' into prkrishn/merge-blazor-wasm 2020-05-15 10:13:18 -07:00
Pranav K 8966415b6b
Merge commit 'bbafecc0535e1de3264845e51ea8b3d18eb3ca61' into prkrishn/merge-blazor-wasm 2020-05-15 10:12:32 -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
Pranav K 158126c27a
Add a scenario with timers (#19626)
* Add a scenario for measuring navigating between components

* Apply suggestions from code review

Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>

Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2020-05-11 10:46:26 -07:00
Pranav K 22522a0d78
Update to mono sources http://github.com/mono/mono/commit/57dcba253 (#21700) 2020-05-11 10:40:12 -07:00
dotnet-maestro[bot] e07b939ce6
Update dependencies from https://github.com/dotnet/blazor build 20200511.1 (#21702)
- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0 -> 3.2.0

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-05-11 17:02:54 +00:00
Pranav K 2ca2a2d405
Update debugger to 1a6e64a938 (#21524) 2020-05-06 00:17:48 +00:00
dotnet-maestro[bot] 4e7665a27e
Update dependencies from https://github.com/dotnet/blazor build 20200505.1 (#21519)
- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0 -> 3.2.0

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-05-05 22:22:12 +00:00
Pranav K 4f5bf164df
Show debugger attach message (#21483)
Also spruce up branding
2020-05-05 09:06:55 -07:00
Pranav K 9e412f4c7f
Do not attempt to load satellite assemblies until after MainAsync has executed (#21476)
WASM runtime does not like it when you attempt to load satellite assemblies
for two sets of non-neutral cultures - the first is always loaded. This change
defers loading satellite assemblies until after Program.Main has executed
and the developer has configured the culture for the application.

Fixes https://github.com/dotnet/aspnetcore/issues/21433
2020-05-05 09:06:42 -07:00
Pranav K cc2b64ec5e
Re-use the Blazor app for stress runs (#21078)
* Re-use the Blazor app for stress runs

Our current stress runs re-used the perf tests which recreated the blazor app on each run. Perf runs are meant to run
and be done, however, we want stress apps to be long lasting to capture things like memory leaks.

This change creates a fork in the tests to support stress runs that re-use the app between runs.
2020-05-04 09:02:05 -07:00
dotnet-maestro[bot] 22d4dcd353
Update dependencies from https://github.com/dotnet/arcade build 20200430.5 (#21456)
- Microsoft.DotNet.Arcade.Sdk: 1.0.0-beta.20221.2 -> 1.0.0-beta.20230.5
- Microsoft.DotNet.GenAPI: 1.0.0-beta.20221.2 -> 1.0.0-beta.20230.5
- Microsoft.DotNet.Helix.Sdk: 2.0.0-beta.20221.2 -> 2.0.0-beta.20230.5

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-05-04 12:45:09 +00:00
Safia Abdalla 2a97de0344
Fix intermediate path for service worker assets (#21128) 2020-04-30 15:03:16 -07:00
Pranav K 147f5758c6
Ensure satellite resources are published when building in VS (#21347)
* Ensure satellite resources are published when building in VS

Fixes https://github.com/dotnet/aspnetcore/issues/21355
2020-04-30 14:57:04 -07:00
Steve Sanderson 4438f33304 Update ws-proxy to match runtime in use (from Mono commit cc6d4bf6cfce33ae3b41f74ac14ac2cb770603d5) 2020-04-30 16:56:25 +01:00
dotnet-maestro[bot] 9cb92dbefe
Update dependencies from https://github.com/dotnet/blazor build 20200428.1 (#21303)
- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0 -> 3.2.0

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-04-29 19:01:57 +00:00
John Luo 2ec9b2e5d1 Use the correct crossgen 2020-04-28 17:23:53 -07:00
dotnet-maestro[bot] b67a90343d
Update dependencies from https://github.com/dotnet/corefx build 20200427.1 (#21263)
- System.Net.Http.Json: 3.2.0-rc1.20224.1 -> 3.2.0

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-04-27 22:12:24 +00:00
Pranav K b837ebf206
Produce RTM branded blazor packages (#21257) 2020-04-27 13:37:33 -07:00
dotnet-maestro[bot] a3bbe2f038
Update dependencies from https://github.com/dotnet/blazor build 20200427.1 (#21255)
- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0-rc1.20222.2 -> 3.2.0

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-04-27 20:10:22 +00:00
dotnet-maestro[bot] 7fd744ede0
Update dependencies from https://github.com/dotnet/arcade build 20200421.2 (#21234)
- Microsoft.DotNet.Arcade.Sdk: 1.0.0-beta.20218.1 -> 1.0.0-beta.20221.2
- Microsoft.DotNet.GenAPI: 1.0.0-beta.20218.1 -> 1.0.0-beta.20221.2
- Microsoft.DotNet.Helix.Sdk: 2.0.0-beta.20218.1 -> 2.0.0-beta.20221.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-04-27 12:46:04 +00: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-maestro[bot] 3f31c8de52
Update dependencies from https://github.com/dotnet/corefx build 20200424.1 (#21190)
- System.Net.Http.Json: 3.2.0-rc1.20217.1 -> 3.2.0-rc1.20224.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-04-24 19:24:14 +00:00
Safia Abdalla 40f0cdfa3c
Fix up template generation for config (#21147) 2020-04-23 12:17:12 -07:00
Pranav K 5da314644a Add an option to allow trimming collation data 2020-04-23 12:08:21 +01:00
dotnet-maestro[bot] 7cb9b7f733
Update dependencies from https://github.com/dotnet/blazor build 20200422.2 (#21129)
- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0-rc1.20222.1 -> 3.2.0-rc1.20222.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-04-23 10:40:28 +00: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
dotnet-maestro[bot] df332c211f
Update dependencies from https://github.com/dotnet/blazor build 20200422.1 (#21119)
- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0-rc1.20221.1 -> 3.2.0-rc1.20222.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-04-22 23:17:19 +00:00
Will Godbe 335829259d Merged PR 7529: Update dependencies from efcore
Update dependencies from efcore
2020-04-22 20:52:23 +00:00
Larry Ewing 5dc5f6c230
Silence the runtime output from the debugger (#20975)
* Silence the runtime output from the debugger

* Update src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts

Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-04-22 11:15:49 -07:00
dotnet-maestro[bot] 98bbb3ba3e
Update dependencies from https://github.com/dotnet/blazor build 20200421.1 (#21074)
- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0-rc1.20220.1 -> 3.2.0-rc1.20221.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-04-21 23:39:23 +00:00
Pranav K 25f89e22f3
Update dbgproxy to 70ff920a89 (#21075) 2020-04-21 16:09:45 -07:00
Will Godbe 2cad2edc3f Merged PR 7488: Downgrade WinHttpHandler to 4.7.0 2020-04-21 20:27:42 +00:00
dotnet-maestro[bot] b8f7dde377
[blazor-wasm] Update dependencies from dotnet/arcade dotnet/blazor (#20972)
* Update dependencies from https://github.com/dotnet/blazor build 20200417.2

- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0-rc1.20217.1 -> 3.2.0-rc1.20217.2

* Update dependencies from https://github.com/dotnet/blazor build 20200418.1

- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0-rc1.20217.1 -> 3.2.0-rc1.20218.1

* Update dependencies from https://github.com/dotnet/arcade build 20200418.1

- Microsoft.DotNet.Arcade.Sdk: 1.0.0-beta.20208.8 -> 1.0.0-beta.20218.1
- Microsoft.DotNet.GenAPI: 1.0.0-beta.20208.8 -> 1.0.0-beta.20218.1
- Microsoft.DotNet.Helix.Sdk: 2.0.0-beta.20208.8 -> 2.0.0-beta.20218.1

* Update dependencies from https://github.com/dotnet/blazor build 20200420.1

- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0-rc1.20217.1 -> 3.2.0-rc1.20220.1

* Update to BROWSER RID

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-04-21 20:19:04 +00:00
Pranav K 2612ec89b2
Updating build to https://github.com/mono/mono/commit/ae8e4b5b044 (#21034) 2020-04-21 06:53:34 -07:00
Pranav K 6c23730fa8
Compute SHA256s for blazor.boot.json in parallel (#21021)
* Compute SHA256s for blazor.boot.json in parallel
2020-04-20 17:25:24 -07:00