Commit Graph

20835 Commits

Author SHA1 Message Date
Sean Reeser 456ee1622c Merge commit '67acc3d331454956fc06d6de2218a625e3e596f8' into internal-merge-5.0-2021-06-08-1100 2021-06-08 11:01:08 -07:00
Doug Bunting 57d5a46492
[release/5.0] Expose all references when not restoring (#33201)
* [release/5.0] Expose all references when not restoring
- backport of 0b0bed3eb89a (#32718)

* Expose all references when not restoring
  - use empty `$(MSBuildRestoreSessionId)` to determine when contributing to dependency graph
* Remove extra direct references
  - should now be part of the dependency graph automatically
* Avoid errors about non-shared Fx references
  - not a problem unless executing `restore` target
* Special case source builds
2021-06-03 22:39:02 -07:00
github-actions[bot] baca18bdc8
Include platform in SharedFx bundle name (#32969)
Co-authored-by: Will Godbe <wigodbe@microsoft.com>
2021-06-02 09:13:14 -07:00
Hao Kung 9558fe40d2
Explicitly set packable for spec tests (#32475)
* Explicitly set packable for spec tests

* Update Microsoft.AspNetCore.Identity.Specification.Tests.csproj
2021-06-01 14:57:13 -07:00
James Newton-King bfc145d038
HTTP/2: Ignore additional RST_STREAM frames sent to stream (#32449) (#32478) 2021-06-01 14:57:01 -07:00
Doug Bunting c2b5828941
[release/5.0] Update submodules (#32632)
* [release/5.0] Update submodules
- be explicit about what we're tracking
- get the latest from the remotes
  - important for MessagePack-CSharp because it was one commit back
  - yeah, we wanted that commit

nit:
- change googletest name to match path
  - `set-branch` and other updates do weird things otherwise
  - but, this requires another `git submodule update --init` in some cases

* Find the `DoAll` symbol
2021-06-01 14:41:45 -07:00
Doug Bunting 18409d9120
[release/5.0] Clean out Ubuntu 16.04 testing (#33103)
* [release/5.0] Clean out Ubuntu 16.04 testing
- cherry-pick of #32894

* Clean out Ubuntu 16.04 testing
  - use Ubuntu 18.04 agents for testing in Docker containers on Helix
  - also move to supported version of Fedora

* Support added `msbuild` arguments in RunHelix.ps1
  - bring in part of 0551cef40f5f (#32554)
  - no reason to maintain major differences from main version of script
    - slight difference is we still test on Windows.10.Amd64.Open by default here

nits:
- clean up a few old mentions of Centos and Fedora testing
- fix `%(Platform)` metadata for OSX `@(HelixAvailableTargetQueue)` items
- pick up a small bit of the master -> main renaming improvements
- use `[switch]` instead of `[bool]` in RunHelix.ps1 parameters
2021-06-01 14:41:00 -07:00
Brennan 091e092a38
[release/5.0] Update Chrome driver
- backport of e7b5aa6f713e (#33019)
2021-06-01 13:24:14 -07:00
Hao Kung 663895377e
[release/5.0] Update cert that became valid and broke tests
- backport of 2e20babb19f0 (#32812)
- dupe of #33033

* Update cert to not be valid for 50 years

* Make cert valid in 10 years

* Delete unused copy of certs, update right one

* Skip test for now
2021-06-01 13:23:57 -07:00
William Godbe 028ea74958
[release/5.0] Resolve credscan bugs (#32656)
* Resolve conflicts

* Resolve remaining credscan bugs (#31157)

* Resolve final credscan bug (#31196)

Co-authored-by: Kevin Pilch <kevinpi@microsoft.com>
2021-05-20 10:35:01 -07:00
Justin Kotalik 356776891c Merged PR 14745: Call RaiseEvent later
For 5.0
2021-05-12 16:41:45 +00:00
Tanay Parikh b124d508b8
Stop throwing exception when writing 0 length buffers (#32277) (#32470)
## Description
Update guard logic to permit writing 0 length buffers. This can happen in certain globalized scenarios (ex. `¿` with Portugese) where the first char needs to be encoded.

Patch https://github.com/dotnet/aspnetcore/issues/31299 for 5.0 by cherry-picking the https://github.com/dotnet/aspnetcore/pull/32277 squash commit.


## Customer Impact
Writing 0-length char buffers leads to an ArgumentOutOfRangeException. This may occur in a globalization context with certain chars such as `¿`.

https://github.com/dotnet/aspnetcore/issues/31299#issuecomment-833078949

Also impacts Orchard: https://github.com/dotnet/aspnetcore/issues/31299#issue-842325059


## Regression?
- [ ] Yes
- [x] No

[If yes, specify the version the behavior has regressed from]

## Risk
- [ ] High
- [ ] Medium
- [x] Low

Low risk as we've just updated the logic slightly to permit 0 length buffers.

## Verification
- [x] Manual (required)
- [x] Automated

## Packaging changes reviewed?
- [ ] Yes
- [ ] No
- [x] N/A


Addresses https://github.com/dotnet/aspnetcore/issues/31299
2021-05-08 20:26:58 -07:00
Doug Bunting e6998cb7bb
[release/5.0] Remove MusicStore (#31818)
nit: rearrange the Framework folder in our solution
- remove the single-project App.Runtime folder
- add new App.Ref folder
- add Microsoft.AspNetCore.App.Ref.Internal.csproj to the solution in new App.Ref folder
2021-05-04 16:05:13 -07:00
Brennan 2d1e9e007f
[Java] Safely call onError on Subjects (#31779) (#32026) 2021-05-04 16:05:05 -07:00
Will Godbe 7177a13a5f Merge commit 'b7a2ec8c7ed6b48857af0a69688a73e8c14fe6cb' into wtgodbe/505Merge 2021-04-13 10:12:43 -07:00
Brennan 2928cd7483
[SignalR TS] Set keep alive timer in receive loop (#31300) (#31627) 2021-04-12 08:58:58 -07:00
Stephen Halter 79dbbcad2d
Quarantine one failing test (#31045) (#31296)
- #31044
- `RazorPagesTemplate_RazorRuntimeCompilation_BuildsAndPublishes()`

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2021-04-07 18:07:30 -07:00
Brennan dfbbc40f67
Fix arguments order for call of HeartbeatSlow (#28698) (#31080)
Co-authored-by: Roman Marusyk <Marusyk@users.noreply.github.com>
2021-04-07 16:07:47 -07:00
Brennan 00c3e7cd85
[SignalR TS] Fix permanent Disconnecting state (#30948) (#31253) 2021-04-07 16:07:14 -07:00
Stephen Halter 9facd9b193
Still send 100 Continue with null MinRequestBodyDataRate (#31568) 2021-04-07 16:06:11 -07:00
Pranav K dec60c8e37
Fix null ref in SyntaxTokenCache (#30978) (#30988)
Fixes https://github.com/dotnet/aspnetcore/issues/27154
2021-04-07 15:02:49 -07:00
William Godbe 0fa43be033
Set cab name for TargetingPack.wixproj (#30975) 2021-04-07 09:53:01 -07:00
Matt Mitchell 755e6f1310 Merge remote-tracking branch 'upstream/release/5.0' into internal/release/5.0 2021-03-12 14:10:25 -08:00
Pranav K f3c9c53686
Update MessagePack-CSharp (#30608) 2021-03-10 09:55:17 -08:00
Brennan 586b8bb5af
[Java] Fix skip negotiate null ref (#30482)
* [Java] Fix skip negotiate null ref
* comment
* fixup
* minimize change
2021-03-10 09:43:12 -08:00
Doug Bunting 5b8aceff38
Merge commit 'e882394a7bb38930da748291fe2c2ceaa6a80588' into 'release/5.0' 2021-03-09 10:56:06 -08:00
Tanay Parikh 59875890f3
Update selenium version (#30576) (#30621)
* Update selenium version

* Update more versions

* Update Versions.props

* Update selenium-config.json

* Update Versions.props

Co-authored-by: John Luo <johluo@microsoft.com>
2021-03-04 16:10:41 -08:00
DotNet Bot 324cf99ce3 Merged PR 12929: [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-runtime
This pull request updates the following dependencies

[marker]: <> (Begin:d7d10d70-26ab-4663-2902-08d89c6af29b)
## From https://dev.azure.com/dnceng/internal/_git/dotnet-runtime
- **Subscription**: d7d10d70-26ab-4663-2902-08d89c6af29b
- **Build**: 20210216.14
- **Date Produced**: 2/16/2021 11:36 PM
- **Commit**: f27d33729518f5aa478aa818b7b4f54a4d50bef1
- **Branch**: refs/heads/internal/release/5.0

[DependencyUpdate]: <> (Begin)

- **Updates**:
  - **System.Drawing.Common**: [from 5.0.2 to 5.0.2][1]
  - **Microsoft.NETCore.App.Internal**: [from 5.0.4-servicing.21116.6 to 5.0.4-servicing.21116.14][1]
  - **Microsoft.NETCore.App.Runtime.win-x64**: [from 5.0.4 to 5.0.4][1]
  - **Microsoft.NETCore.BrowserDebugHost.Transport**: [from 5.0.4-servicing.21116.6 to 5.0.4-servicing.21116.14][1]
  - **System.Text.Encodings.Web**: [from 5.0.0 to 5.0.1][2]

[1]: https://dev.azure.com/dnceng/internal/_git/dotnet-runtime/branches?baseVersion=GC10fccb8&targetVersion=GCf27d337&_a=files
[2]: https://dev.azure.com/dnceng/internal/_git/dotnet-runtime/branches?baseVersion=GCcf258a1&targetVersion=GCf27d337&_a=files

[DependencyUpdate]: <> (End)

[marker]: <> (End:d7d10d70-26ab-4663-2902-08d89c6af29b)
2021-02-17 20:43:45 +00:00
Brennan 2cc9c2d4f3
[release/5.0] Update Node dependencies for SignalR (#30036)
* Update Node dependencies for SignalR

* rebase
2021-02-11 13:39:07 -08:00
Steve Sanderson 5b4f3003af
Fix E2E test use of logs (#27114) (#27166)
* Restore support for logs in E2E tests. Fixes #25803

* Revert earlier workaround

* Update message in assertion

* Remove redundant script references
2021-02-11 13:30:17 -08:00
William Godbe efa72d92c3
Add Custom UI strings for en-us bundle (#30108) 2021-02-11 12:33:06 -08:00
Phil Henning c097bb9ce7
Update localization for templates. (#30101)
# Conflicts:
#	src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/es-ES/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/pt-BR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/ru-RU/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/es-ES/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/pt-BR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/ru-RU/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/cs-CZ/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/de-DE/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/es-ES/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/ja-JP/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/pl-PL/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/pt-BR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/ru-RU/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/tr-TR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/zh-CN/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/zh-TW/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/cs-CZ/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/de-DE/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/es-ES/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/ja-JP/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/pl-PL/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/pt-BR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/ru-RU/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/tr-TR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/zh-CN/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/zh-TW/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/.template.config/ru-RU/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/.template.config/zh-TW/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/Worker-FSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/Worker-FSharp/.template.config/ru-RU/strings.json
2021-02-11 10:58:32 -08:00
Safia Abdalla 230c9ca5aa
Update JavaScript dependencies for Web.JS project (#30054) 2021-02-11 10:27:51 -08:00
Safia Abdalla 42ccba7f10
Update Node dependencies for Angular template (#29833) 2021-02-10 11:17:37 -08:00
Pranav K fbdf5c5b1c
Stop building dotnet-watch in AspNetCore (#29722)
* Stop building dotnet-watch in AspNetCore

* PR feedback
2021-02-09 18:43:18 -08:00
Sayed Ibrahim Hashimi 6c22e5a2f4
Update appSettings.json to have a comment for org auth cases (#29610)
* adding comment into appSettings.json for org auth scenarios

* fix to escape url
2021-02-09 18:43:06 -08:00
Chris Ross 9ab6dbd593
Fix Server_RegisterUnavailablePrefix_ThrowsActionableHttpSysException #26156 (#26203) (#29368) 2021-02-09 18:42:22 -08:00
DotNet Bot d17c7b5d3d [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-runtime
- Correct System.Diagnostics.EventLog.Messages workaround for servicing

 - Update tests to expect System.Diagnostics.EventLog.Messages

 - Merge remote-tracking branch 'dnceng/internal/release/5.0' into darc-internal/release/5.0-109c1e6f-a65e-448d-b842-9621f60826f6
2021-01-15 21:57:55 +00:00
dotnet-bot 56200466cc Merge in 'release/5.0' changes 2021-01-15 19:23:52 +00:00
Brennan 264e185bdc
[Java] Catch exceptions from users and change close state correctly (#29249)
* [Java] Catch exceptions from users and change close state correctly

* log

* link
2021-01-15 11:21:48 -08:00
Doug Bunting 940fed892b
Merge branch 'release/5.0' into 'internal/release/5.0' 2021-01-14 14:14:55 -08:00
Pranav K fe37d39281
Produce correct blazor.boot.json when using StaticWebAssetBasePath (#29293) 2021-01-14 13:11:08 -08:00
Matt Mitchell ae430f3dab Merged PR 12027: [internal/release/5.0] Feed update
Feed update
2021-01-14 15:33:07 +00:00
William Godbe fc451917f8
[release/5.0] Don't include RuntimeList.xml in sharedFx archive (#29109)
* Don't include RuntimeList.xml in sharedFx archive

* Don't output RuntimeList.xml to SharedFx dir

* Add comment
2021-01-13 11:34:57 -08:00
William Godbe c63c4b1edf
Change bundle branding from .net core to .net (#28682) 2021-01-13 10:25:57 -08:00
Doug Bunting d546861a00
[release/5.0] Add option to `RazorPageGenerator` for `#line` preprocessor directives (#27765) (#29024)
- cherry-picked from 1a241fcfc2f8 in 'master' branch

- avoid new CS1504 errors because compiler can't find the ErrorPage.cshtml file
  - we override Arcade's `$(MicrosoftCodeAnalysisCSharpVersion)`
- use new option in GeneratePage.ps1 script
  - script also did not know `RazorSyntaxGenerator` had moved to this repo
- reflect latest `RazorSyntaxGenerator` processing
  - run GeneratePage.ps1
  - update README.md

nits:
- quote all paths in GeneratePage.ps1 script
- remove passive voice in README.md
2021-01-13 10:25:45 -08:00
William Godbe 21e56a8174
Include En/US loc resources in bundles (#29066) 2021-01-13 10:25:19 -08:00
Chris Ross 7991a9a2e2
Allow/ignore upgrades with bodies #17081 (#28896) 2021-01-13 10:23:53 -08:00
Artak ece60cc9f5
Added `WebAssembly` capability to Blazor WebAssembly projects (#28714)
## Description

VS has a feature of adding gRPC service reference to a project using UI. Currently that experience has no easy way to differentiate between Blazor Server and Blazor WebAssembly projects. As a result, adding gRPC reference using VS feature adds the wrong gRPC package (Grpc.AspNetCore), instead of adding `Grpc.Net.Client` and `Grpc.Net.Client.Web`, per our documentation. The package which is wrong adds framework reference transitively, which is not supported on WebAssembly.

This change adds a unique WebAssembly capability to all Blazor WebAssembly projects (through the SDK) so VS can build unique experiences those projects and also address that bug.

## Customer Impact
This particular change has no customer impact, but it will enable VS to fix their experience tracked by [this AzDO issue](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1242008)

## Regression?
- [ ] Yes
- [x] No

## Risk
- [ ] High
- [ ] Medium
- [x] Low

[Justify the selection above]

## Verification
- [ ] Manual (required)
- [ ] Automated

Not applicable as this change has no functional impact. The follow-up change is on the VS side to utilize this change and differentiate projects.

## Packaging changes reviewed?
- [ ] Yes
- [ ] No
- [x] N/A


Addresses https://github.com/dotnet/aspnetcore/issues/28716
2021-01-13 09:01:46 -08:00
Matt Mitchell 1dfd6ce7de
Merge pull request #29250 from dotnet/dougbu/5.0.3
[release/5.0] Rebrand to 5.0.3
2021-01-13 07:17:03 -08:00