Commit Graph

44809 Commits

Author SHA1 Message Date
Pranav K 2921f5514a
dotnet-watch: continue printing output to console after the app is ready (#25984)
dotnet-watch redirects standard out to detect when the app is launched and
prints these redirected messages to the console. Unfortunately once the app
is launched, redirected messages are no longer printed. This wasn't caught earlier
since ASP.NET Core is very quiet by default.

ASP.NET Core apps launched via dotnet watch do not print output to the console.

Yes. This was introduced as part of changes to dotnet-watch to launch a browser in 5.0-preview8.

Low.
2020-09-16 18:53:59 -07:00
Steve Sanderson 8c23b53bef
Make timezone and ICU data available offline for PWA (#25954) 2020-09-16 16:49:09 -07:00
dotnet-maestro[bot] 9675fdb455
[release/5.0-rc2] Update dependencies from dotnet/arcade (#25963)
[release/5.0-rc2] Update dependencies from dotnet/arcade


 - Update create light/light command package drop task

 - Create output directory
2020-09-16 22:08:01 +00:00
Doug Bunting 06d672f2ca
Update assembly versions when servicing (#24952)
- #24540

nit: Fix a comment typo
2020-09-16 09:58:08 -07:00
dotnet-maestro[bot] 70bc346d25
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore (#25937)
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore
2020-09-16 07:37:25 +00:00
dotnet-maestro[bot] b7862d51fb
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore (#25925)
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore
2020-09-16 02:45:53 +00:00
dotnet-maestro[bot] f3f7b9f9ed
Update dependencies from https://github.com/dotnet/efcore build 20200915.2 (#25921)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-15 21:53:25 +00:00
Brennan ce76ae75f6
Fix Java packaging (#25838)
* Fix Java packaging

* fix flaky test
2020-09-15 10:20:43 -07:00
dotnet-maestro[bot] 17e04b70b0
Update dependencies from https://github.com/dotnet/efcore build 20200914.7 (#25896)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-15 06:07:47 +00:00
dotnet-maestro[bot] 38c9fe7437
Update dependencies from https://github.com/dotnet/runtime build 20200914.8 (#25895)
[release/5.0-rc2] Update dependencies from dotnet/runtime
2020-09-15 03:33:16 +00:00
John Luo d14e273015
[5.0.0-rc2] Backport Fix chrome/selenium tests (#25330) (#25840)
* Fix chrome/selenium tests (#25330)

* Revert "Disable failing/hanging tests due to Chrome/Selenium issue (#25323)"

This reverts commit 332f1504128a63431cb67830703922cdeefee525.

* Update Selenium to latest

* Update API

* Try specifying a version

* Update Selenium to 4.0.0-beta5

* Disable browser log tests

* Fix components e2e tests and disable blazor standalone template test

* Disable tests using browser log

* Disable template test

* Avoid using .NET formatted strings in tests

* Annotate BasicTestApp suggesting that it needs the all globalization data

* Culture specific formatting relies on the ICU data carried by the OS. This
causes issues in our tests if WebAssembly carries a different set than the OS. Instead
updating these tests to use hardcoded strings.

* Additionally fixing an issue where some projects in the solution were using tasks from
the .dotnet SDK rather than the local copy of the SDK. This was causing issues building locally.

Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-09-14 18:43:42 -07:00
dotnet-maestro[bot] 45dade2b36
Update dependencies from https://github.com/dotnet/efcore build 20200914.4 (#25886)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-15 00:01:45 +00:00
Kevin Pilch e3a52ee3de
Merge pull request #25881 from dotnet-maestro-bot/merge/release/5.0-to-release/5.0-rc2
[automated] Merge branch 'release/5.0' => 'release/5.0-rc2'
2020-09-14 15:24:14 -07:00
dotnet-maestro[bot] 7f1ca16b58
Update dependencies from https://github.com/dotnet/efcore build 20200914.2 (#25876)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-14 21:48:52 +00:00
Pranav K a6f667bbb3
Add SkipAnalyzers=true to component declaration compilation (#25736)
* Update to latest SDK

* React to platform compatibility analyzer warnings
* React to new warnings
* Add platform compatibility attributes

* Add SkipAnalyzers=true to component declaration compilation
Fixes https://github.com/dotnet/aspnetcore/issues/25365

* Update eng/Version.Details.xml

* Update Versions.props

* Update Version.Details.xml

* Update Versions.props

* Update Version.Details.xml
2020-09-14 12:41:37 -07:00
Martin Costello a0ede85a61
Fix MSB4109 (#25880)
Fix MSB4109 error when the Microsoft.Extensions.ApiDescription.Server NuGet package is installed.
2020-09-14 12:07:15 -07:00
Doug Bunting 6c29f44a0b
Reduce references to Microsoft.AspNetCore.App.Runtime.csproj (#25836)
- dotnet-watch builds against runtime in the SDK
- other projects build after runtime project due to Ref.csproj reference
  - but, when the targeting packs aren't building, there's no reason to use Ref.csproj
- followup on 76fbd1a283 and 84962660a3, reducing parallelism in build
2020-09-14 11:34:07 -07:00
Brennan 6b8ce801e8
Revert 2.2 site extension version update (#25879) 2020-09-14 10:48:50 -07:00
Steve Sanderson ccbc46c076
Fix RCL template to have correct filename for scoped CSS (#25870) 2020-09-14 09:13:49 -07:00
John Luo 472e8297a7
Update identity web templates (#25834)
* Update identity web templates

* Do not generate scopeRequiredByApi if not needed
2020-09-14 07:58:03 -07:00
Epsitha Ananth 4d5b3159d8
V3 publishing (#25784)
* v3 changes
2020-09-14 07:52:32 -07:00
Doug Bunting e3b632894d
Fix Helix testing issues with stable versions and local builds (#25865)
- include all shipping packages in Helix payloads that need runtime
  - remove hard-coded `-ci` that broke Helix tests with stable versions or local builds
  - for local builds, do not assume `$(Configuration)` is Release
- support `$(HelixTargetQueues)` property used in RunHelix.ps1
  - lost somewhere along the lines; script ran full matrix

nits:
- clean up redundant addition of runtime and ref/ packages
  - `@(HelixContent)` additions in `_CreateHelixWorkItem` target are ignored
- mention '+' separation of `-HelixQueues` argument to RunHelix.ps1
- allow `$(IsUnitTestProject)` override in case we need it in the future
2020-09-13 21:45:23 -07:00
Pranav K ab5dfe5374
Allow dotnet-watch to look for changes to .razor.css files (#25792)
Fixes https://github.com/dotnet/aspnetcore/issues/25483
2020-09-13 14:46:47 -07:00
Doug Bunting bfc1ec6792
Remove package version pinning for ref/ assemblies in servicing (#25851)
- dotnet/runtime now keeps `$(AssemblyVersion)` values consistent
- remove all use of the System.Security.AccessControl package
2020-09-13 14:24:23 -07:00
Doug Bunting 8453a07dfa
Pass `$(MicrosoftNETCoreAppInternalPackageVersion)` to Helix jobs (#25850)
- required for servicing, where e.g. `5.0.0` may be ambiguous
- also move `%DOTNET_HOME%` into the working directory
  - reduces build-up in `%HELIX_CORRELATION_PAYLOAD%` and aligns w/ build.sh

nit: add more debug output to `runtests.*`
2020-09-13 11:40:33 -07:00
Doug Bunting b760d35b54
Support override of PlatformManifest.txt content in servicing (#25849)
- copied from release/3.1; not sure why this wasn't merged forward
- doing now ensures we don't forget if we need to service targeting packs
2020-09-13 11:40:09 -07:00
Pranav K 99496b41a0
Nullability feedback for public types in Components (#25821)
* EventCallback.InvokeAsync can pass a null value
* Remove unused BindFormatterWithFormat
2020-09-13 10:01:21 -07:00
dotnet-maestro[bot] f0c9f60903
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore (#25856)
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore
2020-09-13 09:26:31 +00:00
Javier Calvarro Nelson b1e1aabc9d [Mvc] Fix global state in controller and action endpoint data sources.
* Create data sources "per router" instance.
* Make a global shared order sequence "per router" for conventional and
  controller and page routes.
* Create DynamicControllerEndpointSelector and DynamicPageEndpointSelector
  instances per data source.
2020-09-12 10:03:32 -07:00
Javier Calvarro Nelson a17842a2e4 [Mvc] Add support for order in dynamic controller routes (#25073)
* Order defaults to 1 same as conventional routes
* An incremental order is applied to dynamic routes as they are defined.
2020-09-12 10:03:32 -07:00
James Newton-King 340ee72715
Update gRPC version in template to 2.32.0-pre1 (#25587)
* Update gRPC version in template to 2.32.0-pre1

* Log server timeout detail

* Only run interop tests on windows queues

Co-authored-by: John Luo <johluo@microsoft.com>
2020-09-11 20:23:16 -07:00
Doug Bunting 326507bb01
Correct `$(SharedFxVersion)` and `$(TargetingPackVersion)` values (#25790)
* Correct `$(SharedFxVersion)` and `$(TargetingPackVersion)` values
- Ensure `$(SharedFxVersion)` doesn't change in `$(NoSemVer20)` projects
- Ignore current project's `$(VersionSuffix)` in `$(TargetingPackVersion)`
    - Never assume `$(AspNetCoreBaselineVersion)` matches released targeting pack
- Stabilize both versions correctly
- Use these properties more widely
    - Remove other mechanisms to get the same values
    - Reduce use of the `_GetPackageVersionInfo` target
    - Reduce use of `$(SharedFxVersion)` for the targeting pack

nits:
- Correct comments about old RTMVersions.csproj project
- Fix or remove a few other comments

* Do not pass package filenames on Helix command Lines
- remove parsing of these command-line arguments from `RuntestOptions`
  - instead craft the names using passed `$(SharedFxVersion)`
- restore `$(DotNetRuntimeSourceFeedKey)` on Helix command line
  - lost somewhere along the line
- correct argument count in runtests.sh
  - treated 11th argument as both Helix timeout and feed credential
  - count was messed up somewhere alone the line

nits:
- update C# syntax in `RuntestOptions` e.g. remove unused `public` setters
- sort and group properties and their assignments
2020-09-11 19:17:28 -07:00
Chris Ross b5515a8dac IIS: Identify if a request has a body (#25381) 2020-09-11 17:43:36 -07:00
dotnet-maestro[bot] c1b0fb5765
Update dependencies from https://github.com/dotnet/efcore build 20200911.2 (#25824)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-11 22:59:01 +00:00
Pranav K 004cd1a9d9
PR feedback for platform compatibility update (#25815)
* PR feedback for platform compatibility update

Follow up to https://github.com/dotnet/aspnetcore/pull/25421

* Add SupportedOSPlatform attributes to a few more DataProtection API
* Update the SDK to rc2
* Clean up warning suppression in CertificateManager
* React to nit feedbacks

Fixes https://github.com/dotnet/aspnetcore/issues/25781

* Apply suggestions from code review
2020-09-11 14:32:02 -07:00
Stephen Halter 3932156a95
Improve Http1ContentLengthMessageBody's reset logic (#25799) 2020-09-11 13:57:23 -07:00
dotnet-maestro[bot] a1276de34d
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore (#25816)
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore
2020-09-11 20:46:42 +00:00
Brennan 9eb9de6c8c
[Java] Catch errors from user callbacks (#25513)
* [Java] Catch errors from user callbacks

* test logger

* rebase

* fb
2020-09-11 11:44:00 -07:00
Chris Ross 4383118ef8
IIS: Identify if a request has a body (#25381) 2020-09-11 11:40:25 -07:00
Brennan 83e31342a1
[Kestrel] Deflake app abort test (#25484)
* [Kestrel] Deflake app abort test

* better

* fb
2020-09-11 10:53:45 -07:00
William Godbe f7a76173e4
Re-enable Helix tests for signalR java client (#25783)
* Re-enable Helix tests for signalR java client

* Change path to test results
2020-09-11 10:26:49 -07:00
William Godbe 77be06a894
Support primitive type/classes in HubConnection.on() (#25773)
* Support primitive type/classes in HubConnection.on()

* Small refactor

* Spacing
2020-09-11 10:11:29 -07:00
William Godbe 84962660a3
Strip duplicates from BuiltProjectOutputGroupOutput (#25785) 2020-09-11 10:11:10 -07:00
Brennan c32089a5e2
Add SignalR Client on WASM smoke test (#25526)
* Add SignalR Client on WASM smoke test

* Move test into BasicTestApp

Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2020-09-11 09:23:08 -07:00
Brennan 2ab6436cdd
Set ShutdownTimeout in Kestrel tests (#25743) 2020-09-11 09:21:18 -07:00
Brennan a7d129cc97
Send CloseMessage in more cases (#25693)
* Send CloseMessage in more cases

* fb
2020-09-11 09:21:02 -07:00
JC Aguilera 59714980c9
Condition VS.Redist.* to PostBuildSign (#25793) 2020-09-11 09:05:25 -07:00
dotnet-maestro[bot] e03d8e7613
Update dependencies from https://github.com/dotnet/efcore build 20200910.11 (#25808)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-11 08:27:44 +00:00
dotnet-maestro[bot] f9a18fdb15
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore (#25804)
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore
2020-09-11 07:06:12 +00:00
Doug Bunting 5f04dfc3ef
Bundle latest 2.2 and 3.1 site extension packages (#25778)
- part of dotnet/aspnetcore-internal#3676
2020-09-10 23:08:16 -07:00