Commit Graph

44744 Commits

Author SHA1 Message Date
dotnet-maestro[bot] 8b66c99886
[release/5.0] Update dependencies from dotnet/efcore (#26913)
[release/5.0] Update dependencies from dotnet/efcore
2020-10-15 05:38:09 +00:00
Javier Calvarro Nelson dd2754c2c9
Fix up to date check (#26891)
Description
We had support for the UpToDateCheck in Visual Studio with CSS isolation but the target was not being run at design time. This change introduces a new target that runs at design time and makes sure the UpToDateCheckInput and UpToDateCheckBuilt ItemGroups are populated.

Customer Impact
When using CSS isolation from within Visual Studio, a change in a scoped CSS file is not picked up and the project is not rebuilt as a result.
Regression?
No. This feature was introduced in 5.0.

Risk
Low. The new target we added only runs as part of Visual Studio builds.

Fixes
#26843
2020-10-14 22:29:45 -07:00
dotnet-maestro[bot] bf288c40b3
Update dependencies from https://github.com/dotnet/runtime build 20201014.6 (#26909)
System.ComponentModel.Annotations , Microsoft.Extensions.Logging.Console , Microsoft.Extensions.Logging.Debug , Microsoft.Extensions.Logging.EventLog , Microsoft.Extensions.Logging.EventSource , Microsoft.Extensions.Logging.TraceSource , Microsoft.Extensions.Options , Microsoft.Extensions.Options.ConfigurationExtensions , Microsoft.Extensions.Options.DataAnnotations , Microsoft.Extensions.Primitives , Microsoft.Extensions.Logging.Configuration , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging , Microsoft.Extensions.Internal.Transport , Microsoft.Extensions.Caching.Abstractions , Microsoft.Extensions.Caching.Memory , Microsoft.Extensions.Configuration , Microsoft.Extensions.Configuration.Abstractions , Microsoft.Extensions.Configuration.Binder , Microsoft.Extensions.Configuration.CommandLine , Microsoft.Extensions.Configuration.EnvironmentVariables , Microsoft.Extensions.Configuration.FileExtensions , Microsoft.Extensions.Configuration.Ini , Microsoft.Extensions.Configuration.Json , Microsoft.Extensions.Configuration.UserSecrets , Microsoft.Extensions.DependencyInjection , Microsoft.Extensions.DependencyInjection.Abstractions , Microsoft.Extensions.DependencyModel , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.FileProviders.Composite , Microsoft.Extensions.FileProviders.Physical , Microsoft.Extensions.FileSystemGlobbing , Microsoft.Extensions.HostFactoryResolver.Sources , Microsoft.Extensions.Hosting , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Http , Microsoft.Extensions.Configuration.Xml , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.Security.Principal.Windows , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.Security.Cryptography.Cng , System.Runtime.CompilerServices.Unsafe , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.DirectoryServices.Protocols , System.Drawing.Common , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Resources.Extensions , System.IO.Pipelines
 From Version 5.0.0 -> To Version 5.0.0

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-10-14 22:53:25 +00:00
Pranav K fae3437139
Add docs for remaining security items (#26827)
* Add docs for remaining security items

* Google / Facebook / Microsoft Account auth
* Authorization, Authorization.Policy

Contributes to https://github.com/dotnet/aspnetcore/issues/26397

* Apply suggestions from code review

Co-authored-by: Chris Ross <Tratcher@Outlook.com>

* Update src/Security/Authorization/Policy/src/AuthorizationMiddleware.cs

Co-authored-by: Chris Ross <Tratcher@Outlook.com>
2020-10-14 15:36:26 -07:00
dotnet-maestro[bot] 45c02cd347
[release/5.0] Update dependencies from dotnet/runtime dotnet/efcore (#26873)
[release/5.0] Update dependencies from dotnet/runtime dotnet/efcore
2020-10-14 21:47:17 +00:00
Steve Sanderson 86705673c7
XML docs for Middleware: Localization, Localization.Routing, ResponseCompression (#26889)
* XML docs for Middleware/Localization and Localization.Routing

* XML docs for Middleware/ResponseCompression
2020-10-14 14:02:24 -07:00
Matt Mitchell a0ab0964d4
[release/5.0] Fix some post-build signing issues (#26506)
* Fix some post-build signing issues
This fixes some post-build signing issues that are present in the aspnetcore repo
1. Add the .msi extension to be signed by Microsoft400 - Msis must be signed. With in-build signing these get handled explicitly by the wixproj infrastructure. When we do post build signing, we must sign these files.
2. Remove the strong name exclusions. These exclusions are incorrect when applied in post-build and unnecessary for in-build signing. Most importantly, the aspnetcore PKT would not end up re-strong named (it doesn't need to be strong name signed by ESRP since it's strong named in-build) because the PKT doesn't match any of the StrongNameSignInfo specified in arcade. The rest of the entries seem to be mostly about optimization. I could not find any performance difference between these entries being present and not. I am not sure whether they actually even apply to any assets. Moreover, when doing post-build signing, they would conflict with the entries in runtime and other places.

Verification - I have a tool that I wrote which unpacks every file between two directories and compares the strong name, nuget, and authenticode certs between equivalent files. This is the same tool being used to verify post-build signing. This tool shows no difference in any aspnetcore produced asset.

Baseline: https://dev.azure.com/dnceng/internal/_build/results?buildId=836183&view=results
Diff: https://dev.azure.com/dnceng/internal/_build/results?buildId=837176&view=results

* Do not push VS packages for installers when PostBuildSign == true

* Output wix command packages to the installers output path

* Don't import microbuild signing targets from wix when PostBuildSign=true

* Tweaks:
- Don't sign wixpacks when not in post-build signing
- Generate a wixpack for both the original msi name (which the wixproj generates) AND the name we use in the final outputs. This is because while these files are the same, signing differentiates the certificate based on the file name, and wixpack lookup is also based on the file names. Aspnetcore and other repos have uses the final outputs (e.g. dotnet-aspnetcore-runtime-123.5..) as well as the internal names (e.g. AspNetCoreSharedFramework_x64.msi).
- Don't sign msi's when not post-build signing.

* Avoid generating sha512 files for wixpack zips

* Don't run xplat code sign jobs if PostBuildSign == true

* Change original target names

* Conditionalize codesign operations

* Add publishing flag for linux x64 and add deb sha512 generation

* Do not push the x64 linux runtime archive more than once
2020-10-14 10:19:10 -07:00
dotnet-maestro[bot] aa50176707
[release/5.0] Update dependencies from dotnet/arcade (#26817)
[release/5.0] Update dependencies from dotnet/arcade


 - `NETCOREAPP5_0` -> `NET5_0`

 - Add PublishIISAssets To Fix Test
2020-10-14 04:35:26 +00:00
dotnet-maestro[bot] 2aaae9e954
Update dependencies from https://github.com/dotnet/efcore build 20201013.1 (#26857)
[release/5.0] Update dependencies from dotnet/efcore
2020-10-13 21:06:34 +00:00
Javier Calvarro Nelson 901bf9ba43
[Blazor] Missing IAsyncDisposable implementation on renderer (#26848)
* Implement async disposable on the renderer

* Minor cleanups
2020-10-13 13:50:54 -07:00
Phil Henning 905777ca5b
Update localized strings.json (#26853)
* Update localized strings.json

* Add missing CSharp worker service update
2020-10-13 13:35:21 -07:00
dotnet-maestro[bot] 3f18586cf8
Update dependencies from https://github.com/dotnet/runtime build 20201012.4 (#26851)
[release/5.0] Update dependencies from dotnet/runtime
2020-10-13 18:17:44 +00:00
Doug Bunting 16543d4716
Stabilize package Versions for 5.0.0 (#26650)
- remove `$(DisableServicingFeatures)` property; `$(IsServicingBuild)` works now
2020-10-12 15:03:47 -07:00
Pranav K b3aa220af6
Quarantine flaky test (#26627) 2020-10-12 15:02:50 -07:00
dotnet-maestro[bot] 944c964339
Update dependencies from https://github.com/dotnet/efcore build 20201012.2 (#26816)
Microsoft.EntityFrameworkCore.Tools , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Design , Microsoft.EntityFrameworkCore.InMemory , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.SqlServer
 From Version 5.0.0-rtm.20509.3 -> To Version 5.0.0

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-10-12 12:54:27 -07:00
Doug Bunting 8399c9f3f9
!!! Correct condition controlling `public` API analysis !!! (#26797)
* !!! Correct condition controlling `public` API analysis !!!
-  #26785 demonstrated analyzers were inoperable

* Remove unused `public` API files

* Update `public` API files
- three Components files were missing `#nullable enable`
- `nullable` annotations missing or out-of-date elsewhere

* Ignore `public` API files completely during source build
- do not warn about unused files

* Update more `public` API files
2020-10-12 11:07:18 -07:00
dotnet-maestro[bot] b2175f1141
Update dependencies from https://github.com/dotnet/runtime build 20201010.7 (#26792)
[release/5.0] Update dependencies from dotnet/runtime
2020-10-11 18:36:00 +00:00
Stephen Halter ff6d1986ac
Add docs for Session, Diagnostics.EntityFrameworkCore, MiddlewareAnalysis and HeaderPropagation (#26720) 2020-10-09 20:38:45 -07:00
dotnet-maestro[bot] d694724475
Update dependencies from https://github.com/dotnet/efcore build 20201009.3 (#26764)
[release/5.0] Update dependencies from dotnet/efcore
2020-10-10 01:04:07 +00:00
dotnet-maestro[bot] af0939aa30
Update dependencies from https://github.com/dotnet/runtime build 20201009.6 (#26755)
[release/5.0] Update dependencies from dotnet/runtime
2020-10-09 22:22:41 +00:00
William Godbe bc3dc72700
Fix path data in FrameworkList.xml (#26622)
* Fix path data in FrameworkList.xml

* Move FrameworkList.xml to SharedFxRoot

* Fix targeting pack xml test

* Add test

* Add another test

* Extract .xml files to Helix as well

* Add another test

* Update TestRunner.cs

* Remove slash
2020-10-09 11:06:15 -07:00
dotnet-maestro[bot] d7dcac32f6
[release/5.0] Update dependencies from dotnet/runtime dotnet/efcore (#26732)
[release/5.0] Update dependencies from dotnet/runtime dotnet/efcore
2020-10-09 14:28:18 +00:00
dotnet-maestro[bot] 8f75023d16
[release/5.0] Update dependencies from dotnet/runtime dotnet/efcore (#26722)
[release/5.0] Update dependencies from dotnet/runtime dotnet/efcore
2020-10-09 04:47:07 +00:00
dotnet-maestro[bot] 5995774f8c
Update dependencies from https://github.com/dotnet/efcore build 20201008.5 (#26721)
[release/5.0] Update dependencies from dotnet/efcore
2020-10-09 01:38:49 +00:00
dotnet-maestro[bot] 2fec54f539
Update dependencies from https://github.com/dotnet/efcore build 20201008.4 (#26717)
[release/5.0] Update dependencies from dotnet/efcore
2020-10-09 00:27:57 +00:00
dotnet-maestro[bot] fb8ffbecda
Update dependencies from https://github.com/dotnet/runtime build 20201008.4 (#26710)
[release/5.0] Update dependencies from dotnet/runtime
2020-10-08 22:24:08 +00:00
dotnet-maestro[bot] f35b9c243b
Update dependencies from https://github.com/dotnet/efcore build 20201008.1 (#26703)
[release/5.0] Update dependencies from dotnet/efcore
2020-10-08 19:32:00 +00:00
Stephen Halter 053052d405
Remove KestrelEventSource events with broken ActivityId tracking (#26684)
* Remove KestrelEventSource events with broken ActivityId tracking

* Skip test requiring ALPN on macOS
2020-10-08 11:47:48 -07:00
dotnet-maestro[bot] 95b05188da
[release/5.0] Update dependencies from dotnet/arcade dotnet/runtime (#26694)
[release/5.0] Update dependencies from dotnet/arcade dotnet/runtime
2020-10-08 16:57:59 +00:00
Safia Abdalla 84e9f56bca
Resolve issue with readLazyAssembly returning stale value (#26642)
* Resolve issue with readLazyAssembly returning stale value

* Address feedback from peer review

* Update test to exercise loaded package
2020-10-07 22:57:13 -07:00
William Godbe 8118a25e7f
Add API ref docs for HTTPSys (#26649)
* Add API ref docs for HTTPSys

* Spacing

* Feedback
2020-10-07 22:28:49 -07:00
dotnet-maestro[bot] 8f17d4a6bd
[release/5.0] Update dependencies from dotnet/runtime dotnet/efcore (#26639)
[release/5.0] Update dependencies from dotnet/runtime dotnet/efcore
2020-10-08 00:25:01 +00:00
Brennan 5b6362f29a
Enable test logging for ProjectTemplate tests (#26507)
* Enable test logging for ProjectTemplate tests

* Add logging to templates

* some updates

* nullref
2020-10-07 14:37:33 -07:00
dotnet-maestro[bot] 503ab6de61
[release/5.0] Update dependencies from dotnet/efcore (#26623)
[release/5.0] Update dependencies from dotnet/efcore
2020-10-06 17:56:21 +00:00
James Newton-King 51c63c4c67
Update gRPC template package to 2.32.0 (#26621) 2020-10-06 10:43:52 -07:00
John Luo 8555002772
Add an option to allow 404 responses from ExceptionHandlers (#26567) 2020-10-06 10:23:58 -07:00
William Godbe d5b5f08a4f
Cast ByteBuffer to Buffer before calling position(int) (#26614)
* Cast ByteBuffer to Buffer before calling position(int)

* Add comments
2020-10-06 10:17:57 -07:00
Pranav K 8b741bd9c6
Add docs for Negotiate, OAuth, OpenIdConnect (#26610)
* Add docs for Negotiate, OAuth, OpenIdConnect

Contributes to #26397
2020-10-06 08:41:47 -07:00
Sourabh Shirhatti fda7d1d660
Preserve client order of activity baggage items (#26302) (#26395)
Co-authored-by: Andrey Tretyak <andreyt@microsoft.com>
2020-10-05 14:29:39 -07:00
dotnet-maestro[bot] a3767eedb0
Update dependencies from https://github.com/dotnet/efcore build 20201002.6 (#26569)
[release/5.0] Update dependencies from dotnet/efcore
2020-10-03 04:09:21 +00:00
dotnet-maestro[bot] 9bfe5a8760
Update dependencies from https://github.com/dotnet/runtime build 20201002.8 (#26568)
[release/5.0] Update dependencies from dotnet/runtime
2020-10-03 01:46:56 +00:00
dotnet-maestro[bot] ec9cfe1e5e
[release/5.0] Update dependencies from dotnet/runtime dotnet/efcore (#26551)
[release/5.0] Update dependencies from dotnet/runtime dotnet/efcore
2020-10-03 00:03:28 +00:00
Stephen Halter 96c082f285
Fix WebSockets Negotiate Auth in Kestrel (#26480)
* Don't close connections after upgrade requests without a 101 response

* Add test

* Add DefautCredentials_WebSocket_Success
2020-10-02 14:47:20 -07:00
John Luo 8eb9603a9c
Api docs for Diagnostics middlewares (#26525)
* Api docs for Diagnostics middlewares

* Update ExceptionHandlerFeature.cs

* Update StatusCodePagesMiddleware.cs

* Update ExceptionHandlerMiddleware.cs

* Apply suggestions from code review

Co-authored-by: Pranav K <prkrishn@hotmail.com>

Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-10-02 20:54:37 +00:00
John Luo 6f6e19240f
Update to Identity.Web RTM versions (#26511) 2020-10-02 13:53:04 -07:00
John Luo ce2e3bc723
Api docs for HttpOverrides (#26530)
* Api docs for HttpOverrides

* Update ForwardedHeadersExtensions.cs

* Update ForwardedHeadersOptions.cs

* Feedback

* Add more details

Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-10-02 20:42:18 +00:00
Hao Kung 0a52bb721c
API docs for Components (#26505)
* Turn on doc warnings

* Api ref stuff

* Add api docs

* Api docs

* Missing docs

* Add docs

* Update src/Components/WebAssembly/WebAssembly.Authentication/src/Services/ExpiredTokenException.cs

Co-authored-by: Pranav K <prkrishn@hotmail.com>

Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-10-02 13:22:14 -07:00
Pranav K e755f6017c
Add docs for Auth, Auth.Cookies, Auth.Certificate (#26503)
* Add docs for Auth, Auth.Cookies, Auth.Certificate

Contributes to https://github.com/dotnet/aspnetcore/issues/26397

* Also add JWT

* Apply suggestions from code review

Co-authored-by: Hao Kung <HaoK@users.noreply.github.com>
Co-authored-by: Chris Ross <Tratcher@Outlook.com>

* Update src/Security/Authentication/Core/src/TicketSerializer.cs

* Update src/Security/Authentication/Core/src/TicketSerializer.cs

* Update src/Security/Authentication/Core/src/TicketSerializer.cs

* Apply suggestions from code review

Co-authored-by: Hao Kung <HaoK@users.noreply.github.com>
Co-authored-by: Chris Ross <Tratcher@Outlook.com>
2020-10-02 13:12:16 -07:00
John Luo acf1dc45c0
Api docs for ResponseCaching (#26531)
* Api docs for ResponseCaching

* Enable warnings for HostFiltering, HttpsPolicy and StaticFiles

* Update src/Middleware/ResponseCaching/src/ResponseCachingFeature.cs

Co-authored-by: Pranav K <prkrishn@hotmail.com>

* Add more details

Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-10-02 18:58:34 +00:00
Brennan 659532b16c
API docs for SignalR (#26445)
* API docs for SignalR

* Apply suggestions from code review

Co-authored-by: Stephen Halter <halter73@gmail.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>

Co-authored-by: Stephen Halter <halter73@gmail.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-10-02 10:14:32 -07:00