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

23182 Коммитов

Автор SHA1 Сообщение Дата
campersau 2a2f285430
Fix LogError argument order in WebAssemblyErrorBoundaryLogger (#39223) 2021-12-30 21:26:30 +00:00
Pranav K de86e242aa
Fixup formatting (#39246) 2021-12-30 18:36:48 +00:00
Doug Bunting e2707e1ed2
Work around dotnet/msbuild#3274 (#39146)
* Work around dotnet/msbuild#3274
- #38547
- handle a ApiDescription.Client code generator that uses `%(OutputPath)` as a directory
  - see also <https://stackoverflow.com/questions/48868060/can-a-task-itemgroup-glob-files>
- add tests for Microsoft.Extensions.ApiDescription.Client.targets
  - make `TemporaryCSharpProject` slightly extensible
  - allow project additions to `TemporaryDirectory` after `Create()`

nits:
- add comment about batching w/ a code generator that uses `%(OutputPath)` as a directory
- fix `%(SourceDocument)` metadata
  - primarily for back-tracing in detailed / binary logs
- remove useless `%(OutputPathExtension)` metadata; use `%(Extension)`
- remove useless `ConsoleClient` test asset project

* Handle symbolic links in `TemporaryDirectory`
- e.g. on macOS /var/folders resolves to /private/var/folders

* !fixup!
2021-12-29 16:05:51 -08:00
github-actions[bot] cf03093f24
Sync shared code from runtime (#39213)
Co-authored-by: Tratcher <Tratcher@users.noreply.github.com>
2021-12-28 09:55:13 -08:00
Pranav K a8e0beda30
Include the exception when logging in WebAssemblyErrorBoundaryLogger (#39202)
Fixes https://github.com/dotnet/aspnetcore/issues/39039
2021-12-27 20:36:50 +00:00
dependabot[bot] 462e46e4f2
[main] (deps): Bump src/submodules/googletest (#39196)
Bumps [src/submodules/googletest](https://github.com/google/googletest) from `97a4675` to `d81ae2f`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](97a467571a...d81ae2f0bf)

---
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-12-27 12:14:53 -08:00
Pranav K c65dac77cf
Fixup whitespace issues from top-level statement change (#39161)
* Fixup whitespace issues from top-level statement change

The top-level statement codefix resulted in the formatting within
nested lambdas to be incorrect in a number of places. As a part of this change,
I enabled the styling diagnostic and re-ran the tool to correct these issues.
2021-12-23 06:35:24 +00:00
Daniel Hottmeyer db03aaa88e
Ignore identical types when loading routable components (#39129)
* Ignore identical types when loading routable components

Instead of iterating over the list of types all the time, do a simple check if the additional assembly is the same as the app assembly and skip it.

Fixes #38882
2021-12-22 16:21:14 -08:00
Bekir Ozturk 7203d56273
Enable template localization (#38867) 2021-12-22 09:52:38 -08:00
Sébastien Ros 604535b58a
Fix new lines for SourceBuild (#39130) 2021-12-21 09:16:13 -08:00
dependabot[bot] 80c51bdfa9
[main] (deps): Bump src/submodules/googletest (#39120)
Bumps [src/submodules/googletest](https://github.com/google/googletest) from `054a986` to `97a4675`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](054a986a85...97a467571a)

---
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-12-20 11:42:45 -08:00
Chris Ross d434a4d205
Fix new lines in AssemblyInfo.cs (#39084) 2021-12-16 23:25:31 +00:00
Sébastien Ros df0c9f5e74
Don't reuse Pipe buffer when body is read (#39071)
Fixes #38771
2021-12-16 09:12:43 -08:00
Tanay Parikh fa368788c2
Stop enforcing JSON read till end if `EndInvokeJS` returns early (#39060)
* mono_crash.*.blob

* Stop enforcing read till end if EndInvoke returns early

* Tests

* Test name change

* Fix tests

* PR Feedback @pranavkm
2021-12-16 00:11:41 +00:00
MaceWindu b9d0230b02
Update xml-doc comment for `IEndpointRouteBuilder.ServiceProvider` (#39055)
Old text doesn't make sense to me..
2021-12-15 08:58:13 -08:00
William Godbe 5b742abe2f
Use full suffixed version for DepProviderKey in installers (#39022) 2021-12-14 14:02:42 -08:00
William Godbe d86a79c5e3
Remove SuppressBaselineReference items from 6.0 (#39023)
* Remove SuppressBaselineReference items from 6.0

* Undo one
2021-12-14 13:47:46 -08:00
Hao Kung d5a337c392
Port MSRC fixes (#39034) 2021-12-14 13:34:10 -08:00
Leo 5c21bfaa3c
Updated sample to use new TLS Api (#39015) 2021-12-14 19:33:40 +00:00
Chris Ross d18cb2e4b3
Add a dependency on System.Threading.RateLimiting (#39021) 2021-12-14 19:04:59 +00:00
Philipp Voronin a4fe58d890
Prevent SignalR Hub from being cached from CDN on LongPolling (#38901) 2021-12-14 09:54:00 -08:00
James Newton-King 8c2a9c9d3f
HTTP/3: Optimize validating and setting incoming headers (#39013) 2021-12-14 04:40:46 +00:00
Doug Bunting f072ff85b5
!nits! Build cleanup (#38979)
- condense `$(_UseHelixOpenQueues)` YAML
- restore ability to override `$(IsUnitTestProject)`
- treat `$(IsUnitTestProject)` and `$(IsTestProject)` as `bool` after Arcade SDK.props imported
- avoid attempts to override `$(RunQuarantinedTests)`; it's set globally
- remove unnecessary `$(IsUnitTestProject)` and `$(IsTestProject)` settings
  - override `$(IsUnitTestProject)` (not `$(IsTestProject)`) _before_ root Directory.Build.props
2021-12-13 15:34:17 -08:00
James Newton-King e0d9fd4c1f
Split IHttpHeadersHandler into internal and pubinternal copies (#38982) 2021-12-13 22:41:14 +00:00
James Newton-King 260137eee3
Add logging to PersistentState_StreamsReused_StatePersisted (#39003) 2021-12-13 21:36:49 +00:00
Tanay Parikh d73aa15d6f
Quarantine PersistentState_StreamsReused_StatePersisted (#38999)
https://github.com/dotnet/aspnetcore/issues/38998
2021-12-13 21:29:17 +00:00
Tanay Parikh 69f09eea69
Quarantine ShutdownTimeoutIsApplied (#38996)
https://github.com/dotnet/aspnetcore/issues/38995
2021-12-13 11:57:25 -08:00
Hao Kung 3792b26b9f
Turn off parallelization for ShadowCopy tests (#38956) 2021-12-13 09:45:23 -08:00
dependabot[bot] a1c7ef73c0
[main] (deps): Bump src/submodules/googletest (#38988)
Bumps [src/submodules/googletest](https://github.com/google/googletest) from `d61d4d8` to `054a986`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](d61d4d8e64...054a986a85)

---
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-12-13 09:31:48 -08:00
Tanay Parikh 6ac0656f5c
Quarantine CheckUTF8File (#38958)
https://github.com/dotnet/aspnetcore/issues/38957
2021-12-11 14:52:58 -08:00
Tanay Parikh a47a6cb1f2
Quarantine UseUrls_HelloWorld_ClientSuccess (#38955) 2021-12-10 23:18:23 +00:00
Tanay Parikh 902cb5b931
Quarantine ShutdownTests (#38952)
* Quarantine GracefulShutdownWorksWithMultipleRequestsInFlight_InProcess

* ConfigurationTouchedStress_InProcess
2021-12-10 23:08:59 +00:00
Stephen Halter 7905931316
Quarantine ShadowCopyCleansUpOlderFolders (#38932) 2021-12-10 12:26:06 -08:00
Bruno Oliveira a39afae2bf
Using DictionaryKeyPolicy during ProblemDetails.Errors conversion to JSON (#38853)
* Adding Write operation unit tests

* Updating converter to use DictionaryKeyPolicy

* Remove empty lines

* Using cleanup

* Moving to S.T.J  Serialize method
2021-12-10 09:32:45 -08:00
Aditya Mandaleeka 5e791df47f
Rename SetScript variants. (#38928) 2021-12-09 21:16:34 -08:00
James Newton-King 7672ca91ab
HTTP/2: Improve incoming header performance (#38834) 2021-12-10 00:05:48 +00:00
Philipp Voronin aa615efce0
Fix RedisCache update that breaks usage against older redis servers (#38860)
* Fix RedisCache update that breaks usage against older redis servers (#38715)

* Suggested changes (#38715)

* Suggested changes (#38715)

* Explanation of why two kinds of SetScript are used

* Rename LatestSetScript to SetScriptPerExtendedSetCommand (#38715)
2021-12-09 15:29:39 -08:00
Pavel Vorozheykin 7ea93414bd
LdapAdapter: Keep track of already processed groups to account for circular references (#38817) 2021-12-09 14:56:11 -08:00
Christopher Yeleighton c1bb0f3616
API doc updates (#38852) 2021-12-09 20:17:03 +00:00
Omair Majid 73db5e40bb
Remove unnecessary unicode control characters (#38900)
https://trojansource.codes/ demonstrated that unicode control
characters could be used in attacks. Now most IDEs, editors and code
browsers (including GitHub) warn about these.

Delete these from source to remove a source of confusion for anyone
going through this code.

The characters were introduced by
https://github.com/dotnet/aspnetcore/pull/32245 and you can see an
example of the warnings shown by GitHub here:
69308dafed/src/Http/Http/src/Features/FormOptions.cs
2021-12-08 20:08:14 +00:00
Leo 7c95f2fca4
Kestrel HTTP 1/1: Set 'Connection: close' header when produces 413 Payload too large (#38884) 2021-12-08 20:03:57 +00:00
Mikel Blanchard d84666f43f
Microsoft.AspNetCore.Http: Decorate priorFeature as nullable on StreamResponseBodyFeature ctor (#38875)
* Decorate priorFeature as nullable on StreamResponseBodyFeature ctor.
2021-12-08 10:16:29 -08:00
Hao Kung a364bcbd1c
Turn off parallelization on new long iis tests (#38881) 2021-12-08 00:57:16 +00:00
James Newton-King 04789d555c
HTTP/3: QPACK decoder performance (#38826) 2021-12-07 14:47:45 +13:00
Bruno Oliveira 9f2d5273ea
Merge pull request #38801 from brunolins16/brunolins16/issues/18403
Avoiding Inferred required attribute when default value is defined
2021-12-06 12:29:24 -08:00
Bruno Oliveira 779c47602c Remove extra nulable 2021-12-06 10:42:03 -08:00
dependabot[bot] bf9225b8d7
[main] (deps): Bump src/submodules/googletest (#38838)
Bumps [src/submodules/googletest](https://github.com/google/googletest) from `e2f3978` to `d61d4d8`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](e2f3978937...d61d4d8e64)

---
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-12-06 09:58:46 -08:00
Christopher Yeleighton dc69e88db6
ModelMetadata doc: How to set Placeholder (#38820)
* ModelMetadata doc: How to set Placeholder
2021-12-05 08:24:52 -08:00
Pranav K ddf24d9f41
chore - Use `HttpMethods` (#38466)
Use `HttpMethods` instead of hardcode
2021-12-04 13:38:41 -08:00
Hao Kung 9c29067c40
Unquarantine tests / skip BlazorTemplateTests 2021-12-04 02:09:55 +00:00