Commit Graph

17188 Commits

Author SHA1 Message Date
Hao Kung dc954e1936
Fix external login registration when RequireConfirmedAccount (#11572) 2019-06-25 17:51:43 -07:00
Nick Darvey 3fc4bee7e2 Adds DerivedParameterKnownTypesBinder so that we're following better practice in our tests 2019-06-26 10:35:03 +10:00
dotnet-maestro[bot] 921dd947b9
[master] Update dependencies from 3 repositories (#11531)
* Update dependencies from https://github.com/aspnet/Blazor build 20190624.2

- Microsoft.AspNetCore.Blazor.Mono - 0.10.0-preview7.19324.2

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

- Microsoft.NET.Sdk.Razor - 3.0.0-preview7.19324.2
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview7.19324.2
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview7.19324.2
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview7.19324.2

* Update EFCore and Extensions

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

- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview7.19324.5
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview7.19324.5
- dotnet-ef - 3.0.0-preview7.19324.5
- Microsoft.EntityFrameworkCore - 3.0.0-preview7.19324.5
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview7.19324.5
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview7.19324.5
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview7.19324.5

Dependency coherency updates

- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Http - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Console - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventLog - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ObjectPool - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Primitives - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ValueStopwatch.Sources - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.WebEncoders - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Internal.Extensions.Refs - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.JSInterop - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Mono.WebAssembly.Interop - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Bcl.AsyncInterfaces - 1.0.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.CSharp - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Win32.Registry - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.ComponentModel.Annotations - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Diagnostics.EventLog - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.IO.Pipelines - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Net.Http.WinHttpHandler - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Net.WebSockets.WebSocketProtocol - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Reflection.Metadata - 1.7.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Runtime.CompilerServices.Unsafe - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Security.Cryptography.Cng - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Security.Cryptography.Pkcs - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Security.Cryptography.Xml - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Security.Permissions - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Security.Principal.Windows - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.ServiceProcess.ServiceController - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Text.Encodings.Web - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Text.Json - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- System.Threading.Channels - 4.6.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyModel - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.NETCore.App.Ref - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- NETStandard.Library.Ref - 2.1.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.NETCore.Platforms - 3.0.0-preview7.19320.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27823-05 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Internal.AspNetCore.Analyzers - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.Testing - 3.0.0-preview7.19324.1 (parent: Microsoft.EntityFrameworkCore)

* Ingest new EFCore

* Fix Routing tests

* Fix antiforgery

* Fix CORS

* Fix Mvc.Core

* Fix SignalR.Client

* Fix SignalR better
2019-06-25 23:05:54 +00:00
Ajay Bhargav Baaskaran f40bfde9ff
Make Razor file encoding consistent (#11530)
* Make Razor file encoding consistent

* feedback
2019-06-25 15:51:20 -07:00
Justin Kotalik 73a2603aa6
Fix Complete in Message Bodies (#11066) 2019-06-25 15:34:08 -07:00
Kristian Hellang 7003fb53d5 Add explicit content types to 'no formatter' logging (#11213)
* Add explicit content types to 'no formatter' logging

* Remove dead code
2019-06-25 15:07:35 -07:00
Justin Kotalik 0274aceaee
Generate .nupkg files that contain aspnetcore-runtime MSI for insertion into Visual Studio (#11345) 2019-06-25 13:41:16 -07:00
Pranav K 2a31739302
Update doc comment for RazorInjectAttribute (#11554)
* Update doc comment for RazorInjectAttribute
2019-06-25 13:32:21 -07:00
Justin Kotalik cc1f23c5f8
Make Middleware internal and remove internal namespaces (#11538) 2019-06-25 13:23:20 -07:00
David Fowler ea385e20aa
Use a mutex to guard cert creation on windows (#11546)
- It should prevent some test flakyness around importing certs in some cases.
2019-06-25 11:56:40 -07:00
Pranav K 9016794111
Fixup templates (#11351)
* Fixup templates
2019-06-25 11:05:45 -07:00
Pranav K b10c8a6fc3
Eagerly read IAsyncEnumerable{object} instances before formatting (#11118)
* Eagerly read IAsyncEnumerable{object} instances before formatting

Fixes https://github.com/aspnet/AspNetCore/issues/4833
2019-06-25 10:53:43 -07:00
Ryan Nowak 550710f304 Update components E2E test to use splatting (#11518)
This test was already in place, and just needs some updates to work with
Razor syntax instead of .cs
2019-06-25 10:06:16 -07:00
Pranav K eba671ec88
Fixup ref assemblies again (#11528) 2019-06-25 09:24:36 -07:00
David Fowler 688054e4d2
Remove HttpUtlities from the public API surface (#11539) 2019-06-25 08:53:14 -07:00
Fabien Barbier bf95c946ec Blazor: Decode URL segments in RouteContext (#8759)
* Decode URL segments in RouteContext
2019-06-25 16:27:24 +02:00
dudu c6718d054d Any instead of Count in IIS UrlRewriteFileParser (#11540)
* Any instead of Count in IIS UrlRewriteFileParser

* Remove unnecessary null check in IIS UrlRewriteFileParser
2019-06-25 06:33:37 -07:00
David Fowler 73e1b5de9e
Moved the static assets extension method to WebHostBuilderExtensions. (#11541)
* Moved the static assets extension method to WebHostBuilderExtensions.

* Updated the refs
2019-06-25 06:28:40 -07:00
David Fowler 6608b3b178
Make the platform benchmarks work again (#11537)
- Make it compile
- Removed a few pubternal usages
2019-06-24 23:50:27 -07:00
dudu e79fafc2e3 Improve IIS UrlRewrite parsing (#11533) 2019-06-24 23:07:48 -07:00
Nick Darvey 47bb845d48 Moves derived parameter tests into HubConnectionHandlerTests 2019-06-25 15:49:51 +10:00
Chris Ross f3f9a1cdbc Remove Hosting.Internal APIs (#11505)
* Remove Hosting.Internal APIs #11312
2019-06-24 21:55:09 -07:00
Kevin Pilch 5ace0efa49
Update sample data (#11510)
Addresses internal bug 890301 (https://dev.azure.com/devdiv/DevDiv/_workitems/edit/890301)
2019-06-24 20:44:44 -07:00
John Luo 94f84c4776
Build SiteExtensions (#11409) 2019-06-24 19:37:51 -07:00
Ryan Nowak 1552e9f842 Use ValueTask for DynamicRouteValuesTransformer 2019-06-24 19:13:35 -07:00
Ajay Bhargav Baaskaran bff743aced
Removed unnecessary preceding @s (#11520) 2019-06-24 18:04:44 -07:00
Pranav K 397a27f810
Add JsonExtensionData to ProblemDetails (#11460)
* Add JsonExtensionData to ProblemDetails
Fixes https://github.com/aspnet/AspNetCore/issues/6202
2019-06-24 17:30:31 -07:00
Pranav K c7df3aae4c
Update refs (#11512) 2019-06-24 16:30:48 -07:00
Pranav K 6c5374db0d
Changes per PR 2019-06-24 16:14:46 -07:00
Pranav K 6b36c377f6
Update ref assemblies 2019-06-24 16:01:02 -07:00
Pranav K bed3542a9b
Add JsonExtensionData to ProblemDetails
Fixes https://github.com/aspnet/AspNetCore/issues/6202
2019-06-24 16:01:02 -07:00
David Fowler b31bdd4373
Moved things around (#11508)
- Put middleware in th middeware folder
- Rename PipelineExtensions to BufferExtensions
- Move DuplexPipe to shared
2019-06-24 15:18:09 -07:00
Steve Sanderson f162ba1961
For two-way bindings, enforce consistency between .NET model and DOM by patching old tree. Fixes #8204 (#11438) 2019-06-24 23:15:33 +01:00
Pranav K 151ae52661
JSON error handling (#11190)
* Exception handling with SystemTextJsonInputFormatter

* Additional tests

* Update ref package

* PR feedback

* Test fixes and feedback

* Update refs

* Restructure tests

* Cleanup
2019-06-24 14:30:38 -07:00
Arthur Irgashev 590958376e Add debugg logging for DataProtectorTokenProvider.ValidationAsync (#10739) 2019-06-24 14:30:09 -07:00
David Fowler 9b59fe40cf
Added some doc comments to bedrock APIs (#11487)
* Added some doc comments to bedrock APIs
- Also cleaned up some HttpContext doc comments

* Apply suggestions from code review

PR feedback

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Apply suggestions from code review

Co-Authored-By: Justin Kotalik <jukotali@microsoft.com>
2019-06-24 14:06:01 -07:00
dotnet-maestro[bot] 114f760d64 [master] Update dependencies from 3 repositories (#11458)
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190621.2
- Microsoft.NET.Sdk.Razor - 3.0.0-preview7.19321.2
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview7.19321.2
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview7.19321.2
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview7.19321.2

* Update dependencies from https://github.com/aspnet/Blazor build 20190623.1
- Microsoft.AspNetCore.Blazor.Mono - 0.10.0-preview7.19323.1

* Update dependencies from https://github.com/dotnet/arcade build 20190623.4
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19323.4
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19323.4
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19323.4

* fix build (tests) - thanks @ajaybhargavb
2019-06-24 11:48:20 -07:00
David Fowler c63cd0c3ad
Simplified HttpConnection (#11488)
- Don't register callbacks until we have a request processor
- Remove the IConnectionTimeoutFeature from the feature collection, it was used by connection adapters but isn't needed anymore.
- Rename OnInputOrOutputCompleted to OnConnectionClosed
2019-06-24 11:42:27 -07:00
Alessio Franceschelli 7d4258b186 Api Explorer: multiple complex properties 2019-06-24 11:15:39 -07:00
Javier Calvarro Nelson 0a4f42a7e2
Add support for static web assets in blazor client-side (#11042)
* Add support for static web assets in blazor client-side
* Blazor serve use MSBuild data instead of heuristics to run the app
* Remove blazor-client-side app Static Web Assets when hosted in an ASP.NET Core
2019-06-24 17:47:08 +02:00
Ryan Nowak 6ce8a879ae Add dynamic controller/page routes
Adds infrastructure for a common IRouter-based pattern. In this pattern,
an extender subclasses Route to post-process the route values before MVC
action selection run. The new infrastructure duplicates this kind of
experience but based on endpoint routing.

The approach in this PR starts at the bottom... meaning that this is the
most-focused and least-invasive way to implement a feature like this.
Similar to fallback routing, this is a pattern built with matcher
policies and metadata rather than a built-in feature of routing.

It's valuable to point out that this approach uses IActionConstraint to
disambiguate between actions. The other way we could go would be to make
the *other* matcher policy implementations able to do this. This would
mean that whenever you have a dynamic endpoint, you will not by using
the DFA for features like HTTP methods. It also means that we need to go
re-implement a bunch of infrastructure.

This PR also adds the concept of an 'inert' endpoint - a non-Routable
endpoint that's created when fallback/dynamic is in use. This seems like
a cleaner design because we don't start *matching* RouteEndpoint
instances for URLs that don't match. This resolves #8130
2019-06-24 08:08:54 -07:00
Nick Darvey f80dbd3918 Fixes dispatching of derived type arguments to hub methods with synthetic parameters 2019-06-24 22:36:05 +10:00
David Fowler 5ca92305c2
PR feedback from #11412 (#11474)
- Remove ExpectedMiddlewareCount since everything is middleware now
- Renamed everything adapter to middleware
- Added a regression test for an https scenario
- Don't send client certs for tests that don't expect it
2019-06-23 21:08:10 -07:00
Ryan Nowak 2420d8f0ac Simplify attribute splatting
Removes handling for IEnumerable<KVP<string, string>>. This isn't
something we really need for the main scenario and it MASSIVELY
complicates the codegen part of the feature. Requiring the dictionary to
be an object-valued dictionary should cover the cases we care about.
2019-06-23 20:26:13 -07:00
Chris Ross 3ce6c1dc5b
Consolidate Windows Auth config #10530 (#11421) 2019-06-22 10:39:10 -07:00
Jacques Eloff 6ecfdf2c49
Merge pull request #11453 from aspnet/joeloff/LocUI
Tweak UI layout for non-ENU installs
2019-06-22 00:07:44 -07:00
Chris Ross 4ef204e13b
Remove or make public pubternals for Http #11312 (#11429) 2019-06-21 17:56:53 -07:00
Hao Kung f35564ba06
Move DataProtection and Extensions.Identity to netstandard2.0/2.1 (#11008) 2019-06-21 14:40:42 -07:00
Mikael Mengistu 655c29b7ef
Update Kestrel's dev cert error message (#11430) 2019-06-21 14:28:52 -07:00
Brennan 5b31a9540a
[SignalR] Pass a resource into IPolicyEvaluator for Hub method auth (#11070) 2019-06-21 14:08:50 -07:00
Dylan Dmitri Gray f9aa85a829
Dylan/stack policy (#11293)
* Initial StackPolicy implementation
2019-06-21 11:03:17 -07:00
Jacques Eloff 67e6351e6a Tweak UI layout for non-ENU installs 2019-06-21 09:56:03 -07:00
Chris Ross f6c3f9e02a
Avoid calling AuthenticateAsync for IIS out-of-proc #7750 (#11390) 2019-06-20 21:53:09 -07:00
Chris Ross 495f52920c
Remove redundant call to UseAuthentication (#11426) 2019-06-20 19:02:07 -07:00
Stephen Halter 0d92fee9d0
Work around potential race in PipeWriter (IIS Edition) (#11165) 2019-06-20 17:38:19 -07:00
Mikael Mengistu e95c3a08eb
Kestrel Override Client Cert Validation (#11423) 2019-06-20 17:37:42 -07:00
David Fowler 25d568885b
Remove connection adapters and move things to middleware (#11412)
* Remove connection adapters and move things to middleware
- Remove connection adapters from the public API surface (pubternal) and replace the existing adapters with connection middleware.
- Updated the tests
2019-06-21 00:26:09 +02:00
Andrew Stanton-Nurse c5d62b4a29
Quarantine some tests (#11420) 2019-06-20 15:20:34 -07:00
Ajay Bhargav Baaskaran 21fdbcd562
Allow @bind-value to be specified on its own (#11401) 2019-06-20 14:36:53 -07:00
Brennan e8181ae479
Pass options to HubConnectionContext (#11382) 2019-06-20 13:18:12 -07:00
Mikael Mengistu c987ce5b3c
Add Invoke API with with no completion result (#11399) 2019-06-20 12:54:22 -07:00
Steve Sanderson 56ffc6b582
On RenderTreeBuilder, add SetUpdatesAttributeName (#11375) 2019-06-20 09:52:12 +02:00
John Luo 0058a58372
Fix Template test runs on macOS and Linux (#11407) 2019-06-19 23:03:39 -07:00
Justin Kotalik 689b052509
Convert TLS connection adapter to connection middleware (#11109) 2019-06-19 20:02:44 -07:00
Justin Kotalik 0b5d4baa07
Remove copy race for IIS projects (#11394) 2019-06-19 19:58:47 -07:00
Justin Kotalik 50790068a8
Add file manifest for runtime and targeting pack (#11235) 2019-06-19 19:53:30 -07:00
Mikael Mengistu a9a9298d4f
Make SSEMessageFormatter internal and use new InternalsVisibleTo pattern (#11356) 2019-06-19 18:47:50 -07:00
Ryan Brandenburg f6f1923e2b Cleanup 2019-06-19 16:10:54 -07:00
Ryan Brandenburg 8f99ca3fad Restructure tests 2019-06-19 16:10:54 -07:00
Ryan Brandenburg aeaa0376d1 Update refs 2019-06-19 16:10:54 -07:00
Ryan Brandenburg c7b401ffd7 Test fixes and feedback 2019-06-19 16:10:54 -07:00
Ryan Brandenburg e69cca6461 PR feedback 2019-06-19 16:10:54 -07:00
Ryan Brandenburg 6e2a617ed8 Update ref package 2019-06-19 16:10:54 -07:00
Ryan Brandenburg 6bd4b87d2c Additional tests 2019-06-19 16:10:54 -07:00
Pranav K f575677c95 Exception handling with SystemTextJsonInputFormatter 2019-06-19 16:10:54 -07:00
Brennan 0648edf7c2 Temporarily skip SignalR TS client tests (#11398) 2019-06-19 15:40:37 -07:00
Pranav K a093059fce
Use the right data type for mouse event args (#11332)
* Use the right data type for mouse event args

Fixes https://github.com/aspnet/AspNetCore/issues/11224
2019-06-19 13:56:50 -07:00
Stephen Halter 5f2760e9bc
The TaskCompletionSource ctor takes Task*Creation*Options (#11294) 2019-06-19 11:44:43 -07:00
Javier Calvarro Nelson 2287abcc3e
Move SPA flows to use code (#11227)
* Move SPA flows to use code
2019-06-19 19:57:01 +02:00
Chris Ross 2df72072ad
Update facebook APIs to v3.3 #4684 (#11238)
Update Google error message
2019-06-19 10:16:20 -07:00
Nate McMaster 4fde84a7ad Replace KoreBuild with Arcade (#11122)
* Replace usages of $(CI) with $(ContinuousIntegrationBuild)

* Move RepoTasks to eng/tools/

* Remove dead code

* Update build.sh/ps1 to invoke Arcade instead of KoreBuild

* build/repo.props => eng/Build.props

* build/CodeSign.{props,targets} => eng/Signing.props

* build/repo.targets => eng/Build.props, eng/CodeGen.proj, and eng/AfterSolutionBuild.targets

* Remove AddAllProjectRefsToSolution.ps1

* Put selenium process tracking into artifacts/tmp/

* build/docker => eng/docker

* Move content from korebuild.json to global.json

* Remove cibuild.{sh,cmd} and update ci.yml

* Ensure vswhere detects BuildTools installations

* Remove sign check exclusions (Arcade does not support)

* list VS required components in global.json

* Update CodeCheck.ps1

* Update arcade (#11143)

* Fixups to broken build

* capture test results in xunit form
* attempt to fix code check
* restore before linux build
* remove duplicate signinfos

* More build fixes

* exclude node_modules from unique project check
* fixup signing props

* More build fixes

* Remove unused NoWarns
* Skip building site extension
* Suppress xunit color in console output
* Install x86 runtime

* Run KillProcesses.ps1 at end of build on CI

* activate env vars in codecheck.ps1

* Fix signing and generate build manifests

* Fixup code check and linux installers build

* Remove custom restore targets

* Import flaky test props

* Restore original manifest generation code and set warnAsErrors=false

* Alwasy restore the toolset

* More attempts at build fixes

* run restore before building deb/rpm packages
* pre-install Yarn.MSBuild
* Remove WIX workaround

* Attempt to fix RPM installers and x86 build

* Fix helix tests, java auto-detection, and code gen steps

* Globally disable MSBuild node resuse and capture MSbuild crash logs

* Cleanup build invocation for installers

* Set max time on xunit tests to 15 min

* Update helix-test.yml

* Fix Hosting tests

* Fix TestHost

* Fix Negotiate.Test

* Fix Mvc tests

* Capture results

* Fix Hosting tests

* Fix Kestrel tests

* Fix ServerComparison tests

* Fix DefaultBuilder functional tests

* Skip template tests

Need to run pack before running tests on mac/linux now

* Fix Identity test

* Fix ServerComparison tests

* Verify nginx installation on ubuntu

* Verify nginx installation?

* Try adding to path

* Try symlink

* Sudo?

* Woot it works

* Disable timeout

Template tests require more than 15 mins

* list env vars

* Use correct dotnet_home

* Prepent path instead

* Fix npmproj tests

* Fix CORS tests

* Debug signalr tests

* Debug signalr

* Capture bin

* Try building templates sequentially

* Debug signalr

* Cleanup

* Disable signalr npm tests

* Debug template test

* Try to fix templates again and make steps more reliable

* Cleanup

* Feedback
2019-06-19 10:03:38 -07:00
Arthur Vickers 730c3e0053 Update DatabaseErrorPageMiddleware to use HasTables 2019-06-19 09:58:39 -07:00
David Fowler 9ea20ddef3
Increase timeout to 30 seconds (#11358) 2019-06-19 17:43:33 +02:00
Javier Calvarro Nelson 75c95c56bf
Complete and make ignitor more extensible (#11289)
* Add support for sending dotnet calls from "JS"
* Add support for acknowledging render batches.
* Extract logic into a separate BlazorClient class so that it can be reused.
* Support non prerendered pages.
* Allow reacting to incoming JSInterop calls.
* Allow reacting to incoming RenderBatch.
2019-06-19 10:45:49 +02:00
Hao Kung b56108fc94
Make incorrect password error message consistent (#9556) (#11346) 2019-06-18 23:33:06 -07:00
Hao Kung ee0c9dcf35
Get rid of Authentication.Internal (#11341) 2019-06-18 23:31:41 -07:00
Hao Kung 51919cb631
Improve error message when no auth scheme specified (#11348) 2019-06-18 23:30:47 -07:00
Justin Kotalik a4bd1308ca Skip CORS tests (#11355) 2019-06-18 16:05:38 -07:00
Arthur Vickers 839cf89252 Update MusicStore and Identity to remove workarounds
Fixes #10714
Fixes #10668
2019-06-18 15:09:38 -07:00
Javier Calvarro Nelson f56c4c1c33
Fix yarn audit issues by lifting dependency versions (#11318) 2019-06-18 22:24:52 +02:00
Hao Kung 2191f073d7
Turn on new confirmation flow in templates (#9003) 2019-06-18 13:20:09 -07:00
Kahbazi bff78bdd11 Remove use of null-conditional operator for logger (#6579) 2019-06-18 11:18:43 -07:00
Chris Ross 9077b38805
Implement IHttpResetFeature in Kestrel #10886 (#11300) 2019-06-18 11:14:40 -07:00
Brennan 8984144db4
Update dev deps for SignalR (#11330) 2019-06-18 10:58:53 -07:00
Mikael Mengistu 04c3192d3c
Clean up Pubternal Types in SignalR (#11162) 2019-06-18 10:32:38 -07:00
Justin Kotalik 213f6efd30 Make CORS functional tests select different ports (#11063)
* fxup some slns
- remove samples
2019-06-18 10:00:16 -07:00
Balint Farkas 793559af98 Corrected spelling of "canceled". Put .OrTimeout() on every await call. 2019-06-18 09:40:40 -07:00
Balint Farkas 9bb59b2ec6 Added CanCancelStartingConnectionAfterNegotiate (#10432) 2019-06-18 09:40:40 -07:00
Justin Kotalik c288baf967 mark test as flaky (#11306) 2019-06-17 19:52:46 -07:00
Justin Kotalik cbafafa188 Reduce logging branch path size. (#11297)
* Working on debugging issues with logging site extension
* rename logging branch

- aspnet/AspNetCore-Internal/#2665
2019-06-17 16:51:40 -07:00