Commit Graph

21277 Commits

Author SHA1 Message Date
Pranav K 587ead92e4
Reference Microsoft.NET.Sdk.Razor in projects with Razor files 2018-09-20 13:55:13 -07:00
Pavel Krymets d463b5e613
Fix ReaderThrowsResetExceptionOnInvalidBody (#1420) 2018-09-20 12:38:35 -07:00
Ryan Nowak 8fb6c2a50a Allow cancellation to propagate 2018-09-20 11:04:35 -07:00
Pavel Krymets d28468ca8f
Override IIS headers in inproc (#1409) 2018-09-20 09:21:34 -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
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
ASP.NET CI f04440816a Updating submodule(s)
Hosting => 3f7ee338d4

[auto-updated: submodules]
2018-09-19 19:43:04 +00: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
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 7fb4940258 ⬆️ Update NetTopologySuite.Core to 1.15.1 2018-09-19 09:22:07 -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
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 c4c5650769 Updating submodule(s)
EntityFrameworkCore => 198eebae2fae5ccb2ff0e03027f419a61f18eaf7

[auto-updated: submodules]
2018-09-18 22:38:34 +00: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
Stephen Halter 10458d5ecc Merge branch 'release/2.1' into release/2.2 2018-09-18 14:15:35 -07:00
Stephen Halter 15ba5065a9
Skip connection reset tests on macOS in 2.1 (#2942) 2018-09-18 14:11:28 -07:00
ASP.NET CI d795da1ff5 Updating submodule(s)
EntityFrameworkCore => 5aac90ec26df036d81986db8ad9fc881ee02e0d0
Razor => fc86cc3ca1

[auto-updated: submodules]
2018-09-18 14:00:59 -07:00
ASP.NET CI eb38bdf9fc Updating submodule(s)
EntityFrameworkCore => ba37ae53f5beb96f9c69f74316938cc164a42059

[auto-updated: submodules]
2018-09-18 13:29:16 -07:00
ASP.NET CI 069cc971ab Updating submodule(s)
Mvc => c73b13f544

[auto-updated: submodules]
2018-09-18 18:53:04 +00:00
ASP.NET CI 4fed962ee8 Updating submodule(s)
BasicMiddleware => 4a4dde182f
EntityFrameworkCore => 65bb62264c2bb8c3b05d3a9882967e598841b635
IISIntegration => 5e896ca506
KestrelHttpServer => f3b6430aab
SignalR => 70ea1268a7

[auto-updated: submodules]
2018-09-18 09:49:59 -07:00
Matt Mitchell d74ab7d8cb
Merge pull request #1408 from mmitche/fix-2.1-2.2-erge
Fix merge of 2.1->2.2
2018-09-18 09:44:54 -07:00
ASP.NET CI d63ab042c7 Updating submodule(s)
SignalR => bc148a0724

[auto-updated: submodules]
2018-09-18 08:41:55 -07:00
Matt Mitchell 19eba188f2 Fix merge of 2.1->2.2 2018-09-18 07:43:01 -07:00
Stephen Halter f3b6430aab
Initialize Heartbeat in KestrelServer.StartAsync (#2939)
Fixes #2850 again
2018-09-17 16:43:30 -07:00
tiago-soczek a7e412ec80 Fix category logger for HttpsConnectionAdapter and LoggingConnectionAdapter. #2929 (#2935) 2018-09-17 16:01:14 -07:00
Chris Ross (ASP.NET) b8423b8530 Change how HTTP/2 frames are parsed and generated #2858 2018-09-17 14:48:43 -07:00
David Fowler 2999aa54cd
Remove calls to MemoryMarshal.GetReference (#2931)
- Spans can be pinned natively in C# 7.3
2018-09-17 14:47:04 -07:00
John Luo 69ff195f66 Enable hpack/4.2 - Maximum Table Size test
- Ensure dynamic tables size updates occur at the beginning of the header block
2018-09-17 12:46:51 -07:00
John Luo 025aca52df Port long Huffman encoding bug fix
https://github.com/dotnet/corefx/pull/32043
2018-09-17 12:41:36 -07:00
Ryan Brandenburg d89160ba83 Merge branch 'merge/release/2.1-to-release/2.2' into release/2.2 2018-09-17 12:18:11 -07:00
Pavel Krymets 5e896ca506
Implement IHttpBufferingFeature (#1391) 2018-09-17 12:04:12 -07:00
Justin Kotalik 2cd6ad6d50
Add windows auth tests for inproc (#1385) 2018-09-17 11:57:46 -07:00
ASP.NET CI bafd4ff534 Updating submodule(s)
Razor => 060698a52f

[auto-updated: submodules]
2018-09-17 18:14:16 +00:00
ASP.NET CI 052fad06a9 Updating submodule(s)
IISIntegration => e477f47ba8

[auto-updated: submodules]
2018-09-17 15:13:04 +00:00
Justin Kotalik e477f47ba8
Cleanup log file tests (#1398) 2018-09-17 08:07:16 -07:00
ASP.NET CI faddcd2975 Updating submodule(s)
AADIntegration => 7662f101c2
Antiforgery => 861a5d4d47
AuthSamples => d9c50cab30
AzureIntegration => 4dc1dca0c7
BasicMiddleware => f171aa4a64
BrowserLink => b5f2e831d89a2a8dd248add1070bfb68405184df
Caching => e2bc07490f22592ea9454a07d1d60d46319b26b5
Common => ab703a2daa8a03c5d21c6afd3c0158323d4cf3d6
Configuration => 590a92bee4b672e6d5363c88d91ff83afc5fba78
CORS => 9225e5da80
DataProtection => 4143059054
DependencyInjection => 0723ef0d295787f9f57d5b623cab7d5a54ae03d3
Diagnostics => 3ac6439dcf
DotNetTools => 7517263bd4
EntityFrameworkCore => cb0a43c7f947274c70b0880e776dec730e532c7f
EventNotification => ac6e7584a2f584996518a7597b329aceacfed080
FileSystem => b044f45363341949e22b59ef87c37191f9011edc
Hosting => b195e36cc3
HtmlAbstractions => 89a2849126
HttpAbstractions => de1f0ac3ff
HttpClientFactory => 14380575acad6a66f39704fc60ef07a1ffb96313
HttpSysServer => 8181856014
Identity => 415a6cb53a
IISIntegration => 6172677a0a
JavaScriptServices => 622be9084a
JsonPatch => 41614badf9
KestrelHttpServer => a1ffc5345b
Localization => 1e6af9ee90
Logging => 5602ec6da4dc6ff40054fb3e8f46a7174dd8b698
MetaPackages => badd2e81b8
Microsoft.Data.Sqlite => bf031d3ecf70deebba2c36fa89912b89fc65f13a
MusicStore => d66734130e
Mvc => 6abb4d9e81
MvcPrecompilation => 7703802661
Options => 6127812e29dbb9041e7e9ac8375cf8f29ea01a60
Proxy => 5a0c5b44b656df64a30066287bbf42f7d5213415
Razor => 2bf00ff9a6
ResponseCaching => cf4ef27bcc
Routing => df27b3ec10
Scaffolding => a8dde8cbb0b96277aa30dd2a635a5dd653366b93
Security => b3ad10ef51
ServerTests => 29b7150b65
Session => 65d45eed6a
SignalR => 3f05f09fe4
StaticFiles => 7da4635215
Templating => 3db9c1e488
WebSockets => 35000369eb

[auto-updated: submodules]
2018-09-16 12:36:30 -07:00
ASP.NET CI 35000369eb Update dependencies.props
[auto-updated: dependencies]
2018-09-16 12:32:04 -07:00
ASP.NET CI 3db9c1e488 Update dependencies.props
[auto-updated: dependencies]
2018-09-16 12:31:05 -07:00
ASP.NET CI 7da4635215 Update dependencies.props
[auto-updated: dependencies]
2018-09-16 12:30:48 -07:00