Commit Graph

44331 Commits

Author SHA1 Message Date
Ryan Nowak f150e89125 Add file/non-file and generic fallback
Adds new constraints for checking if a route value is a file or not.

Added a new set of builder methods that specify what it means to be a
'fallback'. This is really similar to what the older SPA fallback routes
do, but this is lower in the stack and directly integrated with
endpoints.
2019-03-06 09:48:07 -08:00
David Fowler 4c79e7fdc0
Rename Pipe properties (#8227)
* Rename Pipe properties
- Rename BodyPipe to BodyReader and BodyWriter on the request and response directly
2019-03-06 07:33:24 -08:00
Mikael Mengistu 563a488f3b Add baseline test (#7988)
- mostly matching what's in `release/2.2`
2019-03-05 15:50:25 -08:00
Ajay Bhargav Baaskaran 1657080589 Correctly normalize file path from network shares (dotnet/aspnetcore-tooling#298)
* Correctly normalize file path from network shares

* Feedback
\n\nCommit migrated from 8ee676d84c
2019-03-05 15:13:54 -08:00
Andrew Stanton-Nurse 303a354993
skip another flaky kestrel test in helix (#8216)
related #8215
2019-03-05 15:09:56 -08:00
Jeremy Lawrence a1f544b62f Correct doc comment for ApiConventionTypeMatchBehavior (#7861) 2019-03-05 14:43:59 -08:00
Pranav K b90220ad05
Improve NullHtmlEncoder perf (#7987)
Fixes #7987
2019-03-05 14:41:55 -08:00
shnja 4c3996f824 Use Request.Scheme instead of Protocol (#7911) 2019-03-05 14:39:37 -08:00
Hao Kung 4e271ac124
Send email confirmation after register via external login (#8013) 2019-03-05 13:53:15 -08:00
Chris Ross def25cb3de
Document the change policy for FileExtensionContentTypeProvider #2454 (#8213) 2019-03-05 13:50:48 -08:00
BrennanConroy 58ad7b7550
Fix build flakiness (#8211) 2019-03-05 12:59:21 -08:00
Pranav K b41959ac32 Add additional logging to TempDataInCookiesTest to diagnose test failure
Diagnosis for https://github.com/aspnet/AspNetCore-Internal/issues/1803
2019-03-05 12:33:49 -08:00
Pranav K 44c66c8314 Revert "Skipping flaky test"
This reverts commit 680c069554fd2a184b8a3030711aed35d4293c4b.
2019-03-05 12:33:49 -08:00
Ajay Bhargav Baaskaran 8775af3309 Re-enable skipped test (dotnet/aspnetcore-tooling#303)
\n\nCommit migrated from 14eee079bf
2019-03-05 12:22:21 -08:00
Ryan Brandenburg 0add673139
Include more template baselines (#4186)
Include more template baselines
2019-03-05 12:02:34 -08:00
Mikael Mengistu 9b4f8d79fd
Fix Java Client transport select (#8143) 2019-03-05 11:31:56 -08:00
Pavel Krymets 2665f6d238
Isolate message compiler output files (#8197) 2019-03-05 11:27:09 -08:00
Ryan Brandenburg 414d8a514f
Add missing doc comments (#8035) 2019-03-05 10:01:20 -08:00
Martin Costello b13ea4cd54 Use localhost for HttpListener (dotnet/extensions#1206)
Use localhost instead of 127.0.0.1 to fix dotnet/extensions#1205.\n\nCommit migrated from 99b4ddbdbc
2019-03-05 09:43:59 -08:00
David Fowler d1ee93b94b
Allow disabling automatic MVC reference (#8167) 2019-03-05 09:19:28 -08:00
Andrew Stanton-Nurse 98a49e332f
skip flaky SignalR test: ErrorDuringPollWillCloseConnection (#8171)
see #8138 for discussion on test priority and re-enabling
2019-03-05 08:30:40 -08:00
Andrew Stanton-Nurse e0dbc21ccc
skip flaky Kestrel ValidationFailureRejectsConnection test on Helix (#8170)
See #8168 for details on the failure and discussions on priority of unskipping.
2019-03-05 08:23:58 -08:00
BrennanConroy c8c12cda9b
Fix test discovery (#8201) 2019-03-04 23:11:16 -08:00
N. Taylor Mullen 9ffd08c061 Remove rarely used public obsolete public API.
- The `DocumentWriter` case should never be called because you need to override a lot of the internals of the RazorEngine to get to the document writer. Therefore, little harm in removing the method.
- `ProjectChangeEventArgs` used to be uised by the LiveShare extension. We've since taken ownership of those bits and no longer need to maintain those constructors.
- `DefaultTagHelperDescriptorProvider.DesignTime` didn't actually do anything. Removing since the code was truly dead and did nothing functionally.

dotnet/aspnetcore-tooling#7146
\n\nCommit migrated from ba6450a695
2019-03-04 19:35:17 -08:00
Pranav K 33839dc66a
Client reconnects when state's available on the server (#7395)
Reconnect if we have state on the server

Fixes #7537
2019-03-04 17:27:51 -08:00
Justin Kotalik d09c6e8576
Disable ConfigurationChange Test (#8113) 2019-03-04 16:58:28 -08:00
Ben Adams 19b52bdc8b Elide bounds check for MethodToString (#7887) 2019-03-04 16:44:21 -08:00
Chris Ross b9fda976c0
Update Worker template for Worker SDK (#7965)
* Update Worker template for Worker SDK

* Change template order

* Remove servergc
2019-03-04 16:17:25 -08:00
N. Taylor Mullen 53392ba761 Add LanguageServer Common IVTs
\n\nCommit migrated from 29b0e92bcd
2019-03-04 15:08:49 -08:00
Pranav K 39e52578d3
Make page load async when using endpoint routing (#7938)
* Make page load async

Fixes #8016
2019-03-04 14:45:59 -08:00
Hao Kung 3652b7a927
Helix tests should fail if exceptions thrown during test discovery (#8107) 2019-03-04 14:15:37 -08:00
Pavel Krymets 51e30ee20d
Update SDK (#8115) 2019-03-04 12:59:49 -08:00
Hao Kung 48a67cfd18
Fix for external logins disappearing after failed login (#7002)
Also adds external logins to register page
2019-03-04 12:46:18 -08:00
Mikael Mengistu 368269c883
Update Code Owners - SignalR (#8173) 2019-03-04 11:40:47 -08:00
Martin Costello 09b9a49da6 Atomically swap config data (dotnet/extensions#1202)
Swap the configuration providers' data atomically, rather than directly changing the property, so that any enumeration of the dictionary running during the reload operation does not throw an InvalidOperationException due to the collection being modified.
Relates to dotnet/extensions#1189.\n\nCommit migrated from 192abfdf3e
2019-03-04 10:14:16 -08:00
BrennanConroy 508256d028
Always load NodeHttpClient to fix SSR (#8047) 2019-03-04 09:16:52 -08:00
Steve Sanderson 7111c8ffd7 Handle async exceptions when not rendering root component. Fixes #8151 2019-03-04 16:44:42 +00:00
Andrew Stanton-Nurse 7b24304739
skip flaky SecureDataFormatTest in Helix (#8129)
related #7366
2019-03-04 07:50:53 -08:00
Nikita Potapenko 83cb05d83c Rename DataProtectorTokenProvider (#8027) 2019-03-04 02:03:31 -08:00
Doug Bunting a0817e3bac
Merge branch 'release/3.0-preview3' => 'master' (#8144)
- mostly [automated]
2019-03-03 22:06:18 -08:00
Doug Bunting d50e8228ef
Merge branch 'master' into merge/release/3.0-preview3-to-master 2019-03-03 20:46:11 -08:00
dotnet-maestro[bot] 1f05024255 [release/3.0-preview3] Update dependencies from 4 repositories (#8141)
* Update dependencies from https://github.com/dotnet/core-setup build 20190303.5

This change updates the following dependencies
- Microsoft.DotNet.PlatformAbstractions - 3.0.0-preview3-27503-5
- Microsoft.Extensions.DependencyModel - 3.0.0-preview3-27503-5
- Microsoft.NETCore.App - 3.0.0-preview3-27503-5

* Update dependencies from https://github.com/aspnet/Extensions build 20190303.1

This change updates the following dependencies
- Internal.AspNetCore.Analyzers - 3.0.0-preview3.19153.1
- Microsoft.JSInterop - 3.0.0-preview3.19153.1
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview3.19153.1
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview3.19153.1
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview3.19153.1
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview3.19153.1
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview3.19153.1
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration - 3.0.0-preview3.19153.1
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview3.19153.1
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview3.19153.1
- Microsoft.AspNetCore.Testing - 3.0.0-preview3.19153.1
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview3.19153.1
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview3.19153.1
- Mono.WebAssembly.Interop - 3.0.0-preview3.19153.1
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview3.19153.1
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview3.19153.1
- Microsoft.Extensions.WebEncoders - 3.0.0-preview3.19153.1
- Microsoft.Extensions.ValueStopwatch.Sources - 3.0.0-preview3.19153.1
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Primitives - 3.0.0-preview3.19153.1
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Options - 3.0.0-preview3.19153.1
- Microsoft.Extensions.ObjectPool - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview3.19153.1
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Logging.Console - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Logging - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Localization - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Http - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Hosting - 3.0.0-preview3.19153.1
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview3.19153.1
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview3.19153.1

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190303.1

This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview3.19153.1
- Microsoft.NET.Sdk.Razor - 3.0.0-preview3.19153.1
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview3.19153.1
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview3.19153.1

* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190303.1

This change updates the following dependencies
- dotnet-ef - 3.0.0-preview3.19153.1
- Microsoft.EntityFrameworkCore - 3.0.0-preview3.19153.1
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview3.19153.1
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview3.19153.1
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview3.19153.1
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview3.19153.1
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview3.19153.1
2019-03-03 19:43:36 -08:00
Doug Bunting aff09d16a1 Merge branch 'release/3.0-preview3' => 'master' (dotnet/extensions#1213)
-mostly [automated]\n\nCommit migrated from a064ef32f4
2019-03-03 17:56:30 -08:00
Doug Bunting 97b80174ef Merge branch 'master' into merge/release/3.0-preview3-to-master\n\nCommit migrated from 4e5e29dcb3 2019-03-03 17:02:20 -08:00
David Fowler 9cb1185a5c
Add option to restrict the maximum hub message size (#8135)
- This change moves the limit checking from the transport layer to the protocol parsing layer. One nice side effect is that it gives us better control over error handling.
2019-03-03 15:18:32 -08:00
BrennanConroy 67d339ee3b
C++ client: string_t to string (#8063) 2019-03-02 22:11:18 -08:00
Doug Bunting 659981e62b
Merge branch 'release/3.0-preview3' => 'master' (#8119)
- mostly [automated]
2019-03-02 21:53:05 -08:00
Ben Adams ddce32a791 Use C#8 (#8128) 2019-03-02 19:48:43 -08:00
Doug Bunting c0815eb11c
Merge branch 'master' into merge/release/3.0-preview3-to-master 2019-03-02 10:45:24 -08:00
Andrew Stanton-Nurse 4aad7548c1
skip Libuv.FunctionalTests RemoteIPv6Address on Helix (#8111) 2019-03-01 18:37:51 -08:00