Commit Graph

43998 Commits

Author SHA1 Message Date
DotNet Bot 5dc9931a54 [internal/release/5.0-preview8] Update dependencies from dnceng/internal/dotnet-runtime 2020-07-30 09:55:58 +00:00
dotnet-bot f22aa719ba Merge in 'release/5.0-preview8' changes 2020-07-29 20:30:41 +00:00
Pranav K 17687f538c
Improve detection of Record types (#24409) 2020-07-29 13:27:27 -07:00
dotnet-bot c60c278512 Merge in 'release/5.0-preview8' changes 2020-07-29 17:33:14 +00:00
John Luo fd9f17ddf9
Update blazor templates with Microsoft.Identity.Web APIs (#24268)
* Update blazor and components web templates

* Update Identity.Web version to 0.2.1-preview
2020-07-29 10:31:47 -07:00
dotnet-bot 45813078d1 Merge in 'release/5.0-preview8' changes 2020-07-29 16:55:38 +00:00
Anirudh Agnihotry 8062d943ea
update arcade version To fix the publishing (#24386)
* update arcade version

* update version details file as well
2020-07-29 09:53:29 -07:00
DotNet Bot f172d20255 [internal/release/5.0-preview8] Update dependencies from dnceng/internal/dotnet-runtime 2020-07-29 13:10:20 +00:00
dotnet-bot 6c665aaf8f Merge in 'release/5.0-preview8' changes 2020-07-28 22:31:27 +00:00
Javier Calvarro Nelson 3cf39cf7e1
Update the templates CSS to leverage CSS isolation (#24380)
* Template changes

* Template changes + scope computation update

* Template updates

* tmp

* Fix style path

* Webassembly template changes

* Update tests

* Undo blazor.server.js changes

* WebAssembly cleanups

* Undo unwanted change

* Undo another unwanted change

* Fix server-side login combinator

* update tests, switch from app to div id=app
2020-07-28 15:29:57 -07:00
Pranav Krishnamoorthy 3e7a106491 Merged PR 9371: Revive support for globalization and localization in Blazor WASM
Revive support for globalization and localization in Blazor WASM

* Load icu and timezone data files
* Unskip tests

Fixes https://github.com/dotnet/aspnetcore/issues/24174
Fixes https://github.com/dotnet/aspnetcore/issues/22975
Fixes https://github.com/dotnet/aspnetcore/issues/23260
2020-07-28 21:28:52 +00:00
dotnet-bot 864a292c79 Merge in 'release/5.0-preview8' changes 2020-07-28 17:09:37 +00:00
Phil Henning 28d5d49c21
Support SSO for Blazor WASM template (#23815)
Thanks @phenning and @javiercn !
2020-07-28 10:05:09 -07:00
DotNet Bot cba2275799 Merged PR 9296: [internal/release/5.0-preview8] Update dependencies from dnceng/internal/dotnet-runtime
This pull request updates the following dependencies

[marker]: <> (Begin:2f3f3ff0-d34f-49bd-50aa-08d828f9655f)
## From https://github.com/dotnet/runtime
- **Subscription**: 2f3f3ff0-d34f-49bd-50aa-08d828f9655f
- **Build**: 20200722.7
- **Date Produced**: 7/23/2020 12:04 AM
- **Commit**: 3cab6dd440a5f3763bfbd2d582b36fe51095686a
- **Branch**: refs/heads/internal/release/5.0-preview8

[DependencyUpdate]: <> (Begin)

- **Updates**:
  - **System.Diagnostics.DiagnosticSource**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **System.Diagnostics.EventLog**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **System.Drawing.Common**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **System.IO.Pipelines**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **System.ComponentModel.Annotations**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Logging.Abstractions**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Logging.Configuration**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Logging.Console**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Logging.Debug**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Logging.EventLog**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Logging.EventSource**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Logging.TraceSource**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Options**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Options.ConfigurationExtensions**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Options.DataAnnotations**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Primitives**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Logging**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Internal.Transport**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Hosting.Abstractions**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Caching.Abstractions**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Caching.Memory**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Configuration**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Configuration.Abstractions**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Configuration.Binder**: from 5.0.0-preview.8.20361.2 to 5.0.0-preview.8.20372.7
  - **Microsoft.Extensions.Configuration.CommandLine**: from 5.0.0-preview.8.203...
2020-07-26 05:49:09 +00:00
dotnet-bot 21a5f39a15 Merge in 'release/5.0-preview8' changes 2020-07-25 00:38:12 +00:00
John Luo dc53cd0173
Update RazorPages, MVC, WebApi templates to use Identity.Web (#24167)
* Update RazorPages, MVC, WebApi templates to use Identity.Web

- Obsolete AAD v1 APIs
2020-07-24 17:36:12 -07:00
dotnet-bot 4d23ec028e Merge in 'release/5.0-preview8' changes 2020-07-24 21:55:52 +00:00
Steve Sanderson eb8764e80f
CSS scoping deep combinators (#24289)
* Support deep combinators with CSS scoping

* Update CSS scope computation
2020-07-24 14:51:30 -07:00
dotnet-bot 670f9523df Merge in 'release/5.0-preview8' changes 2020-07-24 15:46:59 +00:00
Pranav K 088a6fa1ec
Add support for binding record types (#23976)
* Add support for binding record types

* PR feedback

* PR changes

* Changes per PR comments

* Changes per PR comments

* Update src/Mvc/Mvc.Core/src/Resources.resx

* Apply suggestions from code review

* Add some more tests

* Undo blazor.server.js changes

* Fixup test
2020-07-24 08:45:06 -07:00
dotnet-bot 28270373fe Merge in 'release/5.0-preview8' changes 2020-07-24 15:44:38 +00:00
Javier Calvarro Nelson b326be1710
[Blazor] Wires up CSS isolation (#24221) (#24271)
* Wires up CSS isolation on the build.
* Transforms the css files during build.
* Bundles all scopes css into a single file and exposes it on _framework/scoped.styles.cs
* Packs pre-processed files as static web assets.
2020-07-24 08:42:35 -07:00
dotnet-bot 716598e6b1 Merge in 'release/5.0-preview8' changes 2020-07-24 00:08:22 +00:00
Pranav K 11835cf768
Add support for launching a browser on file change (#24220) 2020-07-23 17:04:31 -07:00
dotnet-bot dc3a8640b6 Merge in 'release/5.0-preview8' changes 2020-07-23 23:38:56 +00:00
Pranav K b33f8ddbe2
Add dotnetRunMessages to ASP.NET Core templates (#24229) 2020-07-23 16:37:18 -07:00
dotnet-bot 43b68e3e31 Merge in 'release/5.0-preview8' changes 2020-07-23 22:02:21 +00:00
Hao Kung 697b397b9b
Revert AuthenticationAddXyz overload changes (#24253) 2020-07-23 15:00:01 -07:00
dotnet-bot 2bac45c40d Merge in 'release/5.0-preview8' changes 2020-07-22 22:48:25 +00:00
Ryan Nowak 6f37e8a552
[Mvc] Improved route value transformer (#21481)
* Apply suggestions from code review

Cleaned up error messages. Thanks @jamesnk, I totally overlooked the content.

Co-authored-by: James Newton-King <james@newtonking.com>

Co-authored-by: Javier Calvarro Nelson <jacalvar@microsoft.com>
Co-authored-by: James Newton-King <james@newtonking.com>
2020-07-22 15:44:51 -07:00
dotnet-bot c88efce9a3 Merge in 'release/5.0-preview8' changes 2020-07-22 21:49:25 +00:00
Safia Abdalla 4734f47ba5
Follow-ups to lazy-load from API review (#24169)
* Follow-ups to lazy-load from API review

* Address feedback from peer review
2020-07-22 14:47:01 -07:00
dotnet-bot f437647451 Merge in 'release/5.0-preview8' changes 2020-07-22 20:27:08 +00:00
Mackinnon Buck b121a2ff6a
Influence HTML head from Blazor (#23833)
* Started on head manager

* Working prototype.

* Started on improved meta tag support.

* Improved meta support and better thread safety.

* Improved synchronization.

* Added support for meta "property" attribute.

* Updated exception message.

* Added link element support.

* Started on functional tests.

* Added more functional tests.

* Added E2E tests.

* Simplified implementation.

* Prerendering support.

* Small documentation updates.

* Made TagElement and TitleElement readonly.

* Removed M.A.Components.Server dependency.

* Minor fixes and updates.

* Update PrerenderedHeadComponent.razor

* Removed AddWebExtensions.

* Applied CR feedback
2020-07-22 13:25:15 -07:00
dotnet-bot ab7a11fcdc Merge in 'release/5.0-preview8' changes 2020-07-22 16:56:09 +00:00
Matt Mitchell 4813a15cb1
Add additional environment variables to dockerbuild (#23956) (#24204)
These are used by the publish/asset manifest creation tasks to fill out
some attributes. Without these in the docker environment, manifests will
be inconsistent between those produced on plain machines and ones produced
in docker files.
2020-07-22 09:49:22 -07:00
dotnet-bot 6654c8f967 Merge in 'release/5.0-preview8' changes 2020-07-21 23:03:19 +00:00
Pranav K 0b415b91bd
Fix Blazor WASM SDK bugs (#24172)
* Correctly calculate tasks path when running as a SDK
* Do not perform service-worker things when project does not require it
2020-07-21 16:01:29 -07:00
Brennan Conroy 542031b421 Merged PR 9196: Modify WebSockets ValueTaskSource
Create the GCHandle per operation and Free it when resetting the ValueTaskSource for re-use.

Cherry-picked change from 3.1
2020-07-21 21:59:33 +00:00
dotnet-bot 869d8f517a Merge in 'release/5.0-preview8' changes 2020-07-21 19:42:07 +00:00
dotnet-maestro[bot] 406fe1b47d
[release/5.0-preview8] Update dependencies from dotnet/arcade (#23979)
* Update dependencies from https://github.com/dotnet/arcade build 20200714.3

Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.Arcade.Sdk
 From Version 5.0.0-beta.20330.3 -> To Version 5.0.0-beta.20364.3

* Update DotNetMuxerTests.cs

- skip failing test

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2020-07-21 12:37:20 -07:00
Matt Mitchell b79190fded
Enable builds of internal branches (#24161) 2020-07-21 12:36:59 -07:00
dotnet-bot 3ad9e576e5 Merge in 'release/5.0-preview8' changes 2020-07-20 22:55:07 +00:00
Brennan c18571c820
[Java] Allow configuration of OkHttpClient.Builder (#23822)
* start

* comment

* remove ctor

* unused import

* fb

* Update src/SignalR/clients/java/signalr/src/main/java/com/microsoft/signalr/HttpHubConnectionBuilder.java

* remove unused param
2020-07-20 15:53:14 -07:00
dotnet-bot 77435c399b Merge in 'release/5.0-preview8' changes 2020-07-20 20:37:20 +00:00
Safia Abdalla 0a61165698
Tests, tweaks, and other follow-ups to lazy-loading (#23947)
* Render 'OnNavigateError' fragment on unhandled exception in OnNavigateAsync

* Address first round of feedback from peer review

* Refactor OnNavigateAsync handling and fix tests

* Make OnNavigateAsync cancellation cooperative with user tasks

* Fix aggressive re-rendering and cancellation handling

* Fix up tests based on peer review
2020-07-20 13:33:04 -07:00
dotnet-bot 609b55f120 Merge in 'release/5.0-preview8' changes 2020-07-20 20:31:41 +00:00
Pranav K e822f5f12d
Create a Blazor WebAssembly SDK (#24044) 2020-07-20 13:25:49 -07:00
Chris Ross (ASP.NET) f5538cba6f Merged PR 9144: [5.0-preview8] Pass RequestAborted to SendFileAsync
This is a cherry pick of the 3.1 PR.
https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore/pullrequest/9042

The only change was to remove a questionable call to Abort after catching the exception.

There are some less severe issues in Kestrel and MVC that we'll follow up on publicly after this releases.
2020-07-17 23:07:49 +00:00
Doug Bunting 5266918ed2
Use Roslyn to create ref/ assemblies (#23403)
* Remove all ref/ projects

* Remove GenAPI infrastructure

* Remove notion of a reference assembly project
  - remove `$(IsReferenceAssemblyProject)`, `$(ReferenceReferenceAssemblies)` and `$(ReferenceImplementationAssemblies)`
    - remove unnecessary `$(NoWarn)` settings

nits:
- remove a few misleading comments
- wrap some long lines

* Move .0 package version workaround into Versions.props
  - touch up SharedFramework.External.props

* Expose `%(LatestPackageReference.RTMVersion)` metadata
  - automate use of properties in the `@(LatestPackageReference)` item group to make this maintainable
    - add a couple of special cases at the bottom of eng/Dependencies.props
    - add one more `$(...PackageVersion)` property to avoid yet-another special case

* Enable Roslyn reference assemblies
  - exclude ref/ assembly from packages other than targeting pack
  - update Microsoft.AspNetCore.App.Ref.csproj
    - `%(IsReferenceAssembly)` and `%(ReferenceGrouping)` metadata no longer relevant
    - only ref/ assemblies are in `@(ReferencePathWithRefAssemblies)` item group

nits:
  - remove now-unnecessary workaround
    - issues with TFM transition are behind us
  - clean up Microsoft.AspNetCore.App.Runtime.csproj slightly
    - use `GeneratePathProperty="true"`
        - reorder item / property settings for meta-expansion
    - correct spelling errors and phrasing in comments

* Update documentation to reflect recent changes
  - remove CrossRepoBreakingChanges.md; was tied to old TeamCity infrastructure
    - also much less relevant given repo merges
  - adjust details and examples in ReferenceResolution.md
    - reflect repo merges, Dependencies.props changes, and current Maestro++ channels
    - add a few more details e.g. specific files where Version.Details.xml versions are used

* !fixup! Remove another irrelevant doc file

* !fixup! Address PR review suggestions
  - convert a couple of warnings to errors
  - use consistent casing for Microsoft.NETCore.App.Runtime.* packages
  - reduce `%(LatestPackageReference.Version)` metadata special cases
  - add and improve comments e.g.
    - improve comments about `$(*V0PackageVersion)` properties
    - improve placement of comments about item removal in ResolveReferences.targets
    - confirmed `$(*V0PackageVersion)` property list is complete

nits:
- fix solution example in ReferenceResolution.md
- remove item group definition for `@(LatestPackageReference)`
- remove `%(LatestPackageReference.VersionName)` metadata after use; large item group
    - similarly, remove `%(LatestPackageReference.RTMVersion)` when not needed; just complicates `Condition`s

When I squash, I must remember this fixes
- #14801
- dotnet/aspnetcore-internal#2693

* Actually use `%(LatestPackageReference.RTMVersion)` metadata
  - gather RTM package references in a new project
    - a (very) separate project to work around package conflict resolution
    - empty `Test` target works around Arcade's testing approach
  - new target in ResolveReferences.targets updates relevant assembly paths to use the RTM packages
    - done as soon as possible after `ResolvePackageAssets` determines the paths
    - done for all compilation inputs, not just ref/ assemblies
2020-07-17 13:35:17 -07:00