Kiran Challa
e1e7ec0f28
Enable couple of skipped Dispatching functional tests
2018-07-21 04:44:38 -07:00
Pranav K
e903bda94a
Add test project to Mvc.NoFun.sln
2018-07-20 17:09:20 -07:00
Remco
28c0c4d128
Add ability to override the testing web content root using environment variables
2018-07-20 16:56:24 -07:00
Alexej Timonin
d4beab5d09
CompositeValidationAttribute
...
- Add abstract CompositeValidationAttribute.
- Change DataAnnotationsMetadataProvider.CreateValidationMetadata to
populate ValidatorMetadata with validation attributes from CompositeValidationAttribute.
2018-07-20 15:31:14 -07:00
Ryan Nowak
5c488bf09c
make feature branch build
2018-07-20 12:57:43 -07:00
Ryan Nowak
8f8d3afd36
Fix bug in benchmark
2018-07-20 12:57:43 -07:00
Ryan Nowak
3ba6f35495
React to RoutePattern changes in Routing
2018-07-20 12:57:43 -07:00
Kristian Hellang
53930af0e3
Set ProblemDetails status field during ObjectResult formatting
2018-07-19 17:57:55 -07:00
James Newton-King
36d90c9bc2
Run request service constraint test with dispatching ( #8112 )
2018-07-19 16:43:51 +12:00
James Newton-King
ec8976ffaf
Update MvcEndpointDataSource on raised change token ( #8108 )
2018-07-19 16:43:24 +12:00
James Newton-King
badbcb9437
Add MvcEndpointDataSource benchmarks ( #8104 )
2018-07-18 15:48:18 +12:00
Kiran Challa
c1fab727a0
Upgraded dependencies.props
2018-07-17 10:09:36 -07:00
Kiran Challa
dd252c0ccc
Updated dependencies.props to use feature branch versions
2018-07-17 05:24:51 -07:00
Kiran Challa
0caacb8217
React to LinkGenerator api changes
2018-07-17 05:24:27 -07:00
James Newton-King
42218d5fb5
Versioning with endpoint constraint ( #8098 )
2018-07-17 16:37:45 +12:00
Pranav K
b62499e02c
Ensure PageContext.ViewData and ViewContext.ViewData are the same instance
...
Fixes #7675
2018-07-16 11:16:03 -07:00
Pranav K
9d951325b2
Re-organize shared src packages so we can do true IVT between src assemblies
2018-07-16 11:15:58 -07:00
ASP.NET CI
4f42432853
Update dependencies.props
...
[auto-updated: dependencies]
2018-07-15 12:22:00 -07:00
Doug Bunting
35fad0881b
Mark unused `ParameterBinder.BindModelAsync(...)` overloads as `[Obsolete]`
...
- #7660
- also addresses part of #7317 , only in `ComplexTypeModelBinderIntegrationTest`
2018-07-13 13:26:56 -07:00
Doug Bunting
f2608c2ff4
Do not suppress `ModelValidationState.Invalid` entries
...
- #7992 , #7963
2018-07-13 13:21:43 -07:00
Pranav K
dfbdb37979
Refactorings for codefix ( #8067 )
...
* Refactorings for codefix
- Move some common code in SymbolApiResponseMetadataProvider
- Don't run diagnostics for 1006 if we are unable to parse a return type
2018-07-13 13:05:49 -07:00
James Newton-King
f12f9b46ed
Add startup filter to set MiddlewareFilterBuilder.ApplicationBuilder
2018-07-13 12:23:30 +12:00
Hao Kung
a5083d525b
Fix regression with Authorize + IPolicyProvider ( #8068 )
2018-07-12 15:36:03 -07:00
Pranav K
46189abda7
Refactoring for ApiConvention analyzers
2018-07-12 14:26:27 -07:00
Pranav K
a87b8fa2af
Merge remote-tracking branch 'origin/release/2.1' into release/2.2
2018-07-12 12:48:57 -07:00
Pranav K
f26a613528
Merge commit '4f1b7ccca634bd0ab2d3336a6f2623ebe8b6682d' into release/2.2
2018-07-12 12:48:50 -07:00
Pranav K
174c5eaa6c
Make fewer public API changes
2018-07-12 12:46:49 -07:00
Pranav K
4f1b7ccca6
Use ModelMetadata from actual types for validation
...
Fixes https://github.com/aspnet/Mvc/issues/7952
2018-07-12 12:46:49 -07:00
James Newton-King
a67d9363e2
Consumes endpoint constraint ( #8057 )
2018-07-12 16:35:33 +12:00
James Newton-King
c367e1d681
Fix dispatching functional tests not using dispatching startup ( #8052 )
2018-07-12 14:19:48 +12:00
James Newton-King
183ecd85d6
Fix MVC integration with UseEndpoint ( #8047 )
2018-07-11 11:47:33 +12:00
Pranav K
1e7be641ae
Add some common aliases for conventions
...
Fixes #8015
2018-07-09 18:25:29 -07:00
Kiran Challa
0812279464
Merge branch 'release/2.1' into kichalla/21.to.22.mergecommit
...
# Conflicts:
# build/dependencies.props
# korebuild-lock.txt
# src/Microsoft.AspNetCore.Mvc.ApiExplorer/DefaultApiDescriptionProvider.cs
# test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ApiBehaviorApplicationModelProviderTest.cs
# version.props
2018-07-09 13:00:10 -07:00
Kiran Challa
bd995d4cb1
[ Fixes #7959 ] Conventional routing with custom templates not working when you have area attributes
2018-07-09 12:35:14 -07:00
Alexej Timonin
dc2ae93c3f
Add fallback attribute to partial tag helper.
...
Addresses #7515
2018-07-09 12:24:26 -07:00
hishamco
dee479fda7
Add partial helper to Razor Page \ PageModel
...
Fixes #7885
2018-07-09 11:01:15 -07:00
ASP.NET CI
d2cfbd2671
Update dependencies.props
...
[auto-updated: dependencies]
2018-07-08 12:22:39 -07:00
Pranav K
d2bb674b0a
Add support for default response ( #8028 )
...
* Add support for default response
Fixes #6828
2018-07-06 16:44:07 -07:00
Pranav K
335500ab0e
Use ModelMetadata from actual types for validation
...
Fixes https://github.com/aspnet/Mvc/issues/7952
2018-07-02 11:23:16 -07:00
Alexej Timonin
c2fcfabdf3
Add optional property to PartialTagHelper ( #7991 )
...
* Add optional to PartialTagHelper
Addresses #7268
2018-06-29 16:02:38 -07:00
Zbginiew Dobras
f6befb9ed3
Added ObjectResult implementation for Unauthorized response
2018-06-29 14:27:34 -07:00
Nathanael Marchand
133d49c57e
Fix Api Explorer not returning type with ActionResult<T> and no type in ProducesResponseTypeAttribute
2018-06-29 13:55:30 -07:00
Pranav K
7f2a64e32b
Razor runtime compilation produces errors if running on a shared runtime that's rolled forward
...
Do not provide compilation references from runtime MVC assemblies. This avoids cases where the app is compiled
against an older MVC but running against a newer one (e.g. shared fx roll forward) resulting in compiling against multiple
versions of MVC assemblies
Fixes #7969
2018-06-29 13:55:22 -07:00
Nathanael Marchand
82f7f2aab8
Fix Api Explorer not returning type with ActionResult<T> and no type in ProducesResponseTypeAttribute
2018-06-29 12:00:16 -07:00
Nate McMaster
224017c762
Update CI and build tools for to use 2.2 versions
2018-06-29 11:33:02 -07:00
Pranav K
c4d5ef94a9
Razor runtime compilation produces errors if running on a shared runtime that's rolled forward
...
Do not provide compilation references from runtime MVC assemblies. This avoids cases where the app is compiled
against an older MVC but running against a newer one (e.g. shared fx roll forward) resulting in compiling against multiple
versions of MVC assemblies
Fixes #7969
2018-06-29 11:17:25 -07:00
Kiran Challa
66cb3d50aa
Upgraded dependencies.props
2018-06-29 04:48:28 -07:00
Kiran Challa
0295f6d6e3
Revert "Using Routing feature branch package"
...
This reverts commit 13585f711f .
2018-06-29 04:39:32 -07:00
Doug Bunting
192e8073ee
Work around `CryptographicException`s thrown in some full framework test runs
...
- always skip affected tests on full framework
2018-06-28 15:52:19 -07:00
Kiran Challa
13585f711f
Using Routing feature branch package
2018-06-28 13:27:15 -07:00