Commit Graph

3947 Commits

Author SHA1 Message Date
Doug Bunting 049caf0c10 Use RTM `Microsoft.AspNet.WebApi.Client` package
- aspnet/Mvc#7212
2018-02-18 18:15:04 -08:00
ASP.NET CI b10c87d6e8 Update dependencies.props
[auto-updated: dependencies]
2018-02-18 12:25:34 -08:00
N. Taylor Mullen 43106f688a Re-enable "Move to RazorProjectEngine."
- This was initially reverted due to insufficient packages for local builds.

This reverts commit 5ac6fa77f8.
2018-02-16 16:13:54 -08:00
Pranav K 1c451a7ff4
Update the remarks section for ViewData (#7371)
* Update the remarks section for ViewData
Fixes #7279
2018-02-16 10:18:31 -08:00
Pranav K 251ea37b49
Update Controller.cs 2018-02-16 10:18:10 -08:00
Ryan Nowak 9df6ba8c4f Add MVC Razor msbuild files 2018-02-16 07:54:37 -08:00
N. Taylor Mullen 5ac6fa77f8 Revert "Move to RazorProjectEngine."
- Waiting for packages to be available from Razor.

This reverts commit 608330dc86.
2018-02-15 17:01:07 -08:00
Ryan Nowak dd5a84bd0e Add MVC razor extensions to the MvcSandbox 2018-02-15 16:43:52 -08:00
Ryan Nowak 85c18cc578 Add msbuild binlog to .gitignore 2018-02-15 16:43:52 -08:00
N. Taylor Mullen 608330dc86 Move to RazorProjectEngine.
- Updated our consumption of `RazorEngine` and `RazorTemplateEngine` to use `RazorProjectEngine` and its features.
- Updated service registrations to maintain existing services but to also register new ones.
- When moving `RazorViewEngine` to use `RazorProjectFileSystem` I had to add an unused constructor item in order to disambiguate the constructors.
- Updated tests to use `RazorProjectEngine` and `RazorProjectFileSystem`.

#7377
2018-02-15 16:34:26 -08:00
Ryan Nowak e27009528f Add reference to MVC.Razor.Extensions
Make sure the msbuild files from this package are includes
Update KoreBuild and deps
2018-02-15 15:43:04 -08:00
Pranav K 06e40252a0 Add support for top level validation to Razor Pages 2018-02-14 14:39:25 -08:00
Pranav K 8770751a97 Update the remarks section for ViewData 2018-02-14 11:45:53 -08:00
ASP.NET CI d40c60d15b Update dependencies.props
[auto-updated: dependencies]
2018-02-11 12:33:09 -08:00
ASP.NET CI 8139ee9631 Update dependencies.props
[auto-updated: dependencies]
2018-02-09 11:52:03 -08:00
Doug Bunting 50af871396 Use new `HttpRequest.EnableBuffering()` extension method
- aspnet/Home#2684
- update dependencies to pick up latest HttpAbstractions
2018-02-07 10:57:17 -08:00
Artak Mkrtchyan e308c0fe5f
Merge pull request #7290 from FabienLavocat/dev
Add constructor for the SelectListItem class
2018-02-06 16:29:57 -08:00
Jass Bagga d27e66a8fc
Initialize ViewContext for TagHelperComponentTagHelper (#7326)
Addresses #7017
2018-02-06 16:07:38 -08:00
Fabien Lavocat c062d637fe Add new contructor in SelectListItem.cs 2018-02-06 11:01:24 -08:00
Fabien Lavocat a2420688ff Add comments and remove default values in the contructor 2018-02-05 10:54:55 -08:00
ASP.NET CI 8e303249c5 Update dependencies.props
[auto-updated: dependencies]
2018-02-03 02:55:01 +00:00
Artak Mkrtchyan c365297520
Merge pull request #7322 from aspnet/artakm/fix_5013
TextOutputFormatter reads AcceptCharset header not using TypedHeaders
2018-02-01 19:36:36 -08:00
Nate McMaster 469aea9b37
Update version on Mvc.Analyzers to be 0.1.0-alpha2 2018-02-01 16:35:22 -08:00
Artak Mkrtchyan 8b0c6a825f Addressed review comments 2018-02-01 16:15:46 -08:00
Artak Mkrtchyan 7a13eb8b21 Addressed review feedback 2018-02-01 14:44:06 -08:00
Artak Mkrtchyan dea3eb7856 Not instantiating the RequestHeaders and not relying on TypedHeaders to parse AcceptCharset 2018-01-31 17:20:29 -08:00
Jass Bagga 930664de6e
Add INFO level logging (#7314)
Addresses #7171
2018-01-31 16:57:49 -08:00
Nate McMaster 4921bcf7b4 Update dependencies.props to 2.1.0-preview-28193, build tools to 2.1.0-preview1-1010 [ci skip]
Scripted changes:
- updated travis and appveyor.yml files to only build dev, ci, and release branches
- updated dependencies.props
- updated korebuild-lock.txt
- updated korebuild.json to release/2.1 channel
2018-01-31 15:01:12 -08:00
Kiran Challa 0215740183 [Fixes #5859] Consider allowing binding header values to types other than string and string collections 2018-01-30 11:47:16 -08:00
Pranav K 19c89db48b
Merge pull request #7313 from aspnet/release/2.1
Ensure analyzer package uses -final version when IsFinalBuild=true
2018-01-29 12:23:43 -08:00
Pranav K e5fb72c300 Ensure analyzer package uses -final version when IsFinalBuild=true 2018-01-29 12:23:23 -08:00
Pranav K dbff416be6 Add support for running conventions on controller properties, Razor Page parameter and properties
Fixes #6935
2018-01-29 11:43:25 -08:00
Javier Calvarro Nelson a08fae1a28 Merge branch 'release/2.1' into dev 2018-01-26 16:03:24 -08:00
Javier Calvarro Nelson f319632c1f Testing package fixes 2018-01-26 16:02:37 -08:00
Javier Calvarro Nelson c7536a2c39 Merge branch 'release/2.1' into dev 2018-01-25 16:47:35 -08:00
Javier Calvarro Nelson 7127bb5dbb Add DeclaredModelType to Razor pages
* This allows razor pages to override their model type with a model that
  extends the declared model type through the page application model.
2018-01-25 16:00:54 -08:00
Pranav K 5f2f65e903
Merge pull request #7301 from aspnet/release/2.1
PartialTagHelper should not fallback to the current page's model if a…
2018-01-25 11:07:23 -08:00
Pranav K b30020a655 PartialTagHelper should not fallback to the current page's model if asp-for expression exists
Fixes #7295
2018-01-25 11:06:40 -08:00
Pranav K bc48de9c2f Merge branch 'release/2.1' into dev 2018-01-25 10:54:38 -08:00
Pranav K a74ef9dfd9 Error message for [ApiController] without attribute route needs to be better
Fixes #7277
2018-01-25 10:25:52 -08:00
Ryan Brandenburg f71cbd39b5 Update to Preview2 2018-01-25 09:40:20 -08:00
Artak Mkrtchyan f35e29e87b
Merge pull request #7288 from aspnet/artakm/reenabletests
Enabling antiforgery tests, which were disabled because of the issue #7040
2018-01-24 11:14:50 -08:00
Fabien Lavocat 88e14a0bfe Add constructor for the SelectListItem class 2018-01-24 07:43:13 -08:00
Artak Mkrtchyan 4f3e0966d9 Enabling antiforgery tests, which were disabled because of the #7040 issue 2018-01-23 19:16:24 -08:00
Javier Calvarro Nelson 381ac2946c Merge branch 'release/2.1' into dev 2018-01-23 17:31:48 -08:00
Javier Calvarro Nelson 17a407bba2 [Fixes #7271] Support covariant casting of ViewDataDictionary<T>
On HtmlHelper<T> we now support contextualizing an instance of
HtmlHelper<TBase> with a ViewDataDictionary<TDerived> in
ViewContext.ViewData.

This can happen in some situations when the model for a RazorPage has
been changed using a page application model convention.

In these cases we just build a new ViewDataDictionary<TBase> and pass in
the TDerived model as an instance.
2018-01-23 17:31:03 -08:00
Pranav K f31ddac714 Merge branch 'release/2.1' into dev 2018-01-23 15:50:27 -08:00
Pranav K e2839053dd Branching for 2.1.0-preview1 2018-01-23 15:32:12 -08:00
Ryan Brandenburg ea14942525 React to Options change 2018-01-23 08:07:45 -08:00
Pranav K ebdb3c650a Smooth rough ApiBehavior edges
Fixes #7262
2018-01-22 09:53:21 -08:00