Commit Graph

26 Commits

Author SHA1 Message Date
James Newton-King c6fa808a91
Change consumes behavior to ignore requests with no content type (#4459) 2018-12-11 17:55:20 +13:00
Nate McMaster 790ae47055
Merge branch 'release/2.2' 2018-12-10 17:41:14 -08:00
Nate McMaster 2c4d586809
Merge 'release/2.1' into release/2.2
Co-authored-by: Justin Kotalik <jukotali@microsoft.com>
2018-12-10 15:56:42 -08:00
Pranav K 926034ac4e
Re-enable extensibility points for ExpressionHelper.GetExpressionText, ExpressionMetadataProvider.FromStringExpression (#4494)
* Re-enable extensibility points for ExpressionHelper.GetExpressionText, ExpressionMetadataProvider.FromStringExpression

Fixes https://github.com/aspnet/Mvc/issues/8724
2018-12-08 13:54:05 +05:30
Pranav K 027bf336da
Add event names for logs (#6818) (#4495)
* Add event names for logs (#6818)
2018-12-08 13:00:16 +05:30
Justin Kotalik 5f843f223e
[2.1] Make Antiforgery, ResponseCaching, StaticFiles, and Cors use project ref (#4484) 2018-12-07 14:30:50 -08:00
Nate McMaster 85e2147ff0
Merge branch 'release/2.2' 2018-12-07 11:11:44 -08:00
Pranav K 8a0fa732b0 Make RequiredAttributeAdapter public
Fixes https://github.com/aspnet/Mvc/issues/8744
2018-12-07 17:49:10 +05:30
Nate McMaster 569a14ecb8
Merge branch 'release/2.1' into release/2.2 2018-12-06 17:09:03 -08:00
James Newton-King 50ea144c57
Update MVC dependencies (#4477) 2018-12-07 11:01:47 +13:00
Ryan Nowak e3773b6383 Remove Razor tooling projects
Removes the Razor compiler/tooling projects from this repo
2018-12-06 07:47:00 -08:00
James Newton-King a07be53033
Rename UseEndpointRouting to UseRouting (#4416) 2018-12-06 21:26:10 +13:00
Justin Kotalik 0588b13f5b Fix 2.1 build issues and remove obsolete build code (#4443)
- Stop producing the 'Universe' lineup package
- Removes all PackageLineup code
- Use full msbuild on Windows
- Fix invalid reference to internal.aspnetcore.sdk in 2.1.x
- Fix shared folder references for PackageArchive task.
2018-12-05 17:01:02 -08:00
Doug Bunting 929d7f3306 Obsolete old `CompatibilityVersion` values
- #7156 part 1 of ?
- add `CompatibilityVersion.Version_3_0` and make it the default
- remove tests of old versions
  - also remove `CompatibilityVersion.Version_2_x` uses outside src/Mvc
  - for functional tests of legacy routing, use `MvcOptions.EnableEndpointRouting` to control behaviour
  - rename `StartupWith2xCompat...` classes to `StartupWithoutEndpointRouting`
- clean up comments mentioning `[Obsolete]` `CompatibilityVersion` values
  - many of the affected options will be removed in subsequent PRs but this cleanup helps when searching entire repo
- correct `<value>` comments in `ApiBehaviorOptions`

nits:
- take VS suggestions in changed files
- remove src/SiteExtensions/global.json and let file in repo root "win"
- fix a few grammar errors VS or the spell checker noticed
- move `<value>` elements before `<remarks>` for consistency
  - was undoing unintentional changes and noticed the inconsistency in a couple of additional files
2018-12-05 16:46:46 -08:00
Sébastien Ros a51ff6e6ad
Updating benchmark apps for netcoreapp3.0 (#4433) 2018-12-05 12:42:14 -08:00
Doug Bunting 6a8d7dc12c
Fix Mvc test failures (#4415)
* Regenerate Mvc functional test baselines
  - whitespace likely changed due to a recent Razor change (but there've been so many!)

* Don't trim response content in `RazorPagesTest.Page_SimpleForms_RenderAntiforgery()`
  - was inconsistent with generated baseline and `Trim()` in similar tests is generally not needed or correct

* Skip test method causing remaining two src/Mvc failures
  - #4417 opened to restore these tests
2018-12-05 11:30:09 -08:00
Nate McMaster be3b66d1d1
Revert "Remove Razor tooling projects"
This reverts commit 3cfa6c0526.
2018-12-05 08:40:49 -08:00
Ryan Nowak 3cfa6c0526 Remove Razor tooling projects
Removes the Razor compiler/tooling projects from this repo
2018-12-04 19:58:37 -08:00
N. Taylor Mullen c0b74d916c Add build.cmd to Mvc 2018-12-04 15:35:30 -08:00
N. Taylor Mullen 0728754d08 Update Mvc slns to be builidlable. 2018-12-04 15:35:30 -08:00
James Newton-King 6fc7e532f1
Update MVC dependencies (#4395) 2018-12-05 12:04:47 +13:00
James Newton-King f157b78d93 MVC reaction to RoutePattern required values 2018-12-04 12:14:35 +13:00
Ryan Brandenburg 8a37389a9f Fix RepositoryUrl for some repos 2018-11-28 14:54:47 -08:00
Ryan Brandenburg a6b473dc2c Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in c9887e027a
2018-11-27 15:36:38 -08:00
Ryan Brandenburg b659c82df6 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in a6199bbfba
2018-11-27 12:09:17 -08:00
Ryan Brandenburg f4578f127c Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 5a4fd3e792
2018-11-27 10:43:55 -08:00