Doug Bunting
ec2d5c7aa4
Run functional tests with a `TestLoggerFactory`
...
- #7744
2018-05-08 11:52:20 -07:00
Ryan Brandenburg
9f7629b448
Upgrade to netcoreapp22
2018-05-08 10:51:17 -07:00
Pranav K
bda5ea9df0
Cleanup BindingInfo \ ModelMetadata coalescing in ModelBinderFactory
...
Fixes #7583
2018-05-08 10:24:18 -07:00
Pranav K
26454fb1da
Add ViewComponentResult helper methods to Page \ PageModel
...
Fixes #7051
2018-05-07 16:35:29 -07:00
Pranav K
f52c9c0f97
Update analyzer tests to use Microsoft.AspNetCore.Analyzer.Testing
2018-05-07 16:06:01 -07:00
Nate McMaster
9f0d3712eb
Merge branch 'release/2.1' into dev
2018-05-07 15:48:32 -07:00
Nate McMaster
74c0d0c287
Fix experimental package version when IsFinalBuild=true
2018-05-07 15:32:18 -07:00
Ryan Nowak
09a05b97cf
Merge branch 'release/2.1' into dev
2018-05-07 12:38:19 -07:00
Ryan Nowak
9007f5422d
Bump Roslyn dependency to 2.8.0
...
(cherry picked from commit a8e1a1fd40 )
2018-05-07 12:38:10 -07:00
Ryan Nowak
a8e1a1fd40
Bump Roslyn dependency to 2.8.0
2018-05-07 12:09:11 -07:00
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
ASP.NET CI
63c370ddf3
Update dependencies.props
...
[auto-updated: dependencies]
2018-05-04 07:44:13 -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