Commit Graph

40830 Commits

Author SHA1 Message Date
Pranav K ae8f67f201
Use randomized ports in dotnet-serve 2020-06-09 19:20:12 -07:00
Pranav K dd62a699f7
Merge remote-tracking branch 'origin/release/3.1' into prkrishn/merge-blazor-wasm 2020-06-09 16:54:36 -07:00
William Godbe 99e90f5782
Produce non-stable version of targeting pack (#22372)
* Produce non-stable version of targeting pack

* Fix tag

* Fix indentation

* Fixup proj file

* Move Internal proj to separate folder

* Remove redundant proj

* Start moving files

* finish moving files

* Set IsReferenceAssemblyProject=true in targeting pack proj
2020-06-09 16:40:00 -07:00
William Godbe d23d69570d
Fix path for PoliCheckExclusions.xml (#22088) 2020-06-09 16:39:42 -07:00
William Godbe aa806b9320
Merge pull request #22427 from dotnet-maestro-bot/merge/release/2.1-to-release/3.1
[automated] Merge branch 'release/2.1' => 'release/3.1'
2020-06-09 16:39:23 -07:00
Will Godbe 10d1f88b29 Remove unneeded stuff 2020-06-09 16:39:06 -07:00
Will Godbe 5267e21dbb Merge 2020-06-09 16:29:17 -07:00
Justin Kotalik b19d9d9540
Enable control flow guard for IIS dlls (#22609) 2020-06-09 16:26:18 -07:00
William Godbe 24b9e84276
Merge pull request #22731 from dotnet/wtgodbe/316
Update branding to 3.1.6
2020-06-09 16:15:59 -07:00
Will Godbe f610ec4667 Update baseline 2020-06-09 14:05:12 -07:00
Will Godbe efdd24a0de Update baseline 2020-06-09 13:10:40 -07:00
Will Godbe 626bf3d697 Update branding to 3.1.6 2020-06-09 12:56:53 -07:00
Will Godbe 8e3da952cd Remove darc-int feeds 2020-06-09 12:56:30 -07:00
Pranav K 11ac23c65d
Changes per PR 2020-06-08 22:19:34 -07:00
Safia Abdalla 0394a4520e
Fix logging config and output redirection in DebugProxy (#22157)
* Fix logging config and output redirection in DebugProxy
* Log all messages from DebugProxy
2020-05-27 10:32:15 -07:00
Pranav K 53edc767a7
Listen to the internet 2020-05-27 08:58:44 -07:00
Pranav K 81007200b5
Quality of life improvements 2020-05-26 18:26:07 -07:00
Doug Bunting 9e38dcf1fc Add missing archive baselines for 2.1.18 release 2020-05-22 11:58:45 -07:00
Pranav K ae2017f31e
Changes to allow building in 3.1 branch
* Undo overzealous merge choices
* Undo temporary changes applied when part of the repo was building in the blazor-wasm branch
* Skip SPA template tests in 3.1
2020-05-22 09:20:54 -07:00
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
William Godbe fca37bf5ea
[release/2.1] Make .msi GUIDs unique (#21803)
* Make .msi GUIDs unique

* Fix GuidInputs
2020-05-21 12:30:39 -07: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
William Godbe 26365e7839
Update branding (#22046) 2020-05-20 13:40:46 -07: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
Pranav K 9949ab46c3
Fixup JS (#21922)
* Fixup JS

* Avoid monkey patching
2020-05-18 13:21:31 -07:00
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