Commit Graph

36440 Commits

Author SHA1 Message Date
Ryan Brandenburg 9e7c3d6110 Remove duplicate CompilerServicesUnsafe 2018-09-20 10:19:35 -07:00
Ryan Nowak 5c4c746797 Reaction PR from routing rename 2018-09-20 10:15:50 -07:00
Ryan Nowak a657c3bdf2 Updates to Parameter Transformer
- Rename -> IOutboundParameterTransformer
- Make it operate on object
- Implementing caching for constraints/tranformers for link generation
(cached as part of TemplateBinder)
2018-09-20 10:15:42 -07:00
Pavel Krymets d28468ca8f
Override IIS headers in inproc (#1409) 2018-09-20 09:21:34 -07:00
Pavel Krymets ca0b9ee512
Merge pull request #1417 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-09-20 07:06:11 -07:00
Steve Sanderson b2f73492f5 Fix method wiping (#1448)
* Fix wiping assemblies that contain references to others in same directory

* Fix generated IL for reporting calls to wiped methods

* Add E2E test for method wiping
2018-09-20 10:20:37 +01:00
Ryan Nowak 4cecbc668a
Merge pull request #481 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-09-19 19:12:35 -07:00
Peter Marcu bd2c692702 add arm64 sharedfx builds 2018-09-19 18:30:23 -07:00
Ryan Nowak 787283ec2f
Merge branch 'master' into merge/release/2.2-to-master 2018-09-19 18:23:12 -07:00
Pavel Krymets b08b237927
StopServer before asserting TestSink (#1416) 2018-09-19 17:20:29 -07:00
Pavel Krymets 375d037946
Add applicationInitialization tests (#1402) 2018-09-19 16:32:24 -07:00
Pavel Krymets 4661a8de66
Merge pull request #1403 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-09-19 16:24:45 -07:00
BrennanConroy 6ba5e87b45
Allow CancellationToken in streaming hub methods (#2818) 2018-09-19 15:21:07 -07:00
Ryan Nowak 4259b65c16
Use options for registering health checks (#479)
* Use options for registering health checks

This change pivots to use options for registering health checks. We get
a few pretty nice things out of this, and it unblocks some of our
requirements.

Now all registration methods support the application developer
configuring the name, failure-status, and tags for each health check.
This is a requirment, that we weren't really satisfying - which is what
led to this redesign. In support of this health checks now return pass/fail,
and the service is responsible for assigning the status.

----

Health check authors that need configuration data (connection string as
an example) now have three ways to do this depending on their
requirements.
1. Create an instance and register that (easiest)
2. Use Type Activation and pass parameters (middle)
3. Use named options (richest)

We expect most health checks to need/want some kind of configuration -
which 1) works pretty well to solve. However many other health checks
will need DI + configuration. It was also a gap that we didn't have a
good way to use named options, when it's such a good fit for our
scenarios.

Added new registration methods for type activation that allow you to
pass parameters for 2).

Added a context type that allows the running health check access to its
registration for 3).

----

Redesigned and renamed how status gets reported. Health checks return
pass/fail result, but the overall HealthReport includes entries of a
different type. This seems fine because there isn't really a way to
consume a HealthCheckResult directly - the service is the only consumer.

----

Added support for tags. This was easy to add now that we have a separate
registration type, and it's quite handy for building filters (see
sample).

* HARDER BETTER STRONGER FASTER
2018-09-19 14:48:34 -07:00
BrennanConroy 4b378692a4
[Java] Add Invoke support (#2961) 2018-09-19 13:58:15 -07:00
Pranav K 9c424b7b02
Use content-type specified by ProducesAttribute if no formatter supports it
This allows users to use `ProducesAttribute` to specify the content-type
for action results such as FileStreamResult where the result determines the content type
and the specified value is informational.

Fixes https://github.com/aspnet/Mvc/issues/5701
2018-09-19 13:51:31 -07:00
BrennanConroy 8be051ce34
Idempotentize AddSignalR (#2972) 2018-09-19 13:39:34 -07:00
Pranav K f7da3503d6 Allow Implicit 200 status codes to match Ok result 2018-09-19 12:51:13 -07:00
ASP.NET CI f04440816a Updating submodule(s)
Hosting => 3f7ee338d4

[auto-updated: submodules]
2018-09-19 19:43:04 +00:00
Pranav K 73e66999cd
Merge remote-tracking branch 'origin/release/2.2' 2018-09-19 12:40:34 -07:00
Pranav K 13d9774e7a
Merge remote-tracking branch 'origin/release/2.1' into release/2.2 2018-09-19 12:37:23 -07:00
Mike Harder 3f7ee338d4 Change SelfHostDeployer to use dynamic ports by default (#1383)
* Should significantly reduce flaky test failures due to AddressInUse exceptions
* Addresses https://github.com/aspnet/Hosting/issues/1296
2018-09-19 12:35:51 -07:00
Justin Kotalik b41f1f0cae
Make cert fixture lazy (#1412) 2018-09-19 12:26:14 -07:00
Howard Richards d4e2c28145 Amend link for [docs]
The current link for docs points to the wiki which does not have a lot of documentation. Suggest pointing to https://blazor.net/docs/index.html
2018-09-19 11:36:14 -07:00
Mikael Mengistu f27df1d61e
Java Async APIs (#2971) 2018-09-19 10:14:35 -07:00
Pranav K f70df60435 Move RazorGenerate and RazorTagHelper tasks in to the Sdk
Loading multiple versions of a task assembly result results in MSBuild on .NET Core to fail.
Addressing this by moving the tasks in to the Sdk and renaming it. This should avoid
immediate issues for a 2.1 and 2.2 project co-existing and future proofs 2.2 and later.

Fixes https://github.com/aspnet/Razor/issues/2553
2018-09-19 10:09:56 -07:00
Pavel Krymets 4e57b0e1f1
Add functional style request aborted test (#1406) 2018-09-19 10:09:44 -07:00
Pavel Krymets 608889b110
Remove server header assert (#1407) 2018-09-19 10:06:23 -07:00
ASP.NET CI d4ba9b9dcc Updating submodule(s)
EntityFrameworkCore => fecef9c5da8b1133e209ff83ac1bd2674cd14bcb

[auto-updated: submodules]
2018-09-19 16:50:12 +00:00
Brice Lambson 4b615a3a04 Merge branch 'release/2.2' 2018-09-19 09:38:59 -07:00
Brice Lambson 7fb4940258 ⬆️ Update NetTopologySuite.Core to 1.15.1 2018-09-19 09:22:07 -07:00
Steve Sanderson 0fd0fa3b79 Include TPN file in VSIX and all nupkg files built from "src" directory 2018-09-19 13:35:01 +01:00
ASP.NET CI 7ae4194648 Updating submodule(s)
IISIntegration => a7a3dbd53e
Razor => 2b1bdb7342

[auto-updated: submodules]
2018-09-18 17:57:50 -07:00
N. Taylor Mullen 2b1bdb7342 Move RazorCompletionFactsService to CodeAnalysis.Workspaces.Razor.
- Also updated workspaces test project to also compile for netcoreapp2.2.
2018-09-18 17:34:45 -07:00
ASP.NET CI a8db58f2bc Updating BuildTools from 2.2.0-preview1-20180911.1 to 2.2.0-preview1-20180918.1
[auto-updated: buildtools]
2018-09-18 17:25:06 -07:00
ASP.NET CI 52562c314c Updating submodule(s)
IISIntegration => b6c311c14d
Razor => 7144add4ad

[auto-updated: submodules]
2018-09-18 17:24:58 -07:00
Justin Kotalik a7a3dbd53e Merge branch 'merge/release/2.2-to-master' 2018-09-18 17:04:33 -07:00
Pranav K 7144add4ad
Check for ITagHelper in tag helper feature provider (#2602)
Fixes #2482
2018-09-18 16:52:34 -07:00
Pavel Krymets b6c311c14d
Add client disconnect and connection abort support (#1388) 2018-09-18 16:36:52 -07:00
ASP.NET CI 1841c5efea Updating submodule(s)
EntityFrameworkCore => 2bb602fc07b526bb9f68c1019b68b8c9f058ff0f
FileSystem => 32dbcac21c7fb906bb358ed682afe8dfbc0a526b

[auto-updated: submodules]
2018-09-18 23:10:39 +00:00
ASP.NET CI 53e5f8a868 Updating submodule(s)
EntityFrameworkCore => 37c0e9124c607fcfbc93a343b81b380dadc08614

[auto-updated: submodules]
2018-09-18 16:09:04 -07:00
ASP.NET CI c4c5650769 Updating submodule(s)
EntityFrameworkCore => 198eebae2fae5ccb2ff0e03027f419a61f18eaf7

[auto-updated: submodules]
2018-09-18 22:38:34 +00:00
ASP.NET CI 035dd4f69c Updating submodule(s)
KestrelHttpServer => bd1d232cf4

[auto-updated: submodules]
2018-09-18 15:38:06 -07:00
Stephen Halter bd1d232cf4
Merge pull request #2940 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-09-18 15:25:31 -07:00
ASP.NET CI e039e2e8e5 Updating submodule(s)
Templating => f63412f1bb

[auto-updated: submodules]
2018-09-18 22:07:08 +00:00
ASP.NET CI f5452b1293 Updating submodule(s)
IISIntegration => ece5ad36e2
KestrelHttpServer => 10458d5ecc

[auto-updated: submodules]
2018-09-18 21:34:44 +00:00
Ryan Brandenburg f63412f1bb Update package verions 2018-09-18 14:34:39 -07:00
ASP.NET CI 9ad33e5166 Updating submodule(s)
KestrelHttpServer => 15ba5065a9

[auto-updated: submodules]
2018-09-18 14:33:01 -07:00
Justin Kotalik ece5ad36e2
Implement ITlsConnectionFeature (#1390) 2018-09-18 14:22:56 -07:00
Steve Sanderson 2f69aa90e5 Revert "Update VSTS queue name", because that change is intended for a
different VSTS instance only.

This reverts commit 32681bf44fc44c2711b5598d5c2481e6accf1ce0.
2018-09-18 22:21:38 +01:00