Commit Graph

45021 Commits

Author SHA1 Message Date
Doug Bunting 1cc8dfa794 Merge branch 'release/2.2'
\n\nCommit migrated from b1387a4715
2019-03-27 16:06:03 -07:00
Doug Bunting 7cf6c4f949 Merge branch 'release/2.1' => 'release/2.2' (dotnet/extensions#1321)
- mostly [automated]\n\nCommit migrated from ca3e023fe3
2019-03-27 15:51:10 -07:00
Doug Bunting 61ed038b32 Merge branch 'release/2.2' into merge/release/2.1-to-release/2.2\n\nCommit migrated from c24b528392 2019-03-27 15:13:40 -07:00
Adrian Wright 768e2f8208 Remove explicit footer height 2019-03-27 21:51:22 +00:00
Steve Sanderson 63a4b5c27a
Fix rendering inheritance. Fixes #8192 (#8818)
* Make it irrelevant whether components call base.BuildRenderTree or not. Fixes #8192

* Remove base.BuildRenderTree calls from manually-implemented render logic

* Update ref assembly code
2019-03-27 21:26:13 +00:00
Ryan Nowak cc1b2941f9 Fix #8520 - Component parameters not found
This resolves the issue blocking use of component parameters from our
ref assemblies. Making properties public with private get is our
recommended guidance for wanting documentation to work in the IDE.

We also now need to manually generate the ref-assembly types for these
so they will show up for tooling with setters. I've logged an issue to
track whether we want to keep this long term, it seems like a suitable
workaround for now.
2019-03-27 12:10:43 -07:00
Ryan Brandenburg 8955a32ce9
MapController in RazorPages (#8685)
MapController in RazorPages
2019-03-27 10:49:33 -07:00
Steve Sanderson 8ae0791735 In Blazor Hosted template, explicitly enable compression for application/octet-stream
Otherwise, the latest ASP.NET Core won't compress those files
2019-03-27 17:37:24 +00:00
Steve Sanderson fdf7f58466 Handle asynchrony during app startup on WebAssembly. Fixes #8079 2019-03-27 17:37:24 +00:00
Ryan Brandenburg 7248ecbaf1
Make some skipped tests flaky (#8795) 2019-03-27 10:20:16 -07:00
Mikael Mengistu e979426809
Update Gradle to version 5.3 - Now with retries (#8840) 2019-03-27 10:04:25 -07:00
Ajay Bhargav Baaskaran 8eee2d5bc4 Skip running ModelDirective pass for component documents (dotnet/aspnetcore-tooling#372)
\n\nCommit migrated from 6824620cb0
2019-03-27 09:52:34 -07:00
Pranav K cb6fb32529
Make building Components & Mvc solutions work out of the box (#8830)
* Make building Components & Mvc solutions work out of the box

Fixes https://github.com/aspnet/AspNetCore/issues/8413
2019-03-27 09:27:11 -07:00
John Luo eaf6b3e7a1
Update Grpc.AspNetCore.Server version (#8828) 2019-03-27 08:51:46 -07:00
Doug Bunting b068c9a62c
Move to BYOC queues (#8694)
* Move to BYOC queues
- aspnet/AspNetCore-Internal#2033
- use conditions matching aspnet/Extensions and dotnet/Arcade
  - e.g. 05cb24592a/azure-pipelines.yml (L49-L54)
- install necessary Build Tools for Visual Studio 2019 components and workloads on CI
- revert part of 85ae18c723 because multiple editions of VS 2019 are now publicly available
  - that is, restore support for multiple editions in InstallVisualStudio.ps1
- update InstallVisualStudio.ps1 to
  - support BuildTools edition of VS 2019

nit: merge a couple of Windows build steps
  - support automatically updating latest version of a VS edition  on the machine
  - include `-Quiet` option for a completely non-interactive installation

* Install SQL Server 2017 Express LocalDB in Windows test job

* Drop back to SQL Server 2016 Express LocalDB

* Instead: Install SQL Server 2017 Express LocalDB and its cumulative update

* Don't move Microsoft.AspNetCore.Blazor.Templates.dll into output directory
- assembly is not of interest and should not be signed

* Revert most of "Don't move Microsoft.AspNetCore.Blazor.Templates.dll into output directory"
- didn't help odd attempt to sign this file and it was only a warning

This reverts commit b55d69c370.

* Back to using SQL Server 2016 Express LocalDB again
- installing cumulative update was taking extra time and not reliably updating the LocalDB install
- reverts part of 70d8d125f9, leaving direct download and some reordering

* Do not assume vsjitdebuger.exe exists
- component is not available in BuildTools edition of VS
2019-03-27 08:31:56 -07:00
谭九鼎 bc032624da Use https link (#8850) 2019-03-27 08:29:59 -07:00
Justin Kotalik 47bee4e06c
Get Binlogs from other linux machines. (#8841) 2019-03-27 08:25:02 -07:00
dotnet-maestro[bot] a8a3fbab33 [master] Update dependencies from dotnet/arcade (dotnet/extensions#1279)
* Update dependencies from https://github.com/dotnet/arcade build 20190321.6

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

* Use Arcade NuSpec helpers

* Fix Release flaky test leg

* Fix Release flaky non-Windows test legs

* Update dependencies from https://github.com/dotnet/arcade build 20190325.9

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

* Update dependencies from https://github.com/dotnet/arcade build 20190326.14

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19176.14
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19176.14
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19176.14
\n\nCommit migrated from d353f7b020
2019-03-27 14:40:19 +00:00
Javier Calvarro Nelson 562d119ca4
Enable single pages directory (#8799)
* Enable single pages directory
* Rename Index.cshtml to Host.cshtml
* Get rid of _ViewImports.cshtml
2019-03-27 11:51:01 +01:00
Doug Bunting f7440bed67
Do not assume vsjitdebuger.exe exists
- component is not available in BuildTools edition of VS
2019-03-26 22:25:16 -07:00
Doug Bunting 45480b10ae
Back to using SQL Server 2016 Express LocalDB again
- installing cumulative update was taking extra time and not reliably updating the LocalDB install
- reverts part of 70d8d125f9, leaving direct download and some reordering
2019-03-26 19:51:18 -07:00
Doug Bunting 651b14b727
Revert most of "Don't move Microsoft.AspNetCore.Blazor.Templates.dll into output directory"
- didn't help odd attempt to sign this file and it was only a warning

This reverts commit b55d69c370.
2019-03-26 19:41:38 -07:00
Doug Bunting b55d69c370
Don't move Microsoft.AspNetCore.Blazor.Templates.dll into output directory
- assembly is not of interest and should not be signed
2019-03-26 18:47:11 -07:00
Doug Bunting 70d8d125f9
Instead: Install SQL Server 2017 Express LocalDB and its cumulative update 2019-03-26 18:47:11 -07:00
Doug Bunting 7a5981131c
Drop back to SQL Server 2016 Express LocalDB 2019-03-26 18:47:10 -07:00
Doug Bunting 7fd65f52cf
Install SQL Server 2017 Express LocalDB in Windows test job 2019-03-26 18:47:10 -07:00
Doug Bunting 5fa1c241ec
Move to BYOC queues
- aspnet/AspNetCore-Internal#2033
- use conditions matching aspnet/Extensions and dotnet/Arcade
  - e.g. 05cb24592a/azure-pipelines.yml (L49-L54)
- install necessary Build Tools for Visual Studio 2019 components and workloads on CI
- revert part of 85ae18c723 because multiple editions of VS 2019 are now publicly available
  - that is, restore support for multiple editions in InstallVisualStudio.ps1
- update InstallVisualStudio.ps1 to
  - support BuildTools edition of VS 2019

nit: merge a couple of Windows build steps
  - support automatically updating latest version of a VS edition  on the machine
  - include `-Quiet` option for a completely non-interactive installation
2019-03-26 18:46:59 -07:00
Ajay Bhargav Baaskaran 730f3cdc6b Better support for _Imports.razor (dotnet/aspnetcore-tooling#357)
* Better support for _Imports.razor

* Special case component imports when generating code

* Prevent a future VS crash

* Rebased and updated

* update

* Removed unnecessary newline
\n\nCommit migrated from abbfe00bdc
2019-03-26 17:58:37 -07:00
N. Taylor Mullen 784596aba6 Add support for C# 8 using variable declarations and add more C# 8 coverage.
- When adding additional C# 8 tests found that we didn't fully support this.
- Updated the C# 8.0 test to fully encompass everything C# 8.0.
- Added a feature flag to control using variable declaration errors when not top level.
- Added using variable declaration specific tests.

aspnet/AspNetCoredotnet/aspnetcore-tooling#5092
\n\nCommit migrated from ac08ad3659
2019-03-26 17:37:12 -07:00
Hao Kung 1f63f25508
[Helix] Enable Identity.FunctionalTests (#8564) 2019-03-26 10:27:55 -07:00
Pranav K d9bf01330a Update README.md 2019-03-26 09:59:44 -07:00
Pranav K 5f6caf3650 Set properties required for runtime compilation in RuntimeCompilation package
Fixes https://github.com/aspnet/AspNetCore/issues/7966
2019-03-26 09:59:23 -07:00
Ryan Brandenburg 70cd5f5f9f
Mark tests flaky instead of skipped (#8727)
Mark tests flaky instead of skipped
2019-03-26 09:51:37 -07:00
Pranav K 6eb9044660 Fixup invalid configuration error message (dotnet/aspnetcore-tooling#365)
* Fix invalid parameter used in error message
* Re-organize test code\n\nCommit migrated from 5a73c2abe9
2019-03-26 08:58:38 -07:00
Steve Sanderson 341cd25e05
Update to newer Blazor.Mono. Fixes #6726 (#8782) 2019-03-26 09:53:15 +00:00
Javier Calvarro Nelson 9c35c07a0b bind-Value on EditText often results in the wrong thing (dotnet/aspnetcore-tooling#364)
Updates the bindtaghelperdescriptorprovider to use the changed event property type name on the bound attribute instead of the value property type attribute.\n\nCommit migrated from 3009045206
2019-03-26 10:06:18 +01:00
dotnet-maestro[bot] af512861b2 [master] Update dependencies from 5 repositories (#8781)
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190324.2

- Microsoft.NET.Sdk.Razor - 3.0.0-preview4.19174.2
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview4.19174.2
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview4.19174.2
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview4.19174.2

Dependency coherency updates

- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27524-01 (parent: Microsoft.NETCore.App)

* Update dependencies from https://github.com/dotnet/core-setup build 20190324.03

- Microsoft.NETCore.App - 3.0.0-preview4-27524-03

Dependency coherency updates

- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27524-03 (parent: Microsoft.NETCore.App)

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

- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview4.19174.3
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview4.19174.3
- dotnet-ef - 3.0.0-preview4.19174.3
- Microsoft.EntityFrameworkCore - 3.0.0-preview4.19174.3
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview4.19174.3
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview4.19174.3
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview4.19174.3

Dependency coherency updates

- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27524-01 (parent: Microsoft.NETCore.App)

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

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

Dependency coherency updates

- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27524-01 (parent: Microsoft.NETCore.App)
2019-03-25 23:13:34 -07:00
N. Taylor Mullen f98ffcd759 Update more test files.
\n\nCommit migrated from 76c1352d2c
2019-03-25 20:26:36 -07:00
N. Taylor Mullen 40340e9b91 Design update.
\n\nCommit migrated from c9e0d2a60f
2019-03-25 20:26:36 -07:00
N. Taylor Mullen f33e1fca53 Enforce nullability for user code.
- Expanded the `ProjectWorkspaceStateGenerator` to extract the C# language version when building the `ProjectWorkspaceState`. This approach enables all platforms to get nullability support without any changes (as long as they support `ProjectWorkspaceState`, which they do). Also, Roslyn suggested that we avoid dealing with LangVersion directly because there are several factors that impact its "effective" value on a project when run in tooling.
- Updated the `LinePragma` code generation to include `#nullable restore` and `#nullable disable` lines to allow for project restored nullability state for user code.
- Added a new `RazorProjectEngineBuilderExtensions` class that adds Roslyn specific project engine modifications. In this case it allows us to set the C# language version for a project engine and configure underlying features accordingly.
- Added a `SuppressNullabilityEnforcement` flag that only turns on if C# < 8 is specified.
- Updated LiveShare, VS4Mac and RazorGenerate to understand CSharpLanguageVersion.
- Added a single test output to show the change.

dotnet/aspnetcore-tooling#5092
\n\nCommit migrated from 1df8128b87
2019-03-25 20:26:36 -07:00
Chris S c054f5fa67 Update README.md (#6904) 2019-03-25 15:12:57 -07:00
BrennanConroy 969c72acfd
C++ client low level API (#8420) 2019-03-25 13:52:38 -07:00
Hao Kung b7e122fbac
Hook auth options validation into validation feature (#8665) 2019-03-25 11:35:39 -07:00
Hao Kung 6641a02ff2
Enable AuthSamples.FunctionalTests on helix (#8691) 2019-03-25 11:19:27 -07:00
Pranav K 287fd0bef7 Update to use _Imports.razor 2019-03-25 10:59:44 -07:00
Steven T. Cramer 0494dfa683 Update BlazorLibrary-CSharp to use .razor extention 2019-03-25 10:59:44 -07:00
Steven T. Cramer 3c63a76a3d Update BlazorStandalone-CSharp to use .razor extention 2019-03-25 10:59:44 -07:00
Steven T. Cramer 15cb6dff96 Update BlazorHosted-CSharp.Client to use .razor extention
This adds clarity and precision to the template.  The files are Blazor/RazorComponents and not normal Razor Pages.
2019-03-25 10:59:44 -07:00
Eilon Lipton 31446f8c5d Merge pull request dotnet/extensions#1297 from aspnet/eilon/license
Fix license\n\nCommit migrated from 7a857c54ee
2019-03-24 20:02:30 -07:00
Justin Kotalik 7a1a53d76d
React to sem version 2.0 (#8725) 2019-03-24 14:17:06 -07:00