Граф коммитов

48234 Коммитов

Автор SHA1 Сообщение Дата
James Newton-King 0e5df998b5
HTTP headers enumerator move directly to next (#37538) 2021-10-14 20:50:44 +00:00
campersau 3239228949
Support generic value tuple parameters in components (#34737)
**PR Title**
Using generic value tuples as component parameters resulted in compilation failures which are now fixed.

**PR Description**
Value tuples need to be special cased when parsing type parameters.

Fixes https://github.com/dotnet/aspnetcore/issues/20838
2021-10-14 13:02:44 -07:00
Pranav K b569ccf308
Only attempt to import blazor-hotreload.js is AspNetCore Browser tools middleware is present (#37531)
* Only attempt to import blazor-hotreload.js is AspNetCore Browser tools middleware is present

Contributes to https://github.com/dotnet/aspnetcore/issues/37357
2021-10-14 12:57:53 -07:00
Egil Hansen e10b5cb2a2
Pass IJSVoidResult instead of object to Invoke to indicate void result (#37532)
* Pass IJSVoidResult to IJSInProcessObjectReference.Invoke from InvokeVoid

* Pass IJSVoidResult to IJSInProcessRuntime.Invoke from InvokeVoid

* Update src/Components/test/testassets/BasicTestApp/InteropComponent.razor

Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com>

* Update src/JSInterop/Microsoft.JSInterop/test/JSInProcessObjectReferenceExtensionsTest.cs

Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com>

* Update src/JSInterop/Microsoft.JSInterop/test/JSInProcessObjectReferenceExtensionsTest.cs

Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com>
2021-10-14 12:51:12 -07:00
dependabot[bot] e341758a18
Bump url-parse from 1.5.1 to 1.5.3 in /src/SignalR/clients/ts/signalr (#37313)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-14 12:26:44 -07:00
Martin Costello b923cee18c
Remove FakeStartup classes (#36988)
Remove the FakeStartup classes from the functional tests and expose
the Program classes of the relevant applications using partial classes instead.
2021-10-14 10:50:13 -07:00
Doug Bunting c8a3c224e7
Improve project reference consistency (#37338)
* Improve project reference consistency
  - use `Private` and `SkipGetTargetFrameworkProperties` w/ `ReferenceOutputAssemblies="false"`
    - correct meaningless `$(ReferenceOutputAssemblies)` settings; no such metadata
    - `Private="false"` avoids unnecessary file copies
    - `SkipGetTargetFrameworkProperties="true"` should reduce useless TFM negotiation
      - that said, it can't be used everywhere due to multi-targeting restrictions
  - do not use `PrivateAssets="All"` in `@(ProjectReference)` items or `@(Reference) items that become them
    - has no meaning in `@(ProjectReference)` items
  - add warnings about mixed-up application of `%(Private)` and `%(PrivateAssets)`

  nit: make references _look_ consistent too e.g. use consistent attribute order and wrap lines

* Remove most `UndefineProperties` use
  - should not be necessary
  - but, keep using this metadata when referring to .npmproj projects

* !fixup! Fix build issues found on CI
  - remove `SkipGetTargetFrameworkProperties="true"` from App.Ref reference to App.CodeFixes
    - need TFM negotiation when App.Ref builds on at least some platforms
    - firm up `net7.0` ➡️ `netstandard2.0` transition
  - fix typo in Rpm.TargetingPack.rpmproj
  - align Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj w/ Microsoft.AspNetCore.Runtime.SiteExtension.pkgproj
    - use same Microsoft.Web.Xdt.Extensions reference approach

  nit: remove extra Microsoft.AspNetCore.App.Analyzers references; brought in by App.CodeFixes
2021-10-13 22:01:47 -07:00
Pranav K b39d5c540a
Update node js version in container (#37534) 2021-10-14 01:00:27 +00:00
dotnet-maestro[bot] 0698417b85
[main] Update dependencies from dotnet/efcore (#37530)
[main] Update dependencies from dotnet/efcore
2021-10-14 00:50:33 +00:00
Chris Ross dc6bfe982c
Fix multiple dictionary add in polly (#37533) 2021-10-14 00:44:25 +00:00
Brennan 952f6e1583
Wait for Redis to be ready in tests (#37102) 2021-10-14 00:40:39 +00:00
Steve Sanderson d02192f634
Accessibility fixes in templates (#37479)
* Color contrast changes. Fixes 1412465

* Add "lang" attribute to <html>. Fixes 1411915

* Instruct screen readers to read out server-side validation messages. Fixes 1411027
2021-10-13 19:18:00 +01:00
smichtch 90c44f84f6
DefaultHealthCheckService uses CreateAsyncScope(). (#37297) 2021-10-13 11:16:09 -07:00
Steve Sanderson 504c502b6b
Don't start the .NET webassembly app inside the auth iframe. Fixes #37355 (#37515) 2021-10-13 18:59:00 +01:00
dotnet-maestro[bot] c83777e4e6
Update dependencies from https://github.com/dotnet/runtime build 20211012.6 (#37511)
[main] Update dependencies from dotnet/runtime
2021-10-13 16:17:03 +00:00
Brennan 0893ebb4a6
[main] Update SiteExtension (#37491) 2021-10-13 03:26:01 +00:00
dotnet-maestro[bot] 7191bec031
Update dependencies from https://github.com/dotnet/efcore build 20211012.2 (#37487)
[main] Update dependencies from dotnet/efcore
2021-10-12 18:30:20 +00:00
Doug Bunting 9ca2be836d
Add / update PR templates (#37412)
- add eng/PatchConfig.props reminder for release/2.1
- move related issue into **Description**
- address Markdown lint complaints
- create similar templates for internal PRs
- include new .azuredevops folder in CODEOWNERS
2021-10-12 09:28:25 -07:00
dotnet-maestro[bot] ba73270609
[main] Update dependencies from dotnet/runtime dotnet/efcore (#37484)
[main] Update dependencies from dotnet/runtime dotnet/efcore
2021-10-12 14:49:53 +00:00
dotnet-maestro[bot] 6e4217f8c3
Update dependencies from https://github.com/dotnet/efcore build 20211011.10 (#37466)
[main] Update dependencies from dotnet/efcore
2021-10-11 23:55:06 +00:00
dotnet-maestro[bot] 4bdaaebaa8
Update dependencies from https://github.com/dotnet/efcore build 20211011.9 (#37458)
[main] Update dependencies from dotnet/efcore
2021-10-11 20:09:02 +00:00
Martin Costello 8897997f3b
Fix IDE0059 suggestion (#37430)
Fix IDE0059 suggestion by using _ for the variable name.
2021-10-11 11:52:28 -07:00
campersau fb253446b7
Support "-" in authority hosts (#37429) 2021-10-11 11:44:21 -07:00
James Newton-King 974d6bcef3
HTTP/3: Abort connection on unexpected exception from AcceptStream (#37432) 2021-10-12 07:35:55 +13:00
James Newton-King 28a14bf38b
HTTP/3: Fix tests failing because of new error code (#37433) 2021-10-12 07:34:10 +13:00
dependabot[bot] cdf12a688c
[main] (deps): Bump src/submodules/googletest (#37444)
Bumps [src/submodules/googletest](https://github.com/google/googletest) from `3b49be0` to `075810f`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](3b49be074d...075810f7a2)

---
updated-dependencies:
- dependency-name: src/submodules/googletest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 11:33:38 -07:00
Javier Calvarro Nelson 0dedcf6705
[Infrastructure] Update nodejs to use node 16 (#37454) 2021-10-11 10:55:41 -07:00
dotnet-maestro[bot] ac98d77385
[main] Update dependencies from dotnet/runtime dotnet/efcore (#37353)
[main] Update dependencies from dotnet/runtime dotnet/efcore


 - Fixup nullability warnings

 - Secret mission to make templates verbose again

 - Update template tests to capture information (#37447)

* Update template tests to capture information
* Remove unwanted files
* Update SPA submodule with nullability fixes
2021-10-11 17:28:14 +00:00
dotnet-maestro[bot] 3016dc84c2
Update dependencies from https://github.com/dotnet/arcade build 20211008.1 (#37446)
[main] Update dependencies from dotnet/arcade
2021-10-11 13:54:46 +00:00
Doug Bunting 0199dcc4cd
Remove `SkipNonexistentProjects` settings (#37372)
- `SkipNonexistentTargets="false"` is the default and not worth mentioning
2021-10-08 15:52:41 -07:00
Eric Erhardt 8b0956028f
Fix MSBuild property name for MicrosoftBuildTasksCoreVersion (#37404)
There was a missing 's', which caused source-build to use a pre-built when building.
2021-10-08 20:56:07 +00:00
Chris Ross a06b39ebe5
Update SDK to 7.0.100-alpha.1.21480.20 (#37192)
* Update SDK to 7.0.100-alpha.1.21480.20


Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2021-10-08 13:30:02 -07:00
Omair Majid 64f0642371
Add more `crossgen2` dependencies (#37374)
* Fix build on an arm64 machine
  * Building ASP.NET Core on an arm64 machine leads to a dependency error
    because `crossgen2` is not listed in eng/Dependencies.props.
* Add all arm/arm64 variants
* Add all win variants for `crossgen2`

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2021-10-08 18:23:07 +00:00
Juan Barahona a3565c498e
Honoring error information on OAuth Exchange Code (#37224) 2021-10-08 10:23:20 -07:00
Tanay Parikh a0b950fc51
Add WebApi-CSharp Template Toggle Description (#37367)
Partial fix for https://github.com/dotnet/aspnetcore/issues/37202
2021-10-07 23:52:14 +00:00
dotnet-maestro[bot] d8e03e9fd0
Update dependencies from https://github.com/dotnet/efcore build 20211007.3 (#37352)
[main] Update dependencies from dotnet/efcore
2021-10-07 11:28:27 +00:00
Brennan 32898d26bb
Support struct IResults (#37344) 2021-10-06 22:17:04 -07:00
Tanay Parikh 34ed6d4978
Binary Logs for Test Jobs (#37339)
As requested in https://github.com/dotnet/aspnetcore/pull/37146#issuecomment-937279059
2021-10-07 01:21:43 +00:00
Safia Abdalla 0fa7c01c94
Don't allow modifying WebRootPath after initialization (#37147) (#37325)
* Don't allow modifying WebRootPath after initialization

* Address feedback from review

* Clean up directory handling in tests

* Add tests for WebRootPath resolution
2021-10-06 16:45:04 -07:00
Allison Chou 7e85e310d8
Add link for Razor tooling (#37336) 2021-10-06 22:11:27 +00:00
James Newton-King 72172bf0ce
Update gRPC template reference to Grpc.AspNetCore (#37168) 2021-10-07 11:00:30 +13:00
James Newton-King b7d2f0ece0
Remove trace interfaces from Kestrel transports (#37243) 2021-10-06 20:11:14 +00:00
Eric StJohn cec67a831f
Use WIX_NATIVE_MACHINE to detect native architecture of target machine (#37318)
* Use WIX_NATIVE_MACHINE to detect native architecture of target machine
* Reference WIX_NATIVE_MACHINE property
2021-10-06 13:02:50 -07:00
James Newton-King 6c5e668413
Remove IKestrelTrace (#37242) 2021-10-07 06:47:49 +13:00
Tanay Parikh 7dffb0b386
Unquarantine BlazorWasmHostedTemplate_AzureActiveDirectoryTemplate_Works (#37309)
Fixes: https://github.com/dotnet/aspnetcore/issues/30851
2021-10-06 09:37:25 -07:00
Martin Costello a7d3a230a7
Use HMACSHA1.HashData() for Identity TOTP values (#36724) 2021-10-06 08:55:02 -07:00
dotnet-maestro[bot] d847549c9b
Update dependencies from https://github.com/dotnet/efcore build 20211006.5 (#37322)
[main] Update dependencies from dotnet/efcore
2021-10-06 12:26:44 +00:00
Don Syme a9450745e0
Merge pull request #36986 from slang25/fsharp6
Use F# task ce in worker template
2021-10-06 11:48:07 +01:00
github-actions[bot] 4adf8f32c2
[main] Update WiX to signed build (#37317)
* Update WiX to signed build - #12078

* Update wix to 1.0.0-v3.14.0.5722

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2021-10-06 07:31:34 +00:00
Stephen Halter 1a4db562c4
Load IConfigurationProviders once in WebApplicationBuilder (#37039) 2021-10-05 23:45:54 +00:00