Commit Graph

43822 Commits

Author SHA1 Message Date
Doug Bunting 60ace9d6f6
Merge branch 'release/3.0' => 'release/3.1' (#15086) 2019-10-17 13:03:25 -07:00
Doug Bunting 0da2edb205
Re-enable Linux installer builds (#15119)
- `'$(IsTargetingPackBuilding)' == 'false'` should only disable the targeting packs on non-Windows
- disable `CreateTargetingPackNugetPackage` target on Windows
2019-10-17 13:01:57 -07:00
dotnet-maestro[bot] 6f9f659577 Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20191017.5
- Microsoft.NET.Sdk.Razor - 3.0.1
- Microsoft.CodeAnalysis.Razor - 3.0.1
- Microsoft.AspNetCore.Razor.Language - 3.0.1
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.1
2019-10-17 12:10:50 -07:00
Doug Bunting 046e3d33e7 Merge branch 'release/3.1' => 'master' (dotnet/aspnetcore-tooling#1242)
\n\nCommit migrated from 7fee7f76e9
2019-10-17 12:03:40 -07:00
Brennan 23f3a10965
[TS Client] Catch exception in onreceive and close connection (#15082) 2019-10-17 11:27:03 -07:00
Doug Bunting c543006927 Merge branch 'release/3.1' => 'master' (dotnet/extensions#2517)
- no-op merge\n\nCommit migrated from 3af74ca52b
2019-10-17 10:37:42 -07:00
Chris Ross 6d43b50183
Handle large limits for form keys and values #13719 (#15066) 2019-10-17 10:37:07 -07:00
Doug Bunting 756949d140 Merge branch 'master' into merge/release/3.1-to-master\n\nCommit migrated from 33a17a7d3e 2019-10-17 10:36:58 -07:00
Chris Ross 90b42ba099
Update Facebook API to 4.0 #4684 (#14798) 2019-10-17 10:33:09 -07:00
Doug Bunting b9aeff4250
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1 2019-10-17 10:31:29 -07:00
Doug Bunting 1e214e5714 Merge branch 'release/3.0' => 'release/3.1' (dotnet/extensions#2526)
- no-op merge\n\nCommit migrated from d5bb3dbe20
2019-10-17 10:29:14 -07:00
Doug Bunting 393e4dada9 Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1\n\nCommit migrated from 301dc0435e 2019-10-17 10:28:39 -07:00
Pranav K c76df96c70
Treat FormatExceptions and OverflowExceptions to be treated as model state errors (#15035)
In SystemTextJsonInputFormatter and NewtonsoftJsonInputFormatter, suppress
FormatExceptions and OverflowExceptions and instead report them as model state errors.

This makes the behavior more consistent between these formatters, model binders, and
the XML formatters

Fixes https://github.com/aspnet/AspNetCore/issues/14504
2019-10-17 10:06:57 -07:00
dotnet-maestro[bot] 418e35c439
Update dependencies from https://github.com/aspnet/Blazor build 20191016.2 (#15115)
- Microsoft.AspNetCore.Blazor.Mono - 5.0.0-alpha1.19516.2
2019-10-17 15:58:55 +00:00
dotnet-maestro[bot] 1eebef11fa
[master] Update dependencies from 2 repositories (#15057)
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20191015.1

- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19515.1
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19515.1
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19515.1
- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19515.1

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

- Microsoft.EntityFrameworkCore.Tools - 5.0.0-alpha1.19516.4
- Microsoft.EntityFrameworkCore.SqlServer - 5.0.0-alpha1.19516.4
- dotnet-ef - 5.0.0-alpha1.19516.4
- Microsoft.EntityFrameworkCore - 5.0.0-alpha1.19516.4
- Microsoft.EntityFrameworkCore.InMemory - 5.0.0-alpha1.19516.4
- Microsoft.EntityFrameworkCore.Relational - 5.0.0-alpha1.19516.4
- Microsoft.EntityFrameworkCore.Sqlite - 5.0.0-alpha1.19516.4
2019-10-17 14:20:10 +00:00
Kahbazi f651fdf1f1 Add AutomaticAuthentication option in HttpSys #5877 (#6516) 2019-10-17 05:46:20 -07:00
Steve Sanderson 1b2c44313b In Blazor Server template, show login UI on small screens too. Fixes #13003 2019-10-17 06:10:18 +01:00
David Fowler bd65275148
Update THIRD-PARTY-NOTICES.txt
Add corefx to third party notices as part of https://github.com/aspnet/AspNetCore/pull/14986
2019-10-16 22:06:04 -07:00
David Fowler 9098a47dbf
Some minor clean up of Stream implementations (#14986)
* Some minor clean up of Stream implementations
- Use TaskToApm from corefx to implement Begin/End in streams
- Use PipeReader.CopyToAsync(Stream) to implement CopyToAsync
- Add more overrides on derived Streams in IIS
2019-10-16 22:04:29 -07:00
Adrian Wright e8c9952a2b Add .sidebar to .nav-item so to just target the nav in the template and not any other .nav-item's in the html 2019-10-17 03:36:08 +01:00
David Fowler 16be9a264e
Don't re-use DefaultHttpContext if IHttpContextAccessor is in use (#15049)
* Don't re-use DefaultHttpContext if IHttpContextAccessor is in use
- Consumers may still get null or an ODE but will never end up with data from a different request.
- Make sure an ODE is thrown from all properties on HttpContext after the request is over.
2019-10-16 17:09:54 -07:00
N. Taylor Mullen 163c09f984 Add support for partial component class editing -> refresh components.
- We now do aggressive detection on the type of C# class that's being edited. In order to not impact C# scenarios we only do work if C# assets are available to us. Meaning, we inspect the old document and if that document has its' semantic model available we spend cycles to determine if it's a component. In the case that we find a C# component class that wasn't previously caught we enqueue an update.
- Added several tests to ensure we enqueue and that we properly detect component classes.

aspnet/AspNetCoredotnet/aspnetcore-tooling#14646
\n\nCommit migrated from d8b62e121f
2019-10-16 15:10:39 -07:00
Pranav K 82e62cb34f Add a flag to prevent config, json files from being copied to the build output directory (dotnet/aspnetcore-tooling#1240)
Fixes https://github.com/aspnet/AspNetCore/issues/14017\n\nCommit migrated from 8a99b91799
2019-10-16 14:34:59 -07:00
Matt Mitchell 5ceb94f3fe
[release/3.0] Pin Microsoft.Internal.Extensions.Refs (#15062)
* Pin Microsoft.Internal.Extensions.Refs
This is not being produced in current 3.0 builds so the coherent parent dependency attribute cannot be satisfied.
2019-10-16 14:24:20 -07:00
wtgodbe d0115a0c5d merge master into branch 2019-10-16 13:30:40 -07:00
wtgodbe ba2ed9fae9 merge release/3.1 to master 2019-10-16 13:23:32 -07:00
N. Taylor Mullen 49f8ae28cf Add support for using a 3.0 SDK on VS 16.4.
- The 3.0 SDK adds RazorDeclaration files to the compile list if they exist. If a user builds in VS and then does a project level operation (adding a property group or item group to their project file) a design time build will trigger for unrelated reasons and declaration files will be included as part of the C# compilation resulting in duplicate member errors. This change ensures that even if declaration files are added we then remove them to ensure we avoid those declaration additions.
- One unfortunate aspect of this change is that declarations are added to the compile list for a brief moment resulting in errors and then are instantly removed in some situations. I say "some situations" because when this happens it is highly dependent on how / when the project system decides to perform a design time build.

aspnet/AspNetCoredotnet/aspnetcore-tooling#14646
\n\nCommit migrated from b64c9317c4
2019-10-16 13:16:23 -07:00
Javier Calvarro Nelson 1046cc2daa
[Blazor] Fix sample and turn debug logs and detailed errors client and server-side on the sample (#15052) 2019-10-16 22:12:25 +02:00
Chris Ross 1434f89d50
GenerateReferenceAssemblies requires restore.cmd (#15072) 2019-10-16 12:39:36 -07:00
Steve Sanderson d3f1f5a6ea Make InputBase respond to validation state notifications (#14818)
* InputBase subscribes to OnValidationStateChanged. Fixes #11914

* E2E test
2019-10-16 11:35:34 -07:00
William Godbe 2c6d7a0cb8
Merge pull request #14602 from dotnet-maestro-bot/merge/release/3.0-to-release/3.1
[automated] Merge branch 'release/3.0' => 'release/3.1'
2019-10-16 10:27:06 -07:00
Javier Calvarro Nelson efc2f024f3
[Blazor][Fixes #14959] Update navlink to perform case-insensitive matches (#14991)
Otherwise the link doesn't get highlighted even though the route matches (routing is case insensitive).
2019-10-16 19:04:19 +02:00
Javier Calvarro Nelson cad6e06a83
[Templating][Fixes #15048] Fixes build hang in template tests caused by an unbound blocking collection (#15058) 2019-10-16 18:50:08 +02:00
Koen Ekelschot 1599a5a2a7 Improve documentation RequestHeaders and ResponseHeaders #3465 (#14971) 2019-10-16 09:41:28 -07:00
Bharat Kumar Bellamkonda d73dfd3a1d Replaced >= with > in condition. (#14825) 2019-10-16 09:36:16 -07:00
Joni 8f9073e8ea Fixes typo in StaticComponentRenderer.cs (#14925)
Fixes "reponse" => "response"
2019-10-16 09:29:56 -07:00
TeBeCo 49191f4d56 Make ApiDescriptionActionData public (#15023)
* Make ApiDescriptionActionData public

Fixes https://github.com/aspnet/AspNetCore/issues/14954
2019-10-16 08:59:51 -07:00
dotnet-maestro[bot] d4cc16a1c8
Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20191015.8 (#15053)
- Microsoft.EntityFrameworkCore.Tools - 5.0.0-alpha1.19515.8
- Microsoft.EntityFrameworkCore.SqlServer - 5.0.0-alpha1.19515.8
- dotnet-ef - 5.0.0-alpha1.19515.8
- Microsoft.EntityFrameworkCore - 5.0.0-alpha1.19515.8
- Microsoft.EntityFrameworkCore.InMemory - 5.0.0-alpha1.19515.8
- Microsoft.EntityFrameworkCore.Relational - 5.0.0-alpha1.19515.8
- Microsoft.EntityFrameworkCore.Sqlite - 5.0.0-alpha1.19515.8

Dependency coherency updates

- Microsoft.AspNetCore.Analyzer.Testing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ActivatorUtilities.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Memory - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.SqlServer - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.StackExchangeRedis - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.CommandLineUtils.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.AzureKeyVault - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Binder - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.CommandLine - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.EnvironmentVariables - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.FileExtensions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Ini - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Json - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.KeyPerFile - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.UserSecrets - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Xml - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DiagnosticAdapter - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Composite - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Embedded - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Physical - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileSystemGlobbing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HashCodeCombiner.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HostFactoryResolver.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Http - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.AzureAppServices - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Configuration - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Console - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Debug - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventSource - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventLog - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.TraceSource - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Testing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ObjectPool - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.ConfigurationExtensions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.DataAnnotations - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ParameterDefaultValue.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Primitives - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.TypeNameHelper.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ValueStopwatch.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.WebEncoders - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Internal.Extensions.Refs - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.JSInterop - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Mono.WebAssembly.Interop - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyModel - 5.0.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Ref - 5.0.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging)
- NETStandard.Library.Ref - 2.1.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging)
- Internal.AspNetCore.Analyzers - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.Testing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
2019-10-16 13:37:01 +00:00
Pranav K 504f7f6856
Produce a ModelState error when reading the form throws (#14994)
* Introduce ValueProviderException analogous to InputFormatterException
* Record ValueProviderException as a model state error
* Fixup bug in reading ProblemDetails \ ValidationProblemDetails using the converter

Fixes https://github.com/aspnet/AspNetCore/issues/10291
2019-10-15 16:46:35 -07:00
Brennan 10863cfaea
Add tests to verify protocol message size (#15030) 2019-10-15 16:28:42 -07:00
Artak 666fe9b03c
Added more path mappings to labels (#15034)
* Added more path mappings to labels

* Update .github/labeler.yml

Co-Authored-By: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2019-10-15 15:38:09 -07:00
Artak c0aa9b8f52
Adding all the areas in sorted order 2019-10-15 14:04:51 -07:00
Artak 3feb49707a
Added Mvc into the area-mvc labels path 2019-10-15 13:45:17 -07:00
Artak d40fd322d0
Enabling PR auto-labeling (#15020)
* Create labeler.yml

Creating the initial label mappings

* Adding the auto-labeler workflow
2019-10-15 13:24:08 -07:00
Pranav K 30b31d7086
Account for Layout ordering in Blazor (#15001)
The server requires that clients send descriptors in sequence. Since MVC executes
Layouts in an inside-out manner, modify the client to explicitly order descriptors

Fixes https://github.com/aspnet/AspNetCore/issues/14474
2019-10-15 13:17:58 -07:00
Javier Calvarro Nelson 579f30f591
[Blazor][Fixes #14999] Razor Class Library Static Assets with spaces do not resolve (#15024) 2019-10-15 22:17:05 +02:00
William Godbe 700f4301ea
Fixup prop 2019-10-15 12:16:07 -07:00
William Godbe eccabc68ff
Another fixup to item->prop conversion 2019-10-15 11:26:57 -07:00
dotnet-maestro[bot] c7972d45f8
Update dependencies from https://github.com/aspnet/Blazor build 20191014.2 (#15013)
- Microsoft.AspNetCore.Blazor.Mono - 5.0.0-alpha1.19514.2
2019-10-15 17:33:07 +00:00
dotnet-maestro[bot] 0dad6fec71
[release/3.1] Update dependencies from dotnet/arcade (#14982)
* Update dependencies from https://github.com/dotnet/arcade build 20191010.3

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19510.3
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19510.3
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19510.3

* Add 'dotnet-tools' feed
2019-10-15 17:16:21 +00:00