Stephen Halter
7f4af095f7
Add timeout to all awaits in GlobbingAppTests ( #23938 )
2020-07-15 18:52:37 -07:00
Eric Erhardt
7b42cf1275
Default new runtime feature switches ( #23932 )
...
* Default new runtime feature switches
These new feature switches have been added to the runtime to make applications smaller. Setting reasonable defaults to Blazor wasm projects.
Fix #23716
* PR feedback
2020-07-16 01:19:07 +00:00
John Luo
028cb6b108
Remove duplicate test added automatically by merge
2020-07-15 01:01:04 -07:00
John Luo
a494961c3b
Merge branch 'master' into merge/release/3.1-to-master
2020-07-15 00:29:31 -07:00
Safia Abdalla
303a9bfe33
Spruce up async handling in OnNavigateAsync callback in Blazor router ( #23835 )
...
* Spruce up async handling in OnNavigateAsync
* Apply suggestions from code review
Co-authored-by: Günther Foidl <gue@korporal.at>
* Ensure previous task awaited before starting next one
* Apply suggestions from code review
Co-authored-by: Pranav K <prkrishn@hotmail.com>
* Validate no exceptions throw on multiple invocations
* Address feedback from peer review
Co-authored-by: Günther Foidl <gue@korporal.at>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-07-15 04:20:08 +00:00
Sean G. Wright
d05427580b
Update MiddlewareFilterBuilder.cs ( #23793 )
...
Comment grammar typo for _pipelinesCache
2020-07-14 17:29:49 -07:00
John Luo
d101de8d1c
Add sharedfx and targeting pack tests ( #23045 ) ( #23070 )
...
* Add sharedfx and targeting pack tests (#23045 )
* Add test for assembly versions
* Add test for framework list
* Add some hardcoded lists for sharedfx and targeting pack content
* Fix failing tests
* Fix targeting pack tests
* Feedback
2020-07-14 17:17:04 -07:00
John Luo
d45e6b25f4
Fix AzureAd options validation ( #23096 )
2020-07-14 17:15:12 -07:00
Kahbazi
9d7c3aff96
[Mvc] Adds SignIn and SignOut method overloads without authentication scheme to ControllerBase ( #23604 )
2020-07-14 10:58:13 -07:00
Brennan
f0bb1315cc
Quarantine Publish_WithoutLinkerAndCompression_UpdatesFilesWhenSourcesChange ( #23900 )
2020-07-13 18:18:25 -07:00
Brennan
506a856d47
Unquarantine passing tests ( #23915 )
2020-07-13 16:27:00 -07:00
Pranav K
69ec50bfd8
Increase test timeouts ( #23868 )
2020-07-13 21:58:54 +00:00
dotnet-maestro[bot]
8ed59a4e82
[master] Update dependencies from dotnet/efcore dotnet/runtime dotnet/roslyn ( #23805 )
...
* Update dependencies from https://github.com/dotnet/runtime build 20200708.9
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.20357.14 -> To Version 5.0.0-preview.8.20358.9
* Update dependencies from https://github.com/dotnet/efcore build 20200709.1
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20358.5 -> To Version 5.0.0-preview.8.20359.1
* Update eng/Version.Details.xml
* Update eng/Version.Details.xml
* Update dependencies from https://github.com/dotnet/efcore build 20200709.2
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20358.5 -> To Version 5.0.0-preview.8.20359.2
* Update dependencies from https://github.com/dotnet/efcore build 20200710.1
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20358.5 -> To Version 5.0.0-preview.8.20360.1
* Update dependencies from https://github.com/dotnet/runtime build 20200710.2
System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Drawing.Common , System.IO.Pipelines , 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.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.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.Hosting , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Http , Microsoft.Extensions.Logging , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Net.Http.Json , System.Net.WebSockets.WebSocketProtocol , System.Net.Http.WinHttpHandler , System.Windows.Extensions , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.CompilerServices.Unsafe , System.Security.Cryptography.Cng , 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
From Version 5.0.0-preview.8.20357.14 -> To Version 5.0.0-preview.8.20360.2
* Update dependencies from https://github.com/dotnet/efcore build 20200710.4
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20358.5 -> To Version 5.0.0-preview.8.20360.4
* Update dependencies from https://github.com/dotnet/efcore build 20200710.8
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20358.5 -> To Version 5.0.0-preview.8.20360.8
* Update dependencies from https://github.com/dotnet/runtime build 20200711.2
System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Drawing.Common , System.IO.Pipelines , 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.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.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.Hosting , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Http , Microsoft.Extensions.Logging , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Windows.Extensions , System.Threading.Channels , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.CompilerServices.Unsafe , System.Security.Cryptography.Cng , 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
From Version 5.0.0-preview.8.20357.14 -> To Version 5.0.0-preview.8.20361.2
* Update dependencies from https://github.com/dotnet/roslyn build 20200711.1
Microsoft.Net.Compilers.Toolset
From Version 3.8.0-1.20353.1 -> To Version 3.8.0-1.20361.1
* Update CompareAttribute test
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Ryan Brandenburg <rybrande@microsoft.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-07-13 17:27:14 +00:00
Steve Sanderson
90b697f92e
Razor compiler emit CSS scope attributes ( #23703 )
2020-07-13 17:27:27 +01:00
Hao Kung
fae3dd12ae
Switch to new host apis ( #23783 )
...
* Update tests
* Switch to new host apis
* Update host apis
* Update CookieTests.cs
* Update tests
* PR feedback/cleanup
* More cleanup
2020-07-11 00:56:18 +00:00
github-actions[bot]
241e45d2b9
Sync shared code from runtime ( #23853 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-11 00:45:53 +00:00
Brennan
dbfdc5c87b
Update StaticWebAssetsIntegrationTest.cs ( #23859 )
2020-07-10 15:34:26 -07:00
Brennan
aee40dbd36
Quarantine flaky Watch tests ( #23855 )
2020-07-10 15:34:10 -07:00
Brennan
c243bee67a
Quarantine flaky Components tests ( #23857 )
2020-07-10 13:25:40 -07:00
msftbot[bot]
083f81d760
Merge pull request #23852 from dotnet-maestro-bot/merge/release/5.0-preview7-to-master
...
[automated] Merge branch 'release/5.0-preview7' => 'master'
2020-07-10 17:19:57 +00:00
Doug Bunting
59433bcadd
Move to latest NuGet.exe ( #23786 )
...
* Move to latest NuGet.exe
- 5.3.0 -> 5.6.0
- should improve performance and may improve reliability
* Also switch from NuGet.Build.Tasks to NuGet.Packaging
- move to 5.6.0 version here too
- reduce transitive dependencies; we don't need them all
2020-07-10 10:15:45 -07:00
Ryan Brandenburg
917078ddb7
Merge pull request #21928 from Kahbazi/patch-15
...
Remove Obsolete constructor in RequestLocalizationMiddleware
2020-07-10 09:43:03 -07:00
github-actions[bot]
c45e0d707d
Sync shared code from runtime ( #23843 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-10 09:40:47 -07:00
Pranav K
90a4707de0
Ensure DevServer has the AspNetCore.App runtime in runtimeconfig.json ( #23814 )
2020-07-10 09:03:24 -07:00
Vasilev Pyotr
5d170de769
Add support custom client hub method name ( #23614 )
2020-07-09 17:58:47 -07:00
Mackinnon Buck
3192da4443
Protected Browser Storage ( #23553 )
...
* Migrated protected browser storage.
* Added E2E tests.
* Added safeguard against using ProtectedBrowserStorage in wasm.
* Added TryGetValue.
* Added Microsoft.AspNetCore.Components.Web.Extensions
* Minor cleanup
* Moved ProtectedBrowserStorage out of Web.JS.
* Delete Microsoft.AspNetCore.Components.Web.Extensions.netcoreapp.cs
* Updated ProjectReferences.props
* Improvements and cleanup.
* Update Microsoft.AspNetCore.Components.Web.Extensions.csproj
* Added Web.Extensions to the VS solution.
2020-07-09 17:10:10 -07:00
John Luo
2440c05c2b
Skip gRPC template test on Windows 8.1 ( #23828 )
2020-07-10 00:09:15 +00:00
Ryan Brandenburg
b501f13fb3
Quarantine a flaky test ( #23827 )
2020-07-09 23:44:29 +00:00
Youssef Victor
32b8ad6dce
Add missing comma to xml documentation ( #23634 )
2020-07-09 16:02:11 -07:00
Ryan Brandenburg
a5901c084a
Include Assets in helix builds ( #23784 )
...
* Include Assets in helix builds
* Fix IdentityUI test
2020-07-09 13:47:51 -07:00
Javier Calvarro Nelson
0c5c1771ef
[Https] Export the certificate in PEM format too ( #23803 )
...
* Changed `--key-format` to `--format`.
* Changed the format of the certificate to PEM when `--format pem` is indicated.
2020-07-09 10:04:12 -07:00
github-actions[bot]
eac4925653
Sync shared code from runtime ( #23796 )
2020-07-09 08:24:42 -07:00
Steve Sanderson
6cb575216f
Cache JS->.NET string decoding results within a single renderbatch ( #23773 )
2020-07-09 14:40:37 +01:00
Kahbazi
906d5e3db0
Update reference assemblies
2020-07-09 12:02:44 +04:30
Kahbazi
d16d426efd
Remove Obsolete constructor in RequestLocalizationMiddleware
2020-07-09 12:01:29 +04:30
Brennan
c202344d27
[Java] Test accessTokenProvider usage ( #23751 )
2020-07-08 19:18:25 -07:00
Safia Abdalla
bbc116254a
Add framework support for lazy-loading assemblies on route change ( #23290 )
...
* Add framework support for lazy-loading assemblies on route change
* Configure lazy-loaded assemblies in WebAssemblyLazyLoadDefinition
* Move tests to WebAssembly-only scenarios
* Refactor RouteTableFactory and add WebAssemblyDynamicResourceLoader
* Address feedback from peer review
* Rename 'dynamicAssembly' to 'lazyAssembly' and address peer review
* Add sample with loading state
* Update Router API and assembly loading tests
* Support and test cancellation and pre-rendering
* Apply suggestions from code review
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
* Spurce up API and add tests for pre-rendering scenario
* Use CT instead of CTS in NavigationContext
* Address feedback from peer review
* Remove extra test file and update Router
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2020-07-08 18:16:47 -07:00
Kevin Pilch
3117f43c33
Migrate to single sln file + slnf files ( #23581 )
2020-07-08 15:27:22 -07:00
Kevin Pilch
1da13e6501
Enable FxCop Analyzers for the repo ( #23709 )
...
All rules are currently disabled, except for one that I enabled for
src/Http via a new ".editorconfig" file I added there.
Other changes:
* Allow editorconfigs in MVC and Razor to flow to the root
* Consolidate a few editorconfig settings
* Tweak Ruleset config in Azure/AzureAD where it clashed.
Addresses the beginning of #9620 , but it's a fair chunk of work to
enable most rules through the whole repo. That can be done directory by
directory and rule by rule by dropping .editorconfig files though.
2020-07-08 15:26:22 -07:00
Steve Gordon
f83ce075ca
Fix summary comment ( #23702 )
...
It seems like this should say "locked out", rather than "logged out".
2020-07-08 21:13:11 +00:00
Pranav K
763a18ee56
Avoid running restores for dotnet-watch run ( #23421 )
...
* Tweaks to make dotnet-watch run faster
* Previously dotnet-watch calculated the watch file list on every run by invoking MSBuild. This
changes the tool to only calculate it if an MSBuild file (.targets, .props, .csproj etc) file changed
* For dotnet watch run and dotnet watch test command, use --no-restore if changed file is not an MSBuild file.
* Add opt-out switch
* Update src/Tools/dotnet-watch/README.md
* Fixup typo
* Update src/Tools/dotnet-watch/README.md
2020-07-08 18:56:25 +00:00
Martin Costello
769fc6d289
Cache Entries' Count for loops ( #23707 )
...
Cache the value of Entries.Count into a local when enumerating loops, rather than re-evaluating on each pass.
2020-07-08 09:40:49 -07:00
Steve Sanderson
1bccebd22a
Fix razor whitespace removal in methods ( #23699 )
2020-07-08 12:43:09 +01:00
Steve Sanderson
c5ba43f011
CSS isolation rewriter tool ( #23657 )
2020-07-08 12:42:22 +01:00
Chris Sainty
b8c5193562
[Blazor][Wasm] Expose login mode option for AAD and AAD B2C Authentication ( #23694 )
...
* Adds a login mode option via MSAL provider options and updates the AuthenticationService.ts to use the new setting
2020-07-08 04:26:33 -07:00
Huei Feng
37a4457150
Update `StaticWebAssetsFileProvider NormalizePath` ( #22418 )
...
Skips an unnecessary null check.
2020-07-08 01:58:39 -07:00
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
Pranav K
8768cab874
Use linker extensibility to enable better trimming ( #23512 )
...
* Use linker extensibility to enable better trimming
* Configure TrimmerDefaults=link if unspecified
* Allow Microsoft.AspNetCore.* and Microsoft.Extensions.* packages to be trimmed.
* Make producing the trimmer root descriptor more incremental
2020-06-30 20:39:58 -07:00
Hans Bakker
5db89514e8
Allow extensibility of DefaultAuthorizationService ( #23143 )
...
* Allow extensibility of DefaultAuthorizationService
When only a small behavior change of the `DefaultAuthorizationService` is wanted, it would be nice if you could override its methods and building upon them rather than having a copy-paste of the class in your codebase.
Inside the `override` methods in your inherited class you could call the `base` method to reuse parts of its logic.
Please refer to https://github.com/dotnet/aspnetcore/issues/23094 for the usecase.
* updated ref assembly
2020-06-30 17:06:00 -07:00
Chris Ross
c78a4dd63f
Quarantine ServerReset_BeforeRequestBody_ClientBodyThrows ( #23541 )
2020-06-30 23:33:42 +00:00
Filip Staffa
e1d4728d90
Fix HeaderSegmentCollection failing when header value has a trailing space ( #23159 )
...
Co-authored-by: Filip Staffa <git@filipstaffa.net>
2020-06-30 15:05:54 -07:00