Nate McMaster
ac04019e42
Remove obsolete build infrastructure ( #6995 )
...
Changes:
* Remove obsolete targets which are unnecessary now that this repo no longer builds git submodules in a separate build process
* Remove the need for static analysis of 'ArtifactInfo' items
* Simplify how the code signing task is configured
* Remove unused repo tasks
* Remove duplicate lists of external dependencies and packages to be produced
* Remove obsolete build definition
* Remove obsolete build script parameters
* Add VisualStudioSetupOutputPath
2019-01-28 09:57:59 -08:00
Pranav K
f2ee3201ae
No-op Authorization middleware for Razor Pages
...
Workaround for https://github.com/aspnet/AspNetCore/issues/7011
2019-01-25 15:38:23 -08:00
Nate McMaster
922512a9fb
Convert the artifacts folder layout to match Arcade ( #6850 )
...
Changes:
* IsProductPackage => IsShippingPackage
* artifacts/$config/packages => artifacts/packages/$config
* packages/product => packages/Shipping
* packages/internal => packages/NonShipping
* Renamed MSBuild properties used for output folders
* Update build tools to use 2 spaces in global.json
2019-01-18 13:38:24 -08:00
Pranav K
c04f66d25e
Mark Mvc.NewtonsoftJson as a shipping package ( #6842 )
2019-01-18 11:03:47 -08:00
Pranav K
89a7f3cf77
Introduce IUrlHelper.ActionLink ( #6775 )
...
Fixes https://github.com/aspnet/AspNetCore/issues/4890
2019-01-18 09:22:04 -08:00
Javier Calvarro Nelson
15edd84d40
[MVC] Add MVC integration with Razor Components
...
* Adds RenderComponentAsync extension methods to IHtmlHelper that allow
for prerrendering of Razor components within MVC views.
2019-01-17 11:25:03 -08:00
Nate McMaster
53682c0548
Merge branch 'release/2.2'
2019-01-17 11:01:12 -08:00
Pranav K
cc892071b2
Fixup doc comments for ContentResult
...
Fixes https://github.com/aspnet/AspNetCore/issues/5159
2019-01-17 09:59:43 -08:00
Justin Kotalik
e6d547a923
Merge branch 'jkotalik/22temp' into jkotalik/masterMerge
2019-01-16 14:39:10 -08:00
John Luo
1bd5845b4c
Merge pull request #6735 from aspnet/johluo/merge22
...
Johluo/merge22
2019-01-16 11:43:35 -08:00
John Luo
17b6ce8bd6
Merge branch 'release/2.2'
2019-01-15 18:49:54 -08:00
James Newton-King
df7bfe5243
Unit test route name with RouteUrl and ambient values ( #6719 )
2019-01-16 13:57:13 +13:00
James Newton-King
92680b355f
Change consumes behavior to ignore requests with no content type ( #6645 )
2019-01-16 11:55:54 +13:00
James Newton-King
180f735ac8
Fix non-parameter route constraints not called with endpoint routing for 2.2 ( #6587 )
2019-01-16 11:16:35 +13:00
Chris Ross
6a44aca6a2
React to WebHostBuilderFactory changes ( #6460 )
2019-01-15 08:09:27 -08:00
James Newton-King
09b50850bc
Update AuthorizeFilter to no-op when AuthorizationMiddleware has run ( #6346 )
2019-01-15 20:29:23 +13:00
Pranav K
d93f4527b3
Fix typo
...
Fixes https://github.com/aspnet/AspNetCore/issues/6535
2019-01-14 17:15:19 -08:00
John Luo
c2aa2957f6
Merge fixes
2019-01-14 14:13:40 -08:00
John Luo
90a9fa7aac
Merge branch 'release/2.1' into release/2.2
2019-01-14 12:57:34 -08:00
Nate McMaster
7f7723bdf2
Consume dependencies updates automatically via darc ( #6676 )
...
This refactors the list of dependency versions to support consuming updates automatically via darc and maestro.
2019-01-14 12:01:31 -08:00
Nate McMaster
a9132ad26c
Switch agent queues used during Windows builds
2019-01-11 15:16:57 -08:00
Ryan Nowak
14e606997f
Fix #5116 Remove support for 2.0 precompilation
...
Obsoletes RazorViewAttribute and RazorPageAttribute and removes all of
our usage of them. I've already made the changes to have the SDK stop
generating these.
2019-01-10 15:38:10 -08:00
Pranav K
55ec35bb80
Cleanup MvcJsonHelper ( #6529 )
...
* Cleanup MvcJsonHelper
* Remove dependency on JsonOutputFormatter
* Cache JsonSerializer for the default case
2019-01-10 12:34:27 -08:00
John Luo
e5d943a7e3
Convert MvcPrecomp to Reference ( #6472 )
...
* Convert MvcPrecomp to use Reference and move to MVC
2019-01-09 18:48:01 -08:00
Nate McMaster
0f65d44482
Merge branch 'release/2.2'
2019-01-09 18:09:25 -08:00
Nate McMaster
a3f9b74bb9
Merge branch 'release/2.1' into release/2.2
2019-01-09 14:52:53 -08:00
Pranav K
cdc66c5f98
Move JSON.NET specific features to a separate assembly
2019-01-08 12:49:29 -08:00
David Fowler
d116ab8550
Remove ObjectPoolProvider from default set of hosting services ( #6437 )
...
- Added it where it was being used
- Updated tests
2019-01-08 12:05:48 -08:00
Nate McMaster
5d16f97965
Remove netcoreapp2.0 test TFMs ( #6461 )
...
.NET Core 2.0 reached EOL last year. This removes multi-targeting our test projects and test assets to only use .NET Core 2.1 and .NET Framework 4.6.1.
2019-01-08 11:20:09 -08:00
Ajay Bhargav Baaskaran
50996e3da1
Add missed reference to Razor SDK in Mvc test website ( #6367 )
2019-01-04 11:22:25 -08:00
Nate McMaster
436076fd55
Fix broken tests and VS solutions caused by source code reorganization and other build infra cleanup
...
Changes:
* Fix broken tests and VS solutions caused by source code reorganization
* Add a check to validate generated code and solutions on PRs
* backport some source code reorg to src/Identity
* Fix startvs.cmd if you've already run build.ps1
* Add PR checks for tests on Linux/macOS
* Skip broken Nginx tests
* Add conditions to skip IIS tests on non-Windows platforms
2019-01-04 10:00:26 -08:00
Doug Bunting
d689eede36
Revert "Work around `CryptographicException`s thrown in some full framework test runs"
...
- no longer support .NET Framework
This reverts commit 192e8073ee
2019-01-04 09:56:06 -08:00
Doug Bunting
69b5ab9c01
React to JwtBearer removal from Microsoft.AspNetCore.App
...
nits:
- remove NET461 special case
- remove reference to transitive Mvc.Core dependency
2019-01-04 09:56:06 -08:00
Doug Bunting
236ceb73c1
Remove Mvc.NoFun.sln
2019-01-03 16:13:34 -08:00
Nate McMaster
bfec2c14be
Merge branch 'release/2.2'
2019-01-03 12:18:01 -08:00
Doug Bunting
be7dfa30af
Use InputFormatterException for another case ( #6316 )
...
- #4917
nits:
- test `ExceptionPolicy` logic in an input formatter
- remove old Mono workarounds in `SerializaterErrorTests`
- fix typo in `SerializableErrorTests` (not using theory data)
2019-01-03 11:02:07 -08:00
Doug Bunting
c2df506894
Correct path to IIS Integration project
...
- react to 37291ea114
2019-01-03 10:51:47 -08:00
N. Taylor Mullen
afb92018f0
Produce log output for flakey test.
...
- For the flakey test replaced the default logger with Xunit's `ITestOutputHelper` in order to see what's going wrong when the flakey test will eventually fail.
aspnet/AspNetCore-Internal#1337
2019-01-02 20:48:38 -08:00
Pavel Krymets
0ae6cc8e88
Remove InplaceStringBuilder usages ( #6163 )
2019-01-02 15:50:19 -08:00
Nate McMaster
65ff6e951a
Merge branch release/2.1 into release/2.2
2019-01-02 14:34:45 -08:00
Pranav K
199e3f14a2
Look at ApiConventionType attributes defined on base types
...
Fixes https://github.com/aspnet/AspNetCore/issues/4951
2019-01-02 10:36:47 -08:00
Doug Bunting
f182b1adac
Add sufficient projects to Mvc.NoFun.sln for it to build in VS
...
nit: ignore .vscode/ directories
2019-01-02 10:24:10 -08:00
Pranav K
d52672748a
Do not throw when a status code with a codefix appears multiple times in the method body
...
Fixes https://github.com/aspnet/AspNetCore/issues/4480
2019-01-02 09:51:20 -08:00
Pranav K
02a8afea3d
Include dependencies in Mvc.sln
2019-01-01 07:49:22 +05:30
Nate McMaster
08dd1cd0ea
Fix build.cmd/sh for src/Mvc ( #6208 )
2018-12-31 15:51:13 -08:00
Ajay Bhargav Baaskaran
5a19fde191
Skip failing test
2018-12-26 02:00:31 -08:00
Ajay Bhargav Baaskaran
3787fbf3a3
Merge branch 'release/2.2'
2018-12-21 18:29:32 -08:00
Ajay Bhargav Baaskaran
af2461d524
Merge branch 'release/2.1' into release/2.2
2018-12-21 11:38:25 -08:00
Nate McMaster
c3beb1f9b1
build.cmd/sh changes ( #5958 )
...
Update the build scripts to support building subfolders or subgroups of projects
* Add build scripts for ci
* Remove obsolete scripts
* Add flags like --test and --pack to control running just test or packaging
* Add flags like --managed and --native to control building sub-types of projects
* Remove KoreBuild bootstrapper flags
* Update to extensions 3.0.0-preview.18619.1 (needed to get a fix for aspnet/Extensions#815 to make this change work on MSBuild.exe)
2018-12-20 16:52:15 -08:00
Ajay Bhargav Baaskaran
7f17d095d8
Convert Mvc to use Reference ( #6047 )
...
* Convert Mvc to use Reference
* Use ProjectReference for test assets
2018-12-20 16:27:32 -08:00