Pranav K
dfd9b17f68
More keynotfound avoidance
2018-05-07 11:08:41 -07:00
Pranav K
f35deb71f9
Prevent KeyNotFound when logging
2018-05-07 10:50:26 -07:00
ASP.NET CI
4e97bfe957
Update dependencies.props
...
[auto-updated: dependencies]
2018-05-06 12:24:44 -07:00
Jass Bagga
e0188c4936
Modify info level logging for pages ( #7733 )
...
Addresses #7602
2018-05-04 13:47:48 -07:00
Pranav K
777782ac6e
Test cleanup
2018-05-03 16:03:42 -07:00
Kiran Challa
86d885e533
Added a template for filing issues
2018-05-02 13:42:44 -07:00
Kiran Challa
cb97a93fff
Merge branch 'release/2.1' into dev
2018-05-01 14:05:13 -07:00
Kiran Challa
35f7d3f09c
Added tests to verify that RazorPages and FuzzyMatching with Head requests work
2018-05-01 14:01:00 -07:00
Kiran Challa
84c8db5aae
Merge branch 'release/2.1' into dev
2018-05-01 13:32:39 -07:00
Kiran Challa
19c41c0494
Revert "[ Fixes #6902 ] Added an overload for StatusCode that takes in System.Net.HttpStatusCode"
...
This reverts commit c567a690bc .
[Fixes #7709 ] Revert https://github.com/aspnet/Mvc/pull/6902
2018-05-01 13:27:57 -07:00
Nate McMaster
346e9b4f91
Merge branch 'release/2.1' and bump to 0.2.0
2018-04-30 15:24:09 -07:00
Nate McMaster (automated)
ec80c5f8b8
Bump version to 2.1.0-rtm
2018-04-30 14:51:43 -07:00
ASP.NET CI
b3087ab774
Update dependencies.props
...
[auto-updated: dependencies]
2018-04-29 12:25:33 -07:00
ASP.NET CI
1b9372f5b0
Update dependencies.props
...
[auto-updated: dependencies]
2018-04-23 12:18:21 -07:00
Ajay Bhargav Baaskaran
fd9e886eac
Merge branch 'release/2.1' into dev
2018-04-20 14:58:58 -07:00
Ajay Bhargav Baaskaran
595e83d0eb
Added nuspec file to Mvc.Analyzers assembly
2018-04-20 14:53:46 -07:00
Pranav K
d0b0c6ae34
Update dependencies.props and KoreBuild version
2018-04-20 14:41:40 -07:00
Pranav K
9875fffc80
Merge remote-tracking branch 'origin/release/2.1' into dev
2018-04-20 14:37:27 -07:00
Pranav K
5d5222cdd8
Introduce BindPropertiesAttribute
...
* Allow controller and Razor Page models to be annotated with BindPropertiesAttribute
* Disallow BindPropertyAttribute from being declared on types.
* Do not allow arbitrary binding attributes to be applied to Razor Page models.
Fixes #7686
2018-04-20 14:32:14 -07:00
ASP.NET CI
31f9432a39
Update dependencies.props
...
[auto-updated: dependencies]
2018-04-19 22:30:20 -07:00
Nate McMaster
8ec3870a92
Set NETStandardImplicitPackageVersion via dependencies.props
2018-04-19 16:43:15 -07:00
Ajay Bhargav Baaskaran
cb8b0cf472
Merge branch 'release/2.1' into dev
2018-04-19 13:16:49 -07:00
Ajay Bhargav Baaskaran
44e282e8d4
Generate symbols.nupkg for Mvc.Razor
2018-04-19 12:32:36 -07:00
Pranav K
1a5c9e548f
Merge pull request #7680 from aspnet/release/2.1
...
Allow PartialTagHelper to specify a null model. Fixes #7667
2018-04-19 11:36:26 -07:00
Pranav K
60a9810268
Allow PartialTagHelper to specify a null model. Fixes #7667
2018-04-18 14:16:44 -07:00
Kiran Challa
b56436b5c6
Merge branch 'release/2.1' into dev
2018-04-18 11:49:14 -07:00
Kiran Challa
faca3da42f
Ensure ViewData is set on PageResult after a handler method executes
...
[Fixes #7665 ] Initializing PageResult.Page as part of result execution breaks Identity UI
2018-04-18 11:44:04 -07:00
Kiran Challa
4f7d53f4e7
[ Fixes #7658 ] FileStreamResultExecutor fails to Dispose FileStream
2018-04-18 11:43:09 -07:00
Kiran Challa
6e4bd1eb46
Fixed PageFilter docs
2018-04-18 11:42:40 -07:00
Javier Calvarro Nelson
1cede88f26
[ Fixes #7656 ] Deps file for netstandard2.0 targeting projects copied by Microsoft.AspNetCore.Mvc.Testing does not play well with Mvc
2018-04-18 11:03:52 -07:00
Javier Calvarro Nelson
5738cb2c14
Merge remote-tracking branch 'origin/release/2.1' into dev
2018-04-17 13:12:59 -07:00
Doug Bunting
cd6d130a8d
Merge pull request #7671 from aspnet/release/2.1
...
Merge into `dev`: Include parameter type's attributes in ModelMetadata
2018-04-17 13:00:21 -07:00
Javier Calvarro Nelson
e781cd38cf
[ Fixes #7635 ] Provide a way to configure HTTP Client instances
2018-04-17 12:52:56 -07:00
Javier Calvarro Nelson
e0b4c13895
[ Fixes #7587 ] Default to Development environment in tests
2018-04-17 12:52:51 -07:00
Doug Bunting
e0e96ce53b
Include parameter type's attributes in ModelMetadata
...
- #7595
- #7595 relates to #7350 but does not have the same root cause
- did _not_ revert the src changes in #7350 fix (d995b0418a )
- make non-`[Obsolete]` `ModelAttributes` constructor overload `internal`
- should generally use `static` methods and not any constructor
- change some unit tests to use `[Obsolete]` constructor overloads (with suppressions)
- fix test `ParameterBinderExtensions` to use current `ParameterBinder.BindModelAsync(...)` overload
- found some tests updated `IModelMetadataProvider`, `MvcOptions`, etc. instances but didn't register them in DI
- extend `ModelBindingTestHelper` and `ModelBindingTestContext`
- reorder some tests to use correct `MvcOptions` and `IModelMetadataProvider` everywhere
- fixes above issues
nits:
- take a few VS suggestions
- remove an old comment indended only for PR "Reviewers:"
2018-04-17 12:40:38 -07:00
Ryan Brandenburg
e603a35f23
Update version number to 2.2.0
2018-04-16 17:00:33 -07:00
Ryan Brandenburg
f78e3a4a7d
Merge branch 'release/2.1' into dev
2018-04-16 17:00:33 -07:00
Ryan Brandenburg
864a4e39c3
Branching for 2.1.0-rc1
2018-04-16 17:00:28 -07:00
Pranav K
d8fc2d4009
Fix test failures
...
* Disable deps file generation in class library project. This workarounds known issue - https://github.com/dotnet/core-setup/issues/3726
* Update RazorProjectRouteModelProvider to not specify a trailing slash. This produces paths with a single slash as opposed to two slashes messing with route creation.
* React to Microsoft.AspNetCore.Mvc.Razor.Extensions.Reference that shows up in the deps file.
2018-04-15 16:31:41 -07:00
ASP.NET CI
128c7e0a17
Update dependencies.props
...
[auto-updated: dependencies]
2018-04-15 14:19:34 -07:00
Doug Bunting
cc5ae02b7d
Fix binding & validating dictionaries of non-simple types in jQuery requests
...
- #7423
- retry failed inner bindings with alternate syntax in `ModelStateDictionary`
- use property syntax if first attempt tried index syntax and visa versa
- instantiate `ShortFormDictionaryValidationStrategy` with full `ModelState` keys
- can now provide exact `ModelState` keys that `ModelStateDictionary` used in inner bindings
- normalize model names without a leading period in `JQueryKeyValuePairNormalizer`
nits:
- take a few VS suggestions
2018-04-14 10:41:00 -07:00
Kiran Challa
e52933e4e3
Removed UrlTestEncoder references in tests
...
This is because with the following commit, Routing no longer depends on DI to get a UrlEncoder and always uses UrlEncoder.Default.
4184b2406d
2018-04-14 06:08:20 -07:00
Javier Calvarro Nelson
4984dd2cdd
Revert "[ Fixes #7587 ] No easy way to change ASPNETCORE_ENVIRONMENT"
...
This reverts commit 22510e1377 .
2018-04-13 16:51:25 -07:00
Javier Calvarro Nelson
86a036cf76
Revert "[ Fixes #7635 ] Provide a way to configure clients in WebApplicationFactory"
...
This reverts commit 1e26571ba6 .
2018-04-13 16:50:38 -07:00
Javier Calvarro Nelson
1e26571ba6
[ Fixes #7635 ] Provide a way to configure clients in WebApplicationFactory
2018-04-13 16:02:56 -07:00
Javier Calvarro Nelson
22510e1377
[ Fixes #7587 ] No easy way to change ASPNETCORE_ENVIRONMENT
2018-04-13 16:02:56 -07:00
Kiran Challa
d5e044f693
[ Fixes #7373 ] Assigning to the context's Result property, when implementing IPageFilter, causes an exception
2018-04-13 15:11:44 -07:00
Ajay Bhargav Baaskaran
bfbd286ab6
Remove usages of obsolete APIs
2018-04-13 14:54:35 -07:00
Pranav K
d995b0418a
Allow BindPropertyAttribute to be specified on controller classes
...
Fixes #7350
2018-04-13 13:58:44 -07:00
John Luo
c35030267c
Update usage of TestSink
2018-04-13 10:21:41 -07:00