Pranav K
0102d4efab
Introduce ApiConventionMethodAttribute
...
Fixes #8147
2018-07-30 11:13:25 -07:00
ASP.NET CI
29f3e94fd1
Update dependencies.props
...
[auto-updated: dependencies]
2018-07-29 12:20:41 -07:00
James Newton-King
41de26a546
Add UseMvc unit tests ( #8164 )
2018-07-29 16:58:50 +12:00
Ryan Nowak
fbae57cde1
React to the removal of EndpointConstraint
2018-07-28 19:03:16 -07:00
James Newton-King
c01c7075be
Add EndpointMetadata to ActionDescriptor and hookup CORS ( #8158 )
2018-07-28 16:12:54 +12:00
Doug Bunting
556880872d
Ensure later validations of `null` models do not overwrite `Invalid` state
...
- #8078
2018-07-26 13:49:22 -07:00
Doug Bunting
0d427a60e5
Use `TheoryData` properties to avoid duplicate test data
...
- couldn't just remove duplicate `[TheoryData]` in `GlobalRoutingTest`
- xUnit analyzers don't understand `[InlineData]` is inherited (though runtime certainly does)
2018-07-26 10:12:50 -07:00
Doug Bunting
498fa2d72f
Avoid `InvalidOperationException` when serializing `SerializableError`
...
- #8055
- provide unique name (`<Empty-Key>`) for XML elements that would otherwise be nameless
nits:
- remove now-useless Mono special case in updated test class
- extend updated tests to involve square brackets as well as empty keys
2018-07-26 08:56:02 -07:00
James Newton-King
f31ab716ee
Change MvcEndpointDataSource to use GetChangeToken ( #8137 )
2018-07-26 09:20:26 +12:00
Kiran Challa
10ce77b9ca
Updated MvcEndpointDataSource to create endpoints with SuppressLinkGenerationMetadata
2018-07-25 06:41:57 -07:00
Kiran Challa
bcd6e83591
Upgraded dependencies.props
2018-07-25 06:15:17 -07:00
Ryan Nowak
b71d5da05e
Fix test break due to 405 returned from routing
2018-07-24 22:15:32 -07:00
James Newton-King
c08504b08a
MVC startup experience ( #8131 )
2018-07-25 14:30:51 +12:00
Kiran Challa
630aeade07
Added tests related to generating urls with route name
2018-07-24 15:06:16 -07:00
Nate McMaster
6a8f015d34
Merge branch 'release/2.1' into release/2.2
2018-07-24 12:07:23 -07:00
Eilon Lipton
f850e31bfb
Update CONTRIBUTING.md
2018-07-24 10:54:26 -07:00
Kiran Challa
5580928209
Upgraded dependencies.props
2018-07-24 09:18:08 -07:00
Kiran Challa
9b217892ab
Using routing feature branch versions to prevent cross repo breaking changes
2018-07-24 05:21:37 -07:00
Kiran Challa
3df34dbbfe
React to Routing repo's LinkGenerator api changes
2018-07-24 05:20:53 -07:00
Alexej Timonin
52c1e942c6
Added UseCamelCasing and UseMemberCasing extension methods to MvcJsonOptions ( #7256 )
2018-07-23 10:11:04 -07:00
Ryan Nowak
196e3f109f
React to Routing branding
...
This is a reaction PR for the branding changes in progress in Routing.
This can be merged after the changes to in to Routing.
2018-07-22 19:47:15 -07:00
ASP.NET CI
3c73a98357
Update dependencies.props
...
[auto-updated: dependencies]
2018-07-22 12:21:04 -07:00
Doug Bunting
ff4e2eb4c8
Merge pull request #8123 from kishanAnem/dev
...
Custom error messages with validation message tag helper #8035
2018-07-22 11:05:53 -07:00
kishan.anem
c0ba374549
Custom error messages with validation message tag helper #8035
...
#8035
PR #8087
https://github.com/aspnet/Razor/issues/2497
2018-07-22 17:55:06 +05:30
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
Nate McMaster
d46948da1d
Pin version variables to the ASP.NET Core 2.1.2 baseline
...
This reverts our previous policy of cascading versions on all servicing updates.
This moves variables into the 'pinned' section, and points them to the latest
stable release (versions that were used at the time of the 2.1.2 release).
2018-07-12 18:32:17 -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
Nate McMaster
66cac69adf
Updating dependencies to 2.1.2 and adding a section for pinned variable versions
2018-07-12 13:44:05 -07:00