Doug Bunting
16be480616
Quarantine tests and bump Helix timeouts ( #23762 )
...
- see #23756 and #23757 for more info on quarantined tests
- see #23760 for more info on Helix timeouts
2020-07-07 19:56:30 -07:00
Brennan
d0ab959c89
TestServer registers NoopHostLifetime to avoid hangs from not disposing ( #23761 )
2020-07-07 19:50:31 -07:00
James Newton-King
3709eda270
Fix HTTP/2 stream output flow control abort error ( #23727 )
...
* Fix stream output flow control abort error
* Clean up
* Clean up
* Add timeouts
2020-07-08 01:41:23 +00:00
Eric Erhardt
cc3c1d0e74
Remove unnecessary entries in LinkerWorkaround for WASM. ( #23747 )
...
* The underlying Json issue is fixed.
* The X509 issue is not an issue when TrimMode is set to link (which is it now by default).
Contributes to #23262
2020-07-08 01:00:21 +00:00
Brennan
f1dd68f1bd
[Middleware] Move to GenericHost ( #23626 )
2020-07-07 17:32:35 -07:00
Pranav K
93634cd772
Follow ups for nullable ( #23736 )
...
* Follow ups for nullable
* Update src/Http/Routing/src/Matching/DfaMatcherBuilder.cs
Co-authored-by: James Newton-King <james@newtonking.com>
Co-authored-by: James Newton-King <james@newtonking.com>
2020-07-07 21:46:50 +00:00
Hao Kung
380a5679bb
Remove bootstrap v3 ( #23547 )
2020-07-07 11:40:30 -07:00
Steve Sanderson
0ec15ea01d
CR: Add ctor overload accepting IComponentActivator
2020-07-07 19:27:21 +01:00
Steve Sanderson
9e365f4356
CR: Make DefaultComponentActivator internal
2020-07-07 19:27:21 +01:00
Steve Sanderson
53588b45dc
Updates to IComponentActivator PR
2020-07-07 19:27:21 +01:00
Mladen Macanović
dae55edfec
Add IComponentActivator
2020-07-07 19:27:21 +01:00
Javier Calvarro Nelson
156023d3f9
[HTTPS] Support exporting the dev-cert in PEM format and support importing an existing dev-cert in PFX ( #23567 )
...
* Support exporting the certificate key into PEM format
* Support importing an existing https dev certificate into the certificate store
2020-07-07 08:26:08 -07:00
Martin Costello
54bd692c78
Use TryGetValue() in TokenExtensions ( #23708 )
2020-07-06 22:27:59 -07:00
Pranav K
8750cd1038
Nullable followup for Routing ( #23474 )
...
* Nullable followup for routing.
* Update nullability based on usage
* Use nullable enable in a few files
* More nullable
2020-07-07 03:24:20 +00:00
Martin Costello
fd1f1c3559
Use preferred overloads of string.Split() ( #23712 )
...
* Use preferred overloads of string.Split
* Revert TrimEntries for netstandard2.0
Revert usage of StringSplit.TrimEntries for projects that target netstandard2.0.
Co-authored-by: Levi Broderick <levib@microsoft.com>
2020-07-06 16:49:38 -07:00
msftbot[bot]
a738d1ccfb
Merge pull request #23717 from dotnet-maestro-bot/merge/release/5.0-preview7-to-master
...
[automated] Merge branch 'release/5.0-preview7' => 'master'
2020-07-06 23:41:07 +00:00
Tanay Parikh
1c2a0f4fe6
Add Razor TagHelper Parsing Benchmarks ( #23627 )
...
* Add Razor TagHelper Parsing Benchmarks
Benchmarks:
| Method | Mean | Error | StdDev | Op/s | Allocated |
|---------------------------------------- |------------:|----------:|----------:|---------:|----------:|
| 'TagHelper Design Time Processing' | 2,331.51 us | 28.916 us | 27.048 us | 428.9 | 985.33 KB |
| 'TagHelper Component Directive Parsing' | 90.46 us | 0.472 us | 0.394 us | 11,055.1 | 3.01 KB |
Notes / Attributions:
- `BlazorServerTagHelpers` is just a demo file concatonated from the basic `BlazorServer` files
- `taghelpers.json` was updated from: 73c96f1c00/src/Razor/benchmarks/Microsoft.AspNetCore.Razor.Performance/taghelpers.json
- `ReadTagHelpers` was copied over from fef50ba623/src/Razor/benchmarks/Microsoft.AspNetCore.Razor.Performance/ProjectSystem/ProjectSnapshotManagerBenchmarkBase.cs (L83-L93)
Fixes: https://github.com/dotnet/aspnetcore/issues/23454
2020-07-06 16:32:12 -07:00
Ajay Bhargav B
7412976b4c
Update Roslyn package versions ( #23630 )
...
* Update Roslyn package versions
* Fixes
* Fix analyzer warnings
* Fix root cause for analyzer warnings
* Fixed RuntimeCompilation test
* Add back nowarns
2020-07-06 14:35:10 -07:00
N. Taylor Mullen
17b01ae667
Fix PoliCheck issues
...
Fixes https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1151846
Fixes https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1151847
2020-07-06 13:02:45 -07:00
Kahbazi
5a375a7c22
Add Extensions method for options ( #23602 )
2020-07-06 11:54:44 -07:00
Martin Costello
bbb695fe16
Minor code refactoring to TestHost library ( #23692 )
...
* Make fields readonly
Make a number of fields that aren't changed readonly.
* Use range to trim string
Use a range to trim the last character of the paths.
* Use nameof()
Use nameof() for exceptions rather than literals.
* Use Task.CompletedTask
Use Task.CompletedTask instead of Task.FromResult().
* Use Array.Empty()
Use Array.Empty() instead of allocating an empty array.
* Remove unused parameter
Remove unused CancellationToken parameter.
* Fix compilation error
Fix compilation error.
* Apply suggestions from code review
Add comment explaining range syntax.
2020-07-06 11:52:53 -07:00
Stephen Halter
0bc8ad7e6e
Change HttpRequest/ResponseJsonExtensions namespace ( #23496 )
2020-07-06 11:28:57 -07:00
Martin Costello
a97746b72b
Remove used-once field ( #23693 )
...
Remove a field that's only used in one place, and just pass the char directly to string.Join() on use.
2020-07-06 10:32:15 -07:00
Pranav K
4b796c7bad
Quarantine components tests ( #23644 )
2020-07-06 10:30:10 -07:00
Brennan
f6bc908a32
Write default values by default in Json ( #23542 )
2020-07-06 10:08:55 -07:00
Stephen Halter
a57a80fcfb
Fix ContentLengthReadAsyncSingleBytesAtATime ( #23641 )
2020-07-06 09:48:07 -07:00
Martin Costello
afbf3fdf6a
Remove unused code ( #23691 )
...
Remove an unused private method and an unused local variable.
2020-07-06 08:51:25 -07:00
Pranav K
80de1e7588
Quarantine test ( #23636 )
2020-07-06 15:49:33 +00:00
Javier Calvarro Nelson
9d3bf572b3
[HTTPS] Adds PEM support for Kestrel ( #23584 )
...
* Adds support for loading PEM certificates and keys in Kestrel.
* You can load PEM Certificate + PKCS8 encoded PEM Keys.
* Certificates in DER format + PKCS8 encoded PEM Keys.
* Supported key types are:
* RSA
* ECSA
* DSA
2020-07-06 06:48:46 -07:00
Pranav K
de034feb98
Merge branch 'master' into merge/release/5.0-preview7-to-master
2020-07-05 20:54:56 -07:00
Martin Costello
4b3fcaf769
Use new string.Split() overloads ( #23683 )
2020-07-05 13:16:15 -07:00
Martin Costello
3d5c8ed114
Use Array.Empty in WebEncoders ( #23677 )
2020-07-05 13:11:36 -07:00
Chris Ross
df5269fea2
React to regression in Http.Sys ( #23590 )
...
* React to regression in Http.Sys #23164
* Add granular version check
2020-07-04 17:12:19 +00:00
Pranav K
499a3bcdc1
Add support for gzip compression during build and publish ( #23611 )
...
* Add support for gzip compression during build and publish
3.2 shipped with gzip compression during build and publish. During the port to 5.0, the build and publish
pipeline was different and ended up only during brotli compression during publish. However, during build
the app size is now up to 20MB. Statically compressing runtime assets during build reduces the payload size
to about 8.5 MB. This should help with faster initial boot ups and perception.
* Quarantine test
* More quarantine
2020-07-03 17:20:17 -07:00
Pranav K
1ed72f8f5f
Merge pull request #23631 from dotnet/prkrishn/merge-p7
...
Merge branch 'release/5.0-preview7' => 'master'
2020-07-03 15:03:38 -07:00
Pranav K
035ab19f31
Update PlatformInfo.cs ( #23647 )
...
* Update PlatformInfo.cs
* Simplify ComponentsProfiling initialization
2020-07-03 07:40:17 -07:00
Chris Ross
8182bb16a9
Disable cookie name encoding/decoding. ( #23579 )
2020-07-02 16:20:55 -07:00
Pranav K
c67ecd2cf0
Quarantine test
2020-07-02 15:26:28 -07:00
Brennan
aedcfbd5c0
Update RequestTests.cs ( #23629 )
2020-07-02 20:23:40 +00:00
Mackinnon Buck
a729c4230e
InputRadio component with form support ( #23415 )
...
* Started on InputRadio forms component.
* Added E2E test for InputRadio.
* Added docstring for InputRadio.
* Changed value to be serialized using BindConverter.
* Added InputChoice for choice-based inputs.
InputChoice contains checks for valid choice types that used to exist in InputSelect. Both InputSelect and InputRadio now derive from InputChoice and thus also contain those checks.
* Added InputRadioGroup.
* Small fix.
* Removed InputChoice, cleaned up.
* Added internal access modifier to InputExtensions.
* Small improvements.
* Updated an outdated exception message.
* Updated test to reflect updated exception message.
* Improved API to enforce InputRadioGroup.
* Added support for InputSelect int and Guid bindings.
* Changed validation CSS classes to influence InputRadio components.
2020-07-02 11:48:34 -07:00
Pranav K
9a4e6cf97c
Merge remote-tracking branch 'origin/release/5.0-preview7'
2020-07-02 11:42:14 -07:00
Pranav K
b7d9e8cfea
FIxup2 ( #23618 )
2020-07-02 17:29:26 +00:00
Pranav K
dcd32c0d14
Quarantine tests ( #23598 )
...
* Quarantine tests
* Quarantine shutdowntest
2020-07-02 16:22:56 +00:00
Phillip Carter
a722c4cd7a
Add F# worker service template ( #22042 )
2020-07-01 22:51:45 +00:00
Steve Sanderson
2cbc7a44cf
Use hasOwnProperty in a more robust way in JS interop. Fixes #23448 ( #23573 )
...
* Use hasOwnProperty in a more robust way in JS interop. Fixes #23448
* Update JS
2020-07-01 22:59:34 +01:00
James Newton-King
01de355289
Don't set StatusCode in WriteAsJsonAsync ( #23583 )
2020-07-02 09:48:05 +12:00
dotnet-maestro[bot]
a4dd539b40
[master] Update dependencies from dotnet/runtime ( #23563 )
...
* Update dependencies from https://github.com/dotnet/runtime build 20200630.14
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging.Configuration , 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.Internal.Transport , Microsoft.Extensions.Options.DataAnnotations , Microsoft.Extensions.Primitives , Microsoft.Extensions.Http , Microsoft.Extensions.Hosting , 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.Hosting.Abstractions , Microsoft.Extensions.Configuration.Ini , Microsoft.Extensions.Configuration.UserSecrets , Microsoft.Extensions.Configuration.Xml , 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.Configuration.Json , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Drawing.Common , System.Security.Principal.Windows , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.Security.Permissions , System.Security.Cryptography.Xml , System.Security.Cryptography.Pkcs , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Runtime.CompilerServices.Unsafe , System.Security.Cryptography.Cng
From Version 5.0.0-preview.8.20328.6 -> To Version 5.0.0-preview.8.20330.14
* React to obsoletion
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-07-01 15:57:26 +00:00
Pranav K
dc4670e8d5
Merge pull request #23427 from dotnet-maestro-bot/merge/release/5.0-preview7-to-master
...
[automated] Merge branch 'release/5.0-preview7' => 'master'
2020-07-01 07:27:53 -07:00
Steve Sanderson
3cbe02f2fc
Blazor WebAssembly internal profiling infrastructure ( #23510 )
2020-07-01 11:28:13 +01:00
Tibor Tóth
1688b5a30b
ClientCollection builder methods returns with client ( #13437 )
2020-07-01 00:00:26 -07:00