Commit Graph

4332 Commits

Author SHA1 Message Date
Doug Bunting 60b9e5d6af
Merge pull request #8257 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-08-11 13:44:29 -07:00
Doug Bunting 1cae9b2658
Merge pull request #8256 from SIkebe/fix-locale-sensitive-unit-tests
Fix locale sensitive unit tests
2018-08-11 13:01:42 -07:00
Pranav K 050993ed92
Merge remote-tracking branch 'origin/release/2.2'
# Conflicts:
#	build/dependencies.props
2018-08-10 11:17:26 -07:00
Ikebe Shodai 253ac7c143 Ignore line ending diff 2018-08-10 11:09:49 -07:00
Ikebe Shodai b78063d2d4 Fix locale sensitive unit tests 2018-08-11 02:53:52 +09:00
Pranav K 9da8e2c908 Ensure UnsupportedContentTypeFilter runs before ModelStateInvalidFilter
Both UnsupportedContentTypeFilter and ModelStateInvalidFilter use ModelState to
determine the response. UnsupportedContentTypeFilter returns a more specific
response and should execute earlier than the latter filter.

Fixes #8236
2018-08-10 10:39:13 -07:00
Kristian Hellang da1189e6f1 Use StatusCodes constants instead of literals in the ProducesResponseType code fix (#8234)
* Use StatusCodes constants instead of literals
2018-08-08 14:41:30 -07:00
Kiran Challa 3c19cede7d Updated dependencies 2018-08-07 16:01:48 -07:00
Kiran Challa 9585084258 Using Routing feature branch versions 2018-08-07 13:38:36 -07:00
Kiran Challa 685176faf5 Updated dependencies 2018-08-07 12:14:33 -07:00
Kiran Challa 306c399310 Using Routing feature branch versions 2018-08-07 11:19:58 -07:00
Kiran Challa 48d1680846 upgraded dependencies 2018-08-07 11:06:38 -07:00
James Newton-King 4cf8b4bb82
Merge 2018-08-07 12:58:38 +12:00
James Newton-King 47f2f451e3
EnableEndpointRouting documentation (#8220) 2018-08-07 09:22:33 +12:00
ASP.NET CI f067c3964f Update dependencies.props
[auto-updated: dependencies]
2018-08-06 20:45:11 +00:00
Kiran Challa cf3fcc5278 Updated to use Routing feature branch versions 2018-08-06 10:37:45 -07:00
Kiran Challa 75389d2ba2 Merge branch 'merge/release/2.2-to-master'
# Conflicts:
#	build/dependencies.props
2018-08-06 10:33:48 -07:00
ASP.NET CI 218bf4aaef Update dependencies.props
[auto-updated: dependencies]
2018-08-05 19:59:07 +00:00
Kiran Challa 4336b50340 Updated dependencies 2018-08-04 08:10:53 -07:00
Kiran Challa c16f86f0ef React to Routing repo's api changes 2018-08-03 16:25:41 -07:00
James Newton-King 33198f20ed
Merge branch 'merge/release/2.2-to-master' 2018-08-04 11:13:41 +12:00
James Newton-King d4472f08ed
Remove legacy EnableGlobalRouting option (#8214) 2018-08-04 09:58:00 +12:00
Pranav K 7a70c6c690
Merge remote-tracking branch 'origin/release/2.2' 2018-08-03 14:49:16 -07:00
Pranav K 6efb51d817
Add Microsoft.AspNetCore.Mvc.Api.Analyzers to Mvc.sln 2018-08-03 14:46:45 -07:00
Pranav K a375cba359
Copy action constraints and EndPointMetadata when setting up a PageActionDescriptor (#8208)
* Copy action constraints and EndPointMetadata when setting up a PageActionDescriptor

Fixes #8207
2018-08-03 12:04:44 -07:00
James Newton-King ac410b76d9
Change MvcEndpointInfo to internal (#8210) 2018-08-03 16:30:57 +12:00
Pranav K 7a3520752b
Merge pull request #8205 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-08-02 17:12:56 -07:00
Kiran Challa 90b093baac Updated dependencies.props 2018-08-02 16:59:57 -07:00
Pranav K ce8fc29728 ConsumesAttribute accepts requests without content type
Fixes #8174
2018-08-02 16:27:23 -07:00
Pranav K 0989231ed5 Make structs readonly 2018-08-02 15:44:09 -07:00
Pranav K 9e5905dac0
Merge pull request #8200 from aspnet/release/2.2
Respect LowercaseUrls in ApiExplorer
2018-08-02 15:43:39 -07:00
Pranav K e2b6f07778 Respect LowercaseUrls in ApiExplorer
Fixes #8006
2018-08-02 14:58:41 -07:00
Pranav K 64c3ee98b0
Merge remote-tracking branch 'origin/release/2.2' 2018-08-02 13:59:29 -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
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
Pranav K c76eb8bb37
Merge remote-tracking branch 'origin/release/2.2' 2018-08-02 09:45:45 -07:00
Pranav K b7335ac768
Add a code fix that applies ProducesResponseTypeAttributes 2018-08-02 09:40:18 -07:00
James Newton-King 3b6da530b3
Update deps 2018-08-02 14:30:23 +12:00
James Newton-King 83d519c4f7
Merge 2018-08-02 14:13:58 +12:00
Ryan Nowak 2b289d2f2c Use MatcherPolicy for Consumes 2018-08-01 19:05:04 -07:00
James Newton-King 44f5b54f5f
React to routing API review (#8194) 2018-08-02 13:37:43 +12:00
dotnet-maestro-bot 4a7cd6e3e5 Use OSS package versions consistent with aspnet/benchmarks and Microsoft.AspNetcore.All 2.1.2 (#8190)
- 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 12:51:09 -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
Pranav K 567aa6e110
Merge remote-tracking branch 'origin/release/2.2' 2018-08-01 10:17:10 -07:00
Pranav K 814a803ed8
Use local instances of MemoryCache in script, link and image tag helper 2018-08-01 10:14:31 -07:00
Kiran Challa 1431413c56 Merge branch 'merge/release/2.2-to-master' 2018-08-01 10:04:56 -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
James Newton-King c902e5d312
Merge branch 'merge/release/2.2-to-master' 2018-08-01 16:00:19 +12:00
James Newton-King 046af405b6
Rename global routing to endpoint routing (#8179) 2018-08-01 15:05:49 +12:00