Pranav K
8d66f104f7
Make types in Microsoft.AspNetCore.Mvc.Internal namespace internal
2018-11-08 14:00:16 -08:00
Pranav K
17ed44c868
React to Razor.Design package removal ( #8680 )
...
* React to Razor.Design package removal
* Remove references to packages (Razor.Design, Razor.Extensions) solely used to bring in compiler \ targets
* Target netcoreapp3.0 in samples and tests to allow Sdk to infer values
2018-10-31 15:38:22 -07:00
Doug Bunting
e4292c236c
Merge pull request #8682 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-31 14:47:16 -07:00
Doug Bunting
a6199bbfba
Add integration and functional tests of `[BindRequired]` on page properties ( #8677 )
...
- #7353
2018-10-31 14:15:14 -07:00
James Newton-King
79117fa08a
Merge 2.2 to master
2018-10-23 22:04:56 +13:00
James Newton-King
40959a97e7
Fix link generation of routes with default values ( #8616 )
2018-10-23 16:10:43 +13:00
Pranav K
79458c16fd
Merge pull request #8626 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-19 13:57:59 -07:00
Patrick Westerhoff
ddbe0fef26
Allow custom handling of antiforgery failures
...
To enable custom handling of antiforgery validation failures, use an
`AntiforgeryValidationFailedResult` which is just a `BadRequestResult`
but allows to be identified explicitly inside always-running result
filters using the `IAntiforgeryValidationFailedResult` marker interface.
2018-10-19 13:47:08 -07:00
Pranav K
5f42d5063e
Merge remote-tracking branch 'origin/release/2.2'
2018-10-12 15:58:08 -07:00
Pranav K
fb57810f29
Shortcircuit validation when using default validator providers and no validation metadata is discovered
...
Fixes https://github.com/aspnet/Mvc/issues/5887
2018-10-12 14:47:06 -07:00
Pranav K
a40c1f2d02
Use compat flag to drive XML ProblemDetails formatting
2018-10-12 14:15:28 -07:00
James Newton-King
ce7d77aa09
Merge pull request #8577 from dotnet-maestro-bot/merge/release/2.2-to-master
2018-10-11 08:10:56 +13:00
James Newton-King
9daf5ff7a4
Fix PageRouteTransformerConvention with custom page routes ( #8576 )
2018-10-10 18:33:30 +13:00
Doug Bunting
5a5bb47860
Merge branch 'master' into merge/release/2.2-to-master
2018-10-04 16:04:25 -07:00
Pranav K
153165f9ad
Handle OPTIONS requests without a handler in Razor Pages ( #8528 )
...
* Handle OPTIONS requests without a handler in Razor Pages
Fixes #7438
2018-10-04 12:25:36 -07:00
Pranav K
523b2223ad
Merge pull request #8551 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-04 09:46:45 -07:00
James Newton-King
94101a9cde
Add PageRouteTransformerConvention ( #8541 )
2018-10-04 17:34:26 +13:00
James Newton-King
d30678e08e
Merge branch 'merge/release/2.2-to-master'
2018-10-04 16:17:48 +13:00
James Newton-King
7854d65c11
Support page parameter in attribute route ( #8530 )
2018-10-04 14:39:40 +13:00
Ryan Nowak
c3adc59792
Merge branch 'release/2.2'
2018-09-30 14:04:56 -07:00
Ryan Nowak
cb1393cbb1
Adding functional tests for LinkGenerator
2018-09-29 20:34:48 -07:00
Pranav K
5915c69aa3
Merge remote-tracking branch 'origin/release/2.2'
2018-09-21 11:42:45 -07:00
Pranav K
61386d5f67
Reference Microsoft.NET.Sdk.Razor in projects with Razor files
2018-09-20 13:21:45 -07:00
Ryan Nowak
5b9ef5972c
Merge branch 'release/2.2'
2018-09-20 11:08:03 -07:00
Ryan Nowak
5c4c746797
Reaction PR from routing rename
2018-09-20 10:15:50 -07:00
Pranav K
9c424b7b02
Use content-type specified by ProducesAttribute if no formatter supports it
...
This allows users to use `ProducesAttribute` to specify the content-type
for action results such as FileStreamResult where the result determines the content type
and the specified value is informational.
Fixes https://github.com/aspnet/Mvc/issues/5701
2018-09-19 13:51:31 -07:00
Doug Bunting
43621246c7
Merge branch 'merge/release/2.2-to-master'
2018-09-18 12:31:58 -07:00
Pranav K
c73b13f544
Cherry-pick @pranavkm's functional test for #7562
...
- 30a5eda508 / origin/prkrishn/form-file-value-provider
Was:
Design: Use a value provider to allow nested form files
Fixes https://github.com/aspnet/Mvc/issues/7562
2018-09-18 11:44:48 -07:00
James Newton-King
446ce02dd5
Merge branch 'merge/release/2.2-to-master'
2018-09-15 10:02:04 +12:00
James Newton-King
8791f9ad0d
Change test parameter transformer to slugify values ( #8453 )
2018-09-15 09:14:48 +12:00
James Newton-King
7d072c1c1a
Merge release/2.2
2018-09-13 09:16:12 +12:00
Pranav K
cb88e906b2
Allow ProducesAttribute to apply along with conventions
...
Fixes #8389
2018-09-12 13:58:02 -07:00
Simon Cropp
43d4416a1d
Fix typos ( #8413 )
2018-09-12 09:34:45 -07:00
James Newton-King
dfae9c208a
Add IParameterTransformer support ( #8329 )
2018-09-12 21:46:41 +12:00
N. Taylor Mullen
7a945bd192
Merge branch 'release/2.2'
2018-09-11 14:10:01 -07:00
N. Taylor Mullen
ec489da586
Add additional logging to diagnose flaky cache tag test.
...
#8281
2018-09-11 14:09:36 -07:00
Doug Bunting
30274c29e5
Merge branch 'release/2.2'
2018-09-07 09:00:25 -07:00
Casey O'Brien
74ba9898f4
[ Fixes #8250 ] Improve the error message when TEntryPoint is not in an entry point assembly
...
Validates that the type used as a generic argument in WebApplicaitonFactory is contained within the entry point to assembly and throws InvalidOperationException otherwise
2018-09-06 18:02:21 -07:00
Ryan Nowak
f7d9271d71
Merge branch 'merge/release/2.2-to-master' of https://github.com/dotnet-maestro-bot/Mvc into dotnet-maestro-bot-merge/release/2.2-to-master
2018-09-06 16:09:34 -07:00
Pranav K
07cc9e66c6
Add a feature to disable file watching in Razor pages ( #8369 )
...
* Add a feature to disable file watching in Razor pages
Fixes https://github.com/aspnet/Mvc/issues/8362
2018-09-06 10:16:31 -07:00
Pranav K
1dba6dfcc8
Merge remote-tracking branch 'origin/release/2.2'
2018-09-05 16:59:37 -07:00
Ryan Nowak
1128bd572c
Add a functional test for middleware after routing
...
It came up during routing discussions that we don't have any tests for
this scenario.
2018-08-30 14:51:56 -07:00
James Newton-King
927e7c8bfc
Support route data tokens with Endpoint Routing ( #8360 )
2018-08-30 15:14:34 +12:00
Ajay Bhargav Baaskaran
4d98ea801e
Test basic link generation in Razor pages in both regular and endpoint routing
2018-08-29 15:50:53 -07:00
Pranav K
d09c3c9e28
Polish ProblemDetails
...
* Add ability to set extended members on ProblemDetails
* Skip empty valued properties when serializing ProblemDetails
Fixes #8296
Fixes #8317
2018-08-28 16:21:39 -07:00
Javier Calvarro Nelson
dfb579d45c
[ Fixes #8021 ] Copy the request headers before sending the request on the RedirectHandler
...
If another handler modifies the request headers the modified headers get
applied on subsequent requests, which is not correct. This change copies
the headers before sending the request and uses the original headers for
the redirect request instead of the potentially modified ones.
2018-08-23 16:09:05 -07:00
Pranav K
8eea0ad44c
Update tests to latest compat switch
2018-08-23 08:09:02 -07:00
James Newton-King
03da30f3bf
Replace remaining references to global routing ( #8312 )
2018-08-23 10:23:29 +12:00
James Newton-King
cbe1526763
React to routing changes ( #8303 )
2018-08-22 17:15:09 +12:00
Pranav K
5bd818bd64
Introduce ProblemDetailsFilter
...
Fixes https://github.com/aspnet/Mvc/issues/6786
2018-08-21 17:29:12 -07:00