Commit Graph

403 Commits

Author SHA1 Message Date
Javier Calvarro Nelson b9e600a45c
Renames for blazor server-side, inclusion in shared framework, and other renaming fixes (#9001)
* Move contents of Microsoft.AspNetCore.Components.Services namespace to Microsoft.AspNetCore.Components
* Rename Components to Blazor
* Make Blazor server-side part of the shared framework.
2019-04-04 21:36:36 +02:00
Javier Calvarro Nelson 98d8b9ab4a
[Infrastructure] Retry yarn install on failure (#9068)
* [Infrastructure] Retry yarn install on failure
2019-04-04 20:39:52 +02:00
Nate McMaster 518b879895
Install VS 2019 RTM, not Preview, from scripts (#9057) 2019-04-04 05:18:51 -07:00
Javier Calvarro Nelson 8499a27c7f
[Components] Relayer + Robust reconnect (#8911)
* [MVC][Components] Prerendering + Robust reconnect
* Relayers prerendering support on a separate package on top of MVC and
  components.
* Implements robust reconects with acknowledgements from the client.
* Improves interactive prerendering with the ability to reconnect to
  prerendered components.
* Removes the need to register components statically when prerendering
  them.
* Removes the need of using an element selector when prerendering an
  interactive component.
* Updates the templates to use the new fallback routing pattern and
  reenables the components test.
* Adds eslint to the Typescript project to help maintain a consistent
  style.
* Adds logging to support better debugging based on the pattern used by
  signalr.
* Fixes exception handling on the server to always report exceptions correctly to the client.
2019-04-02 19:17:03 +02:00
Justin Kotalik df3a702190 Update the SDK (#8670) 2019-04-01 15:18:18 -07:00
Hao Kung 66ae9cee8d
Remove dead Fedora.27 Helix queue (#8929) 2019-03-29 14:46:17 -07:00
Alessio Franceschelli f28cf2bbc8 HeaderPropagation: propagate incoming request headers to outgoing HTTP requests (#7921)
* Ported HeaderPropagation from aspnet/Extensions

* Introduced Middleware

* Refactored middleware logic

* Refactored builder extensions

* Copyright notice

* Test for friendly exception on Builder

* Fixed header name selection when no output name specified

* Set comparer for the dictionary of headers

* Refactored configuration as Dictionary

* Renamed state objects

* renamed OutboundHeaderName in configuration

* Changed DefaultValuesGenerator to ValueFactory

* Missing docs

* Removed AlwaysAdd and added tests for null entry in configuration

* Improved docs

* Update src/Middleware/HeaderPropagation/src/DependencyInjection/HeaderPropagationExtensions.cs

Co-Authored-By: alefranz <alessio@franceschelli.me>

* Moved dependency injection extensions

* DI: reused ServiceCollection extension in the HttpClientBuilder one

* Moved service registration

* Update src/Middleware/HeaderPropagation/src/HeaderPropagationEntry.cs

Co-Authored-By: alefranz <alessio@franceschelli.me>

* more docs

* Improved docs

* Update src/Middleware/HeaderPropagation/src/HeaderPropagationValues.cs

Co-Authored-By: alefranz <alessio@franceschelli.me>

* Fixed build

* Update eng/SharedFramework.Local.props

Co-Authored-By: alefranz <alessio@franceschelli.me>

* Updated tests for null config

* Reversed condition on HeaderPropagationMessageHandler as suggested

* Added docs for HeaderPropagationMessageHandler

* Changed proj to ship package to NuGet
2019-03-29 12:00:46 -07: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
John Luo eaf6b3e7a1
Update Grpc.AspNetCore.Server version (#8828) 2019-03-27 08:51:46 -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 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
Steve Sanderson 341cd25e05
Update to newer Blazor.Mono. Fixes #6726 (#8782) 2019-03-26 09:53:15 +00: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
dotnet-maestro[bot] 23ad42e905 [master] Update dependencies from 5 repositories (#8756)
* Update Extensions packages to version 3.0.0-preview4.19173.2 from build 20190323.2

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

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

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

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

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

- Microsoft.NETCore.App - 3.0.0-preview4-27523-06

Dependency coherency updates

- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27523-06 (parent: Microsoft.NETCore.App)
2019-03-24 10:38:56 -07:00
Pranav K 9a35bbea03
Experience for Razor SDK (#8731)
* Experience for Razor SDK

* Remove Components.Build
* Update MVC projects and templates to use AddRazorSupportForMvc
* Update components templates to use .razor extension

Fixes https://github.com/aspnet/AspNetCore/issues/6392

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

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

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

- Microsoft.NETCore.App - 3.0.0-preview4-27522-01

Dependency coherency updates

- Microsoft.Bcl.Json.Sources - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.CSharp - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.Win32.Registry - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.ComponentModel.Annotations - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Data.SqlClient - 4.7.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Diagnostics.EventLog - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.IO.Pipelines - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Net.Http.WinHttpHandler - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Net.WebSockets.WebSocketProtocol - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Reflection.Metadata - 1.7.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Runtime.CompilerServices.Unsafe - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Cng - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Pkcs - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Xml - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Permissions - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Principal.Windows - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.ServiceProcess.ServiceController - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Text.Encodings.Web - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Threading.Channels - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27522-01 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.Platforms - 3.0.0-preview4.19164.7 (parent: Microsoft.NETCore.App)

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

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

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

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

* Grab latest from other aspnet repos
- brings everything into coherence
- aspnet/Extensions packages with version 3.0.0-preview4.19172.1 from build 20190322.1
- aspnet/AspNetCore-Tooling packages with version 3.0.0-preview4.19172.2 from build 20190322.2
- aspnet/EntityFrameworkCore packages with version 3.0.0-preview4.19172.3 from build 20190322.3
2019-03-22 17:33:20 -07:00
Ryan Brandenburg 0c4b3fbd6d
Improve local development of Templates (#8196) 2019-03-21 16:29:45 -07:00
Doug Bunting 7c3d249c77 Fix core-setup URI 2019-03-20 08:59:09 -07:00
Javier Calvarro Nelson 9f1a978230
[Infrastructure improvements] (#8275)
* Improved selenium start and tear down
  * Selenium is set up and torn down in an assembly fixture.
  * Selenium is initialized lazily and in a non-blocking way.
  * Selenium processes are tracked as part of the build and their pids
    written to a file on disk for cleanup in the event of unexpected
    termination of the test process.
  * Browser fixture retries with linear backoff to create a remote
    driver. Under heavy load (like when we are doing a simultaneous NPM
    restore) the selenium server can become unresponsive so we retry
    three times, with a longer comand timeout allowance each time up to
    a max of 3 minutes.
* Moved test project setup to build time instead of runtime.
  * Added target PrepareForTest to create the required files for testing
    * The template creation folder.
    * The template props file to use our built packages.
    * The folder for the custom hive.
  * Added assembly metadata attributes to find all the data we need to
    run the tests.
    * Path to the artifacts shipping packages folder.
    * Path to the artifacts non-shipping packages folder.
    * Path to the test templates creation folder.
    * Path to use for the custom templating hive used in tests.
  * Proper cleanup as part of the build
    * Remove the test templates creation folder.
    * Remove the test packages restore path.
    * Recreate the test templates creation folder.
    * Recreate the test packages restore path.
  * Generated Directory.Build.Props and Directory.Build.Targets in the
    test templates creation folder.
  * Cleaned up potentially stale templatetestsprops.
* Improved test flows
  * Initialization is done lazily and asynchronously.
    * Selenium
    * Browser fixture
    * Template initialization.
  * Flattened test flows to avoid assertions inside deep callstacks.
    * All assertions happen at the test level with improved error messages.
      * With the exception of the migrations assertions.
    * Assertions contain information about which step failed, for what
      project and what failure details.
  * Broke down tests to perform individual steps instead of mixing build
    and publish.
    * Publish project.
    * Build project. (Debug)
    * Run built project.
    * Run published project.
  * Concentrated build logic into the Project class.
    * Context between the different steps of a test is maintained in
      this class.
    * All operations that require coordination are performed within this
      class.
      * There is a lock for dotnet and a lock for nodejs. When building
        SPAs we acquire the nodejs lock to correctly prevent multiple
        runs of nodejs in parallel.

[ApiAuthorization template cleanups]
  * Fix preview3 issues with breaking changes on Entity framework by
    manually configuring the model in ApiAuthorizationDbContext.
  * Add app.db to the project file when using local db.
  * Fix linting errors on angular template.
  * Fix react tests
  * Add tests to cover new auth options in the SPA templates.
2019-03-20 08:44:20 +01:00
Doug Bunting cb864e64f2 Manually (and coherently) update dependencies from 5 repositories
- previous updates of Extensions, etc. were incoherent and not caught until we reached aspnet/AspNetCore
2019-03-18 19:36:09 -07:00
Doug Bunting 533104dd2a
Merge branch 'release/2.2' => 'master' (#8522)
- barely [automated]
2019-03-18 19:34:26 -07:00
Andrew Stanton-Nurse 706778d4de
Add a separate test pass to run flaky tests that doesn't fail the build (#8486)
Similar to https://github.com/aspnet/Extensions/pull/1239.
2019-03-18 18:21:14 -07:00
Doug Bunting 1d1d664ea1
Merge branch 'release/2.2' into master
- no-ops except for
  - Update PatchConfig.props (2835f85b6c)
  - Add some additional logging to ErrorPageMiddlewareWebSite (#8049) (aka 1ca6202e7e)
  - Put MVC's functional tests in a separate test group (#8118) (aka db3795b368)
- ignore the build queue (4f2a0edc97) change because we're not hitting Linux resource issues in `master` branch
- ignore baseline test changes (5661c41909 and d2a4435ac8) because they're not applicable in `master`
2019-03-18 12:36:01 -07:00
Javier Calvarro Nelson 3189146b4e
Fix typo in killprocesses.ps1
Fixes variable reference typo.
2019-03-16 19:15:47 +01:00
Javier Calvarro Nelson adf978a579 Kills java instances for Azure pipelines (#8568)
* Kills java instances for Azure pipelines

* Improved version

* Update output

* Add missing quote
2019-03-15 16:26:21 -07:00
BrennanConroy 2835f85b6c Update PatchConfig.props 2019-03-15 10:59:18 -07:00
Doug Bunting c90ffb0033
Merge branch 'release/2.2' => 'master' #8299
[mostly automated]
2019-03-14 11:56:47 -07:00
Doug Bunting 0c6591baea
Merge release/2.1 up to commit d2a4435ac8 => release/2.2
- remove updates about baseline test (5661c41909 and d2a4435ac8)
  - already done (differently) in release/2.2
- add JDK installation -- missing in these images but not needed in `release/2.1`
- add packages needed to run Chrome
2019-03-13 19:17:05 -07:00
Doug Bunting 6d1c75c095 Update all dependencies manually
- add `CoherentParentDependency` attributes for the new `darc` version
- also update docs/ReferenceResolution.md to match aspnet/Extensions version (and pick up improvements there)
2019-03-13 15:48:05 -07:00
Hao Kung a591a7cd78
Stop waiting for helix work item completion (#8483) 2019-03-13 15:02:03 -07:00
Hao Kung d818126c4d
Ignore mission control test failures for helix (#8464) 2019-03-13 12:53:57 -07:00
dotnet-maestro ef5d0cd706 Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190312.2
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview4.19162.2
- Microsoft.NET.Sdk.Razor - 3.0.0-preview4.19162.2
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview4.19162.2
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview4.19162.2
2019-03-13 09:01:00 -07:00
Pavel Krymets afeb139a5c
Consume Microsoft.Internal.Extensions.Refs (#8261) 2019-03-12 12:47:06 -07:00
Andrew Stanton-Nurse 61a9964a15
[BRT] Mitigating flaky SignalR tests (#8423)
* add the ability to skip c++ tests and skip signalr one (mitigates #8421)
2019-03-12 12:33:54 -07:00
Javier Calvarro Nelson d7a9606040
[Templating][Components] Unify and improve E2E testing infrastructure (#8188)
* Unify the Templating and Components testing infrastructure.
* Enable test project discovery in the components E2E tests.
* Enable selectively disabling Selenium tests through build properties.
2019-03-11 18:40:18 +01:00
Ryan Brandenburg aa57df121b Updated PR with my changes 2019-03-08 09:48:08 -08:00
David Fowler bd6faa5ca1
Chunked request parsing does not properly update examined (#8318)
- The chunked parsing logic didn't properly update the examined position when parsing the chunked prefix. This started to throw because Pipe now throws if examined is set to the position before the previous.
2019-03-08 09:42:02 -08:00
Doug Bunting 4cbc33da74 Update branding to 2.2.4 2019-03-07 11:53:17 -08:00
Hao Kung 435867e8c5
Add ability to skip tests on specific helix queues (#8231) 2019-03-06 23:53:18 -08:00
Pranav K cdd6e3194e
Update versions (#8198)
* Update versions
2019-03-06 17:56:51 -08:00
David Fowler d1ee93b94b
Allow disabling automatic MVC reference (#8167) 2019-03-05 09:19:28 -08:00
Hao Kung 3652b7a927
Helix tests should fail if exceptions thrown during test discovery (#8107) 2019-03-04 14:15:37 -08:00
Ben Adams ddce32a791 Use C#8 (#8128) 2019-03-02 19:48:43 -08:00
Pavel Krymets 01ce2836c8
Publish helix tests in release (#8104)
Fixes: https://github.com/aspnet/AspNetCore/issues/8103
2019-03-01 15:48:48 -08:00
Pavel Krymets cfe41771fd
Update core-setup to version containing signing fix and EF to version… (#8040)
… containing System.Data fix
2019-02-28 14:04:17 -08:00
Nate McMaster e7b00a5508
Deprecate the Microsoft.AspNetCore.App metapackage in favor of targeting and runtime packs (#7832)
* Deprecate the Microsoft.AspNetCore.App metapackage in favor of targeting and runtime packs
* Stop producing Microsoft.AspNetCore.App, and runtime.$(rid).Microsoft.AspNetCore.App
* Generate the shared framework without using 'NuGet' restore
* Stop producing intermediate packages for shared-framework only assemblies
* Put the platform manifest into the targeting pack (data/Microsoft.AspNetCore.App.PlatformManifest.txt)
* Create well-known, shared intermediate directories that installers can use to bundle content
2019-02-28 10:14:18 -08:00
Nate McMaster 3d2946060f
Update ResolveReferences.targets to include ContentFiles and Build assets from .Sources packages (#8032) 2019-02-28 09:30:10 -08:00
Pavel Krymets b6216b6101
Disable parallel publish for Helix (#8004) 2019-02-27 13:28:54 -08:00