Commit Graph

32537 Commits

Author SHA1 Message Date
BrennanConroy 90606338fb
Log when closing connection due to timeout (#2722) 2018-08-02 15:21:24 -07:00
Pavel Krymets 4eb2e41601
Wait between requests while checking app_offline (#1144) 2018-08-02 15:03:50 -07:00
ASP.NET CI 8ede977f8b Updating submodule(s)
Mvc => e2b6f07778
WebSockets => 768d2a023e

[auto-updated: submodules]
2018-08-02 15:03:03 -07:00
Pranav K e2b6f07778 Respect LowercaseUrls in ApiExplorer
Fixes #8006
2018-08-02 14:58:41 -07:00
BrennanConroy 768d2a023e
Add Origin validation to WebSockets middleware (#252) 2018-08-02 14:43:11 -07:00
ASP.NET CI 86f7e086a7 Updating submodule(s)
IISIntegration => 477fd1d90d
KestrelHttpServer => beca0259c2

[auto-updated: submodules]
2018-08-02 14:35:24 -07:00
Pranav K 39f46060e7
Correct changeset for Mvc submodule 2018-08-02 13:56:35 -07:00
Pranav K 5a20037965
Move API convention analyzers to Microsoft.AspNetCore.Mvc.Api.Analyzers
Fixes #8153
2018-08-02 13:53:33 -07:00
Pranav K c0ed5c71a4 Add Microsoft.AspNetCore.Mvc.Api.Analyzers 2018-08-02 13:53:12 -07:00
Artak Mkrtchyan 6d9aa281c5
Render `maxlength` attribute for an input tag, when MaxLength or StringLength validation attributes are applied to the model class. 2018-08-02 13:44:19 -07:00
Chris Ross (ASP.NET) beca0259c2 Verify request Content-Length #2733 2018-08-02 13:23:57 -07:00
Pavel Krymets 477fd1d90d
Aquire exclusive lock when creating application info (#1142) 2018-08-02 13:17:17 -07:00
ASP.NET CI fdbf707ff4 Updating submodule(s)
SignalR => 1358d5a07e

[auto-updated: submodules]
2018-08-02 13:04:31 -07:00
Andrew Stanton-Nurse 1358d5a07e
remove Jenkins configs already covered by VSTS (#2706) (#2723) 2018-08-02 13:00:06 -07:00
ASP.NET CI b21f07d8ae Updating submodule(s)
Mvc => b7335ac768

[auto-updated: submodules]
2018-08-02 09:58:06 -07:00
Pranav K b7335ac768
Add a code fix that applies ProducesResponseTypeAttributes 2018-08-02 09:40:18 -07:00
ASP.NET CI 95dd304a1a Updating submodule(s)
SignalR => 32d380a058

[auto-updated: submodules]
2018-08-02 09:31:30 -07:00
David Fowler 32d380a058
Don't send WebSocketCloseStatus.Empty, it's invalid (#2716) 2018-08-02 09:09:25 -07:00
ASP.NET CI b94590a48c Updating submodule(s)
IISIntegration => 1d1b2155c4

[auto-updated: submodules]
2018-08-02 09:02:19 -07:00
Pavel Krymets 1d1b2155c4
Merge pull request #1117 from aspnet/shirhatti/updatemodulename
Update module version property to match exact name of the module
2018-08-02 08:57:10 -07:00
ASP.NET CI 4928099a5e Updating submodule(s)
Diagnostics => 64124e9c85
Mvc => 2b289d2f2c

[auto-updated: submodules]
2018-08-01 19:14:47 -07:00
Ryan Nowak 64124e9c85 Add filtering to Health Checks middleware
This allows each middleware to be configured with a specific set of
checks (by name). See the comments in the sample for how this is
frequently used.

This is also addresses aspnet/Home#2575 - or at least the part that we
plan to do. We think that any sort of built-in system of metadata or
tags is vast overkill, and doesn't really align with the primary usage
of health checks.

We're providing building blocks, and these can be put together to
build more complicated things like what's described in aspnet/Home#2575.
2018-08-01 19:07:58 -07:00
Ryan Nowak 2b289d2f2c Use MatcherPolicy for Consumes 2018-08-01 19:05:04 -07:00
Ryan Nowak 47f427d5ac Updating Health Checks for 2.2
A bunch of small changes and updates for 2.2 focused at making our main
scenarios more streamlined and focused. Also adds samples for
extensibility we support so far.

A list of changes:

Clearing baselines for these projects. We didn't ship anything in 2.1 so
there should be nothing in the baselines.

--

The middleware now uses Map for path matching. This makes the actual
`HealthCheckMiddleware` more standalone. This will make it easy to use
with Dispatcher/Endpoint Routing in the future.

This also manifests by removing Path from HealthCheckOptions - the path
is an explicit argument to the UseHealthChecks middelware - this
streamlines the design for 3.0.

--

Added extensibility for customizing the status codes (aspnet/Home#2584)

--

Added extensibility for writing the textual output (aspnet/Home#2583)

--

Changed the default output to be `text/plain`. The most common use cases
for health checks don't include a detailed status.

The existing output format is still available as an option.
2018-08-01 18:49:44 -07:00
ASP.NET CI 07eae90062 Updating submodule(s)
Mvc => 44f5b54f5f
Routing => 8c4f187c22

[auto-updated: submodules]
2018-08-01 18:45:51 -07:00
James Newton-King 8c4f187c22
Endpoint routing rename and API review changes (#684) 2018-08-02 13:38:08 +12:00
James Newton-King 44f5b54f5f
React to routing API review (#8194) 2018-08-02 13:37:43 +12:00
ASP.NET CI 5dff7b85e5 Updating submodule(s)
CORS => a080301b89

[auto-updated: submodules]
2018-08-01 23:15:59 +00:00
Wraptor a080301b89 Removed CorsConstats.Simple* variables 2018-08-01 16:02:13 -07:00
Flying Wraptor 2db11051d8 Removed Simple request filtering 2018-08-01 16:02:13 -07:00
ASP.NET CI 02ca7abd52 Updating submodule(s)
IISIntegration => 8ea2cd9081

[auto-updated: submodules]
2018-08-01 22:45:37 +00:00
Pavel Krymets 8ea2cd9081
Ship shim with integration testing (#1129) 2018-08-01 15:40:45 -07:00
ASP.NET CI d7a0cd94b4 Updating submodule(s)
EntityFrameworkCore => c5f7d11c93e6c9b33467f72ac7613761abf9d0c1

[auto-updated: submodules]
2018-08-01 22:14:55 +00:00
ASP.NET CI adb70c023f Updating submodule(s)
IISIntegration => f4c71da996

[auto-updated: submodules]
2018-08-01 14:41:59 -07:00
Pavel Krymets f4c71da996
Reduce msbuild invocations while building native (#1135) 2018-08-01 14:37:23 -07:00
BrennanConroy 7d4df89025
Back Port WebPack (#2641) 2018-08-01 13:55:08 -07:00
Mike Lorbetske 7487da155f
Switch signing certificate for Newtonsoft.JSON to Microsoft3rdPartyAppComponentDual 2018-08-01 12:42:16 -07:00
Mike Lorbetske 7f8f210a24
Add license headers to all files
Bump version of JSON.NET to 11.0.2
2018-08-01 12:37:35 -07:00
Mike Lorbetske 89ab0cfde8
Initial commit of the HTTP REPL 2018-08-01 12:37:34 -07:00
ASP.NET CI c7e5a3d2c4 Updating submodule(s)
Mvc => c34830f9de

[auto-updated: submodules]
2018-08-01 19:12:56 +00:00
Doug Bunting 165c712201
Use OSS package versions consistent with aspnet/benchmarks and Microsoft.AspNetcore.All 2.1.2
- update our own NuGet packages to align lower-level dependencies
2018-08-01 11:14:10 -07:00
Doug Bunting c34830f9de
Use OSS package versions consistent with aspnet/benchmarks and Microsoft.AspNetcore.All 2.1.2
- update our own NuGet packages to align lower-level dependencies
- add metadata to BasicApi controllers
  - avoids analyzer failures when building with Microsoft.AspNetCore.All e.g. in benchmark runs
  - especially important in `PetController` because it's associated with `[ApiContoller]`
- use pooled `DbContext`s for MySql too
2018-08-01 11:04:33 -07:00
ASP.NET CI 475b561420 Updating submodule(s)
Mvc => 814a803ed8

[auto-updated: submodules]
2018-08-01 17:29:33 +00:00
Pranav K 814a803ed8
Use local instances of MemoryCache in script, link and image tag helper 2018-08-01 10:14:31 -07:00
ASP.NET CI 9abe2dda50 Updating submodule(s)
SignalR => fd6b52c22b

[auto-updated: submodules]
2018-08-01 16:49:01 +00:00
Mikael Mengistu fd6b52c22b
Move .pom file in gradle build task (#2708) 2018-08-01 09:42:35 -07:00
ASP.NET CI e1ad46e1cd Updating submodule(s)
Mvc => f4ff537a31

[auto-updated: submodules]
2018-08-01 08:05:33 -07:00
ASP.NET CI 323f25fb74 Updating submodule(s)
Mvc => ab84d17bb3

[auto-updated: submodules]
2018-08-01 07:37:53 -07:00
Kiran Challa f4ff537a31 Fix flaky test by using a different instance of contract resolver
[Fixes #8175] FlakyTest: ExecuteAsync_ErrorDuringSerialization_DoesNotCloseTheBrackets
2018-08-01 07:33:37 -07:00
Kiran Challa ab84d17bb3 Unskip endpoint routing functional tests 2018-08-01 07:22:42 -07:00