Commit Graph

3938 Commits

Author SHA1 Message Date
Javier Calvarro Nelson 908e7a863b Improvements to the MVC testing package
* Clean up unnecessary workarounds on the build project.
* Remove the need to specify the content root relative to the solution
  and use a solution based on an assembly level attribute on the test
  assembly created at build time.
* Remove non parameterless constructors.
* Add support for creating specialized factories from the base factory
  and keep track of "child" factories for disposal.
* Add support for creating clients that handle cookies and redirects
  automatically.
2018-03-19 12:19:45 -07:00
Doug Bunting 869825b16c
Quick fix: Add test of #2890
- tests added (ages ago) in aspnet/Mvc@a045324 no longer fail when `__` handling removed
2018-03-19 11:59:52 -07:00
Kiran Challa e2b6975bff Marked PageArgumentBinder type as Obsolete 2018-03-19 11:50:20 -07:00
Kiran Challa 09b5ff7b72 Use ParameterInfo for getting metadata of a parameter to show the correct information in ApiExplorer
[Fixes #7435] 2.1-Preview 1: IsBindingRequired and IsRequired still false with RequiredAttribute on controller parameter.
2018-03-19 11:50:19 -07:00
Pranav K e7b2e3fe2d Stop building\testing on netcoreapp2.0 2018-03-19 10:09:51 -07:00
hede f85be6a0c0 fix typo in ApiController XMLDoc 2018-03-19 08:09:10 -07:00
Ryan Nowak 4875856974 Fix #4604 for good 2018-03-19 08:04:27 -07:00
Pranav K ae2d82c748 Remove FiltersWebSite 2018-03-16 16:54:10 -07:00
Pranav K aba35c673f
Update KoreBuild channel 2018-03-16 12:32:30 -07:00
Pranav K fd713f64d5
Branching for 2.1.0-preview2 2018-03-16 11:16:07 -07:00
Pranav K 190424fd59
Enable dotnet-build bot 2018-03-15 17:11:23 -07:00
N. Taylor Mullen 4e7d1a5a32 Rename PartialTagHelper `asp-for` to `for`.
#7379
2018-03-15 16:07:13 -07:00
Ajay Bhargav Baaskaran 90b07a9e9a Enable RazorCompileOnBuild of test website 2018-03-14 15:37:49 -07:00
Pranav K f0788926a0
Add additional APIs required by Razor Sdk 2018-03-13 12:53:41 -07:00
Kiran Challa a0b1b15101 [Fixes #7412] AspNetCore 2.1 breaks integration with 3rd party validation libraries 2018-03-13 02:07:56 -07:00
Kiran Challa a952313f1c Added JQueryQueryStringValueProviderFactory and JQueryQueryStringValueProvider
[Fixes #6372] jQuery ajax request with complex data does not work with .net core 1.1 model bindings
2018-03-12 16:40:04 -07:00
Ajay Bhargav Baaskaran 4acdebc5be
Temporary workaround issue with Sdk mismatch (#7472) 2018-03-12 13:29:49 -07:00
Pranav K 62fdf3a472 Fix issues with RazorCompileOnBuild=true being default 2018-03-09 14:39:18 -08:00
ASP.NET CI 68deb40719 Update dependencies.props
[auto-updated: dependencies]
2018-03-08 13:07:49 -08:00
Ryan Brandenburg 9b4b373014 Remove IErrorDescriptionFactory 2018-03-07 13:09:13 -08:00
Pranav K d6ba2ee966 Add wireframe for ConfigureApplicationPart 2018-03-07 10:39:21 -08:00
Pranav K 5af246b554 Ignore constructors when discovering actions 2018-03-06 17:42:53 -08:00
Jass Bagga f3ffdada95
Remove problem+json Content-Type (#7440)
Addresses #7344
2018-03-06 13:46:40 -08:00
Pranav K 89c94d0823
Prepend FeatureBranchVersionPrefix if FeatureBranchVersionSuffix is specified 2018-03-06 10:05:14 -08:00
Pranav K 69d5573bb5
Use dotnet-core feed in repos 2018-03-06 10:05:13 -08:00
Rob Ward 42dcd0ba28 UrlHelperFactory.GetUrlHelper throws NullReferenceException when passed
a null action context.

This change validates the action context parameter.
2018-03-05 13:34:05 -08:00
Pranav K 3517ecda2f Ensure DebugType = embedded and DebugType = none work
Fixes #7406
2018-03-05 09:21:13 -08:00
Doug Bunting f061d328d9
Do not use `FormattedModelValue` in password editor template
- #7418
- add quirk switch to reverse this if necessary
2018-03-05 08:33:16 -08:00
Nate McMaster 4866911321
Merge branch 'release/2.1' into dev 2018-03-02 14:27:25 -08:00
Jass Bagga 8d1c85ab74
Add overload for AddModelError without ModelMetadata (#7407)
Addresses #6102
2018-03-02 11:03:46 -08:00
Pranav K e35d0bc43f Add more fine grained logging to RazorViewCompiler 2018-02-26 19:44:26 -08:00
ASP.NET CI bdcf2a9bed Update dependencies.props
[auto-updated: dependencies]
2018-02-26 11:09:24 -08:00
Pranav K b33bda1836 Use FeatureBranchVersionSuffix to calculate ExperimentalVersionSuffix 2018-02-21 18:37:14 -08:00
Pranav K 44a0e37ac3 Use FeatureBranchVersionSuffix when generating VersionSuffix 2018-02-21 18:27:07 -08:00
Doug Bunting daf341df35 Add more tests of #7033 scenarios 2018-02-21 15:11:52 -08:00
Charlie Daly 4f3e044928 HtmlHelper.DisplayTextFor should use DisplayAttribute of enums
- #7033
2018-02-21 15:11:51 -08:00
Eilon Lipton d2b7cc9de2
Merge pull request #7394 from Rick-Anderson/patch-1
Update README.md
2018-02-21 09:22:25 -08:00
Rick Anderson a7fd6ddeb7
Update README.md 2018-02-20 22:19:34 -10:00
Rick Anderson fb8c683844
Update README.md 2018-02-20 22:19:00 -10:00
Rick Anderson c1fa575ead
Update README.md 2018-02-20 19:36:16 -10:00
Rick Anderson 0bf2ef8614
Update README.md
Per MS style guide, Avoid please except in situations where the customer is asked to do something inconvenient or the application or site is to blame for the situation.
2018-02-20 19:35:06 -10:00
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