Commit Graph

37869 Commits

Author SHA1 Message Date
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
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
Justin Kotalik 7a1a53d76d
React to sem version 2.0 (#8725) 2019-03-24 14:17:06 -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
Mikael Mengistu 316fbbe9c4
Marking tests as flaky(#8749) 2019-03-22 17:59:21 -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
Sebastien Ros 6d93a74a2c One more value 2019-03-22 16:49:09 -07:00
Sebastien Ros 1fb26a6467 Fixing NETCore.App version in benchmarks 2019-03-22 16:49:09 -07:00
Eilon Lipton 7a9238dd82
Fix license (#8733) 2019-03-22 16:21:55 -07:00
BrennanConroy 4b230ec419
Copy EndpointFeature when using LongPolling (#8730) 2019-03-22 15:36:57 -07:00
Justin Kotalik 26a118e462
Allow more time to see if events are in the event log (#8729) 2019-03-22 14:47:39 -07:00
Justin Kotalik 2018b82ffe
React to breaking changes with M.A.Internal (#8638) 2019-03-22 14:41:06 -07:00
Chris Ross dbfae86316
Fix JDK requirements (#8746) 2019-03-22 14:27:15 -07:00
Daniel Roth 036dec9d37 Close meta tag in Blazor hosted template
Fixes https://github.com/aspnet/AspNetCore/issues/6610
2019-03-22 09:04:58 -07:00
David Fowler 0d6e0637af Small HubConnection cleanup (#8643) 2019-03-21 16:30:56 -07:00
Ryan Brandenburg 0c4b3fbd6d
Improve local development of Templates (#8196) 2019-03-21 16:29:45 -07:00
Pranav K f5ff181222
System.Text.Json based formatters (#8362)
* System.Text.Json based formatters

Fixes: https://github.com/aspnet/AspNetCore/issues/7256
2019-03-21 13:45:21 -07:00
Andrew Stanton-Nurse 26fa19e080
Keep myself in the loop on PRs in my areas (#8708)
Whoooooo...
2019-03-21 11:28:45 -07:00
Javier Calvarro Nelson 5f4be179e3
Fix and identify flaky components E2E Tests (#8690) 2019-03-21 07:39:47 +01:00
Eilon Lipton 69732c9ecc
Remove unused namespaces from Worker template Program.cs (#8574)
Follow-up to 17344cd37f
2019-03-20 20:54:40 -07:00
Chirag Rupani aa89639d62 Removed Content Type header for response when no content is being returned (#8557)
Addresses #8230
2019-03-20 13:15:42 -07:00
Ryan Nowak b743ba2f66 Throw unhandled exceptions during prerendering
Fixes: #8609

Currently exceptions thrown during prerendering are simply logged. This
change uses the existing *unhandled exception* mechanism of the
renderer/circuit to throw these. The result is that the developer
exception page just works for prerendering.
2019-03-20 13:02:24 -07:00
mnltejaswini 2a08c6e54d Pass the formatter context to the CreateJsonSerializer. It gives ability to override and create serializer specific to the context (#8358)
* Pass the formatter context to the CreateJsonSerializer so that it gives ability to override and create serializer specific to the context
2019-03-20 12:01:41 -07:00
Jacques Eloff 314f67ec6e
Merge pull request #8450 from aspnet/joeloff/7729
Fix for #7729 to ensure upgradable bundles
2019-03-20 11:40:08 -07:00
Andrew Stanton-Nurse e61aa05b72
Fix #7477 by updating HttpSys readme (#8662)
We changed the README to "archived" before merging this repo into mondo repo. Whoops :).
2019-03-20 09:33:31 -07:00
Justin Kotalik 2d145682ce
Update some tests to be flaky rather than skipped (#8666) 2019-03-20 08:59:43 -07:00
Javier Calvarro Nelson 9db249e30a
[Components][Fixes #8058] Update blazor template to use IWebHostEnvironment (#8234) 2019-03-20 16:59:17 +01:00
Doug Bunting 7c3d249c77 Fix core-setup URI 2019-03-20 08:59:09 -07:00
Justin Kotalik b8e7cbad02
Remove Out-Of-Process test site fixture and make deployer check physical (#8659) 2019-03-20 08:33:26 -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
Chris Ross 0456c9dcc9
Handle SIGTERM exit code #6526 (#8294) 2019-03-19 19:15:00 -04:00
Artak Mkrtchyan 37a48d897b Update default log levels for templates 2019-03-19 13:52:14 -07:00
Jacques Eloff eb1ce947c5 Fix up property group, preprocessor statement 2019-03-19 11:50:13 -07:00
Jacques Eloff eb8ca48e77 Remove duplicate inputs 2019-03-19 11:50:12 -07:00
Jacques Eloff 2aabd9f847 Fix inputs for UpgradeCode 2019-03-19 11:50:11 -07:00
Jacques Eloff f87c75a90d Fix for #7729 to ensure upgradable bundles 2019-03-19 11:50:11 -07:00
Justin Kotalik 9f724f6ac4 Revert "Publish MusicStore as part of build (#8578)" (#8655)
This reverts commit f3eaa73c1a.
2019-03-19 11:03:48 -07:00
Mikael Mengistu 6038621630
Update acessTokenProvider selecting logic for restarting connection (#8569) 2019-03-19 10:55:53 -07:00
Justin Kotalik 26c487b0c0
Use examined rather than consumed for content length of body. (#8223) 2019-03-19 08:25:57 -07:00
Pranav K f3eaa73c1a
Publish MusicStore as part of build (#8578)
* Publish MusicStore as part of build

* Add a target to publish MusicStore as part of E2E tests
* Publishing for x86 causes unit tests in MusicStore to have weird
reference issues. Removing these since they are very pretty low value.
2019-03-19 07:17:55 -07:00
Doug Bunting bcead68f0c React to EntityFrameworkCore and AspNetCore-Tooling breaking changes
- avoid `[Obsolete]` EF Core method
- mirror recent `RazorIntegrationTestBase` changes in this repo
2019-03-18 19:36:09 -07: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