Commit Graph

451 Commits

Author SHA1 Message Date
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
Justin Kotalik 430002570f Update patch config for ANCMV2 patch 2019-03-15 23:32:58 +00: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
Doug Bunting e497f4101f
Update branding to 2.1.10 (#8265) 2019-03-06 19:45:46 -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
Pavel Krymets 783131a750
Re-enable full IIS tests on Windows.10.Amd64.EnterpriseRS3.ASPNET.Open (#7959) 2019-02-27 11:03:41 -08:00
Pavel Krymets 3b95ef0b95
Ignore error output from git diff in code check (#7923) 2019-02-25 12:55:54 -08:00
Doug Bunting ad599f14d3
Move to latest Xunit packages (#7905)
- now consistent with AspNetCore-Tooling and only slightly ahead of Extensibility
2019-02-25 12:26:44 -08:00
Nate McMaster d2d60000eb
Create Linux installers for the aspnetcore targeting pack (#7776)
This creates 3 new build outputs:

* aspnetcore-targeting-pack-$(version).tar.gz
* aspnetcore-targeting-pack-$(version)-linux-x64.deb
* aspnetcore-targeting-pack-$(version)-linux-x64.rpm

Other changes:
* Make RPM packaging consistent with other installers. Vendor == Microsoft Corporation
* Add shared properties for building the targeting pack (or not building it in a servicing build)
2019-02-25 12:00:36 -08:00
Pavel Krymets 78bc2a10b9
Reenable IISExpress on helix (#7586) 2019-02-25 09:05:19 -08:00
Nate McMaster f2658821b5
React to System.Runtime.CompilerServices.Unsafe moving into Microsoft.NETCore.App
React to dotnet/corefx#35526
2019-02-24 15:37:03 -08:00
Nate McMaster 8d0da78681
Update dependencies 2019-02-24 09:37:23 -08:00
Nate McMaster e02e047dcb
Merge branch 'master' into merge/release/3.0-preview3-to-master 2019-02-24 09:31:17 -08:00
Nate McMaster 1b27c9905c
Update dependencies and react to changes (#7844)
* Add workaround for dotnet/sdk#2976
* Add new restore sources
* Update BAR manifest to point to  https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore/index.json
* Obsolete WithCulture
* Add retries to dockerbuild.sh
* Ensure each test run gets a unique in-memory database
2019-02-22 19:09:08 -08:00
Nate McMaster 5be7d30231 Replace npm commands with yarn 2019-02-22 13:30:19 -08:00
dotnet-maestro f19e8da1da Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190221.3
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview4.19121.3
- Microsoft.NET.Sdk.Razor - 3.0.0-preview4.19121.3
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview4.19121.3
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview4.19121.3
2019-02-22 10:26:11 -08:00
John Luo 2fd9e40b58 Merge branch 'release/3.0-preview3' 2019-02-21 16:01:22 -08:00
John Luo 4c0b114b12
Add gRPC templates (#7561) 2019-02-21 15:12:13 -08:00
Pavel Krymets 9355c7c1a5
Add reference assemblies support (#7764) 2019-02-21 14:33:35 -08:00
Ryan Nowak ebb527d347 [wip] Update Razor SDK and resolve issues
I'm still chasing one more issue.

(cherry picked from commit 616a4a36f5)
2019-02-21 11:42:23 -08:00
Nate McMaster 4451a80447
Merge branch 'release/3.0-preview3' 2019-02-21 10:30:11 -08:00
Nate McMaster fbaa3e8b77
Always kill processes and remove direct reference to component governance task (#7793) 2019-02-21 09:29:42 -08:00
Ryan Nowak 616a4a36f5 [wip] Update Razor SDK and resolve issues
I'm still chasing one more issue.
2019-02-21 09:14:17 -08:00
Nate McMaster df9d0240b5 Add dependency to MicroBuild.Core 0.3.0 2019-02-20 21:41:41 +00:00
Nate McMaster 9a2db43848
Follow-up to VS2019 conversion (#7753)
* Set VS version in file to 16.0.0.0
* Fix for restore failure on Microsoft.AspNetCore.App.Runtime.csproj
2019-02-20 11:02:38 -08:00
Nate McMaster 85ae18c723
Make Visual Studio 2019 a prerequisite to building this repo (#7005)
Changes:

* Make Visual Studio 2019 a prerequisite for building this repo
* Update .sln files
* Update Windows SDK to 17134
* Update developer docs
* Disable ANCM tests
* Update to .NET Core SDK 3.0 Preview 2
* Use Microsoft.NET.Sdk.Razor as a package consistently accross the repo
* React to changes in metadata from Microsoft.NETCore.App
* React to changes in .NET Core SDK
* Attempt to workaround CodeCheck.ps1 failure which doesn't repro locally or on different agents. Possibly due to differences in the version of the PowerShell task?
* Remove dead YML file
* Rename usages of win7-{x64,x86} to win-{x64,x86}
* Update KoreBuild to 3.0.0-build-20190219.1
2019-02-20 09:53:53 -08:00
Nate McMaster 3a785e0045
Temporarily disable Ubuntu and Debian ARM queues for distributed testing (#7747)
Helix tests is failing for everyone because these queues are not functioning. Tests timeout after several hours of waiting for agents.

Tracking https://github.com/dotnet/core-eng/issues/5261 to re-enable these agents.
2019-02-20 08:55:19 -08:00
Steve Sanderson 7a2dfd3200
Components: Forms and validation (#7614) 2019-02-20 09:56:32 +00:00
Nate McMaster 69a463c709 Update Extensions 2019-02-17 09:29:57 -08:00
Nate McMaster cbf696b516 Update core-setup dependencies 2019-02-17 09:29:57 -08:00
Hao Kung 63a8b14619
Fix helix.proj warnings (#7373) 2019-02-15 19:40:10 -08:00
Hao Kung a1490bac35
Adding arm and fedora helix queues (#7543) 2019-02-15 19:37:05 -08:00
Nate McMaster 394ef0ab93
Add missing entry to Version.Details.xml (#7643)
Changes:
* add entry for Mono.WebAssembly.Interop to Version.Details.xml
* Update code check to ensure all veriables in the 'automated' section are accounted for in Version.Details.xml
2019-02-15 17:00:06 -08:00
Mikael Mengistu c98c79d255
Add startvs script from the tools directory. (#7582) 2019-02-15 14:55:07 -08:00
Ajay Bhargav Baaskaran c565386a3e
Merge pull request #7597 from aspnet/ajbaaska/merge-master
Merge branch 'release/2.2' to master
2019-02-14 23:20:18 -08:00
Nate McMaster 67a6f08da9
Fix for missing, required property in Linux package signing 2019-02-14 17:45:41 -08:00
Ajay Bhargav Baaskaran b3d3f5e7fb Updated missed slns 2019-02-14 17:35:48 -08:00
Nate McMaster 6defaadb8b
Update location of obj/ and bin/ directories to match Arcade conventions (#7585) 2019-02-14 16:27:53 -08:00
Ajay Bhargav Baaskaran 7a26d27e8b Merge branch 'release/2.2' 2019-02-14 16:08:51 -08:00
Nate McMaster 4a5b6ea169
Merge branch 'release/2.2' => 'master' 2019-02-14 11:58:17 -08:00
Doug Bunting 8d58116d6d Fix Microsoft.AspNetCore version in baseline
- odd that Microsoft.AspNetCore.Server.IISIntegration didn't have correct version before&hellip;
2019-02-14 11:25:36 -08:00
Ajay Bhargav Baaskaran a8277408d9
Merge pull request #7542 from dotnet-maestro-bot/merge/release/2.1-to-release/2.2
[automated] Merge branch 'release/2.1' => 'release/2.2'
2019-02-14 10:43:50 -08:00
Chris Ross 44e6813452
Use new version of h2spec #6691 (#7559) 2019-02-14 09:28:58 -08:00
Nate McMaster 0ec25d3167
Create new 'runtime pack' nuget packages for Microsoft.AspNetCore.App (#7475)
* Create a new package  - Microsoft.AspNetCore.App.Runtime.${rid} - which contains crossgen-ed versions of shared framework assemblies. This will be used by the SDK to replace rid-split packages
* Add a task which can generate the .deps.json file for the shared framework. Unlike the existing task we have, this does not rely on consuming a .deps.json file generated by first running a restore on packages.
* Move the reference to xunit.runner.console into the normal targets and files for managing dependencies
* Produce binlogs during build
2019-02-14 07:25:13 -08:00
Doug Bunting e089cfc11c
Merge branch 'release/2.2' 2019-02-14 06:29:38 -08:00
Doug Bunting d102d10a81 Update branding to 2.2.3
- new version
- update baselines
- grab latest released Microsoft.NetCore.App and Microsoft.NETCore.DotNetAppHost

nit:
- updated ZipManifestGenerator's README.md to use 2.2 examples
2019-02-13 23:15:58 -08:00
Ajay Bhargav Baaskaran f1e4d0309b Regenerated projectreferences.props 2019-02-13 15:12:17 -08:00
Ajay Bhargav Baaskaran 0c2ee920a1 Merge branch 'release/2.1' into release/2.2 2019-02-13 14:52:38 -08:00
Nate McMaster 338de4710a
Automatically set 'PrivateAssets=All' for .Sources references (#7539)
When a `<Reference>` is named `*.Sources`, set PrivateAssets=All (exclude from generated nuspec) and IncludeAssets=ContentFiles (only consume content files, not .dll's)
2019-02-13 14:31:15 -08:00
Ajay Bhargav Baaskaran 4cceccd568
Make Mvc repo folder layout consistent (#7518) 2019-02-13 10:53:39 -08:00
Nate McMaster 2ac4619635
Replace custom targets for generating assembly attributes and source control info by using SDK features (#7504) 2019-02-13 10:22:03 -08:00
Nate McMaster 3fd8a97af2
Add targets to generate the list of shared framework assemblies from project property (#7510)
Changes:
* Add support for a property, `IsAspNetCoreApp`, in the .csproj file of assemblies which are part of the shared framework. 
* Remove unused dependencies
* Remove reference which have become part of 'netcoreapp3.0'
2019-02-12 23:00:19 -08:00
Pavel Krymets de74a0e2f0
Don't rely on the defaults for IntDir (#7513) 2019-02-12 21:26:11 -08:00
Doug Bunting 5bb5bafbed Update branding to 2.1.9 2019-02-12 19:12:20 -08:00
Chris Ross abd2a61bdb
Update Extensions dependencies (#7397) 2019-02-11 13:18:22 -08:00
Pranav K db7218b2fc
Consume Mono.WebAssembly.Interop from Extensions (#7290) 2019-02-08 17:37:36 -08:00
dotnet-maestro[bot] 7b3149af1e Update dependencies from 4 repositories (#7301) 2019-02-08 15:07:46 -08:00