N. Taylor Mullen
5f3037df3f
Add support for `EnableStopPropagation` and `EnablePreventDefault`.
...
- For our current world Blazor both of these properties are always `true`. However, for other non-web Blazor scenarios the `EventHandler` attributes at that layer will turn off these features because they're specific to web.
#14517
2019-10-18 14:45:43 -07:00
N. Taylor Mullen
f998cdc5f2
Updated PR with merge conflict resolution changes.
...
\n\nCommit migrated from 3f8e5452ed
2019-10-18 13:09:14 -07:00
Javier Calvarro Nelson
19718f6011
[Blazor][ Fixes #15155 ] Clarifies the message to turn on detailed erro… ( #15156 )
...
Fixes https://github.com/aspnet/AspNetCore/issues/15155
2019-10-18 13:03:52 -07:00
Pranav K
c298c94fe1
Validation fixes for Blazor ( #14972 )
...
* Validation fixes for Blazor
* Ensure validation result that are not associated with a member are recorded. Fixes https://github.com/aspnet/AspNetCore/issues/10643
* Add support for showing model-specific errors to ValidationSummary
* Add support for nested validation and a more suitable CompareAttribute. Fixes https://github.com/aspnet/AspNetCore/issues/10526
2019-10-18 11:26:17 -07:00
Pranav K
054c1c5e59
Retarget rzc.dll to netcoreapp3.0 ( dotnet/aspnetcore-tooling#1253 )
...
Based on the discussions here: https://github.com/aspnet/AspNetCore-Internal/issues/3201#issuecomment-539631557
rzc.dll targeting netcoreapp3.1 causes shared fx version conflicts when consumed as a package in the AspNetCore repo.
A fairly trivial workaround is to have it target it netcoreapp3.0 and allow it to roll-forward to the available shared fx.
This follows csc.dll's behavior, as well as solves the version conflict.
Fixes https://github.com/aspnet/AspNetCore-Internal/issues/3201\n\nCommit migrated from 3807c6a6c1
2019-10-18 11:23:05 -07:00
Ajay Bhargav Baaskaran
7f126d5694
Addressed minor comments
...
\n\nCommit migrated from c170fd9837
2019-10-18 10:55:45 -07:00
Ajay Bhargav Baaskaran
5badd94182
Add support for PreventDefault and StopPropagation in event handlers
...
\n\nCommit migrated from ae5be3efc0
2019-10-18 10:55:45 -07:00
dotnet-maestro[bot]
a4d9faefe2
Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20191017.14 ( #15147 )
...
- Microsoft.EntityFrameworkCore.Tools - 5.0.0-alpha1.19517.14
- Microsoft.EntityFrameworkCore.SqlServer - 5.0.0-alpha1.19517.14
- dotnet-ef - 5.0.0-alpha1.19517.14
- Microsoft.EntityFrameworkCore - 5.0.0-alpha1.19517.14
- Microsoft.EntityFrameworkCore.InMemory - 5.0.0-alpha1.19517.14
- Microsoft.EntityFrameworkCore.Relational - 5.0.0-alpha1.19517.14
- Microsoft.EntityFrameworkCore.Sqlite - 5.0.0-alpha1.19517.14
Dependency coherency updates
- Microsoft.AspNetCore.Analyzer.Testing - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ActivatorUtilities.Sources - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Abstractions - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Memory - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.SqlServer - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.StackExchangeRedis - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.CommandLineUtils.Sources - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Abstractions - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.AzureKeyVault - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Binder - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.CommandLine - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.EnvironmentVariables - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.FileExtensions - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Ini - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Json - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.KeyPerFile - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.UserSecrets - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Xml - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection.Abstractions - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DiagnosticAdapter - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Abstractions - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Composite - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Embedded - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Physical - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileSystemGlobbing - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HashCodeCombiner.Sources - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting.Abstractions - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HostFactoryResolver.Sources - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Http - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization.Abstractions - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Abstractions - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.AzureAppServices - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Configuration - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Console - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Debug - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventSource - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventLog - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.TraceSource - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Testing - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ObjectPool - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.ConfigurationExtensions - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.DataAnnotations - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ParameterDefaultValue.Sources - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Primitives - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.TypeNameHelper.Sources - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ValueStopwatch.Sources - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.WebEncoders - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Internal.Extensions.Refs - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.JSInterop - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Mono.WebAssembly.Interop - 5.0.0-preview2.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha1.19515.17 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyModel - 5.0.0-alpha1.19515.17 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Ref - 5.0.0-alpha1.19515.17 (parent: Microsoft.Extensions.Logging)
- NETStandard.Library.Ref - 2.1.0-alpha1.19515.17 (parent: Microsoft.Extensions.Logging)
- Internal.AspNetCore.Analyzers - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.Testing - 5.0.0-alpha1.19516.2 (parent: Microsoft.EntityFrameworkCore)
2019-10-18 13:50:22 +00:00
Doug Bunting
ea3ca1fb22
Merge branch 'release/3.1' => 'master' ( dotnet/extensions#2529 )
...
\n\nCommit migrated from f15f3278c7
2019-10-17 22:17:43 -07:00
Doug Bunting
1fb290164c
Merge branch 'master' into merge/release/3.1-to-master\n\nCommit migrated from b55f0f890b
2019-10-17 22:16:51 -07:00
Doug Bunting
5440cd319d
Merge branch 'release/3.0' => 'release/3.1' ( #15126 )
2019-10-17 22:15:02 -07:00
Doug Bunting
2adf2613fe
Merge branch 'release/3.1' => 'master' ( dotnet/aspnetcore-tooling#1247 )
...
\n\nCommit migrated from 7f9b95d5f4
2019-10-17 14:45:02 -07:00
Doug Bunting
5db0c95c44
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1
2019-10-17 14:06:15 -07:00
Chris Ross
4dd9bfc492
Prevent modifying ContentLength after starting response #14056 ( #15089 )
2019-10-17 13:40:08 -07:00
Stephen Halter
a4af6185ea
Add "allowReconnect" to SignalR CloseMessages ( #14908 )
2019-10-17 13:31:25 -07:00
Hao Kung
5dfb923c68
Flow return url in register confirmation ( #15075 )
2019-10-17 13:04:13 -07:00
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