Commit Graph

15310 Commits

Author SHA1 Message Date
Ryan Brandenburg d5587f3c54 Merge remote-tracking branch 'origin/release/2.1' into rybrande/21To22Merge 2018-11-20 15:42:00 -08:00
Javier Calvarro Nelson 781ca09033 Merge remote-tracking branch 'origin/release/2.2' into origin/master 2018-11-20 15:22:53 -08:00
Javier Calvarro Nelson 4046c842af
Update Identity Server dependencies to 2.3.0 (#2077) 2018-11-20 15:19:14 -08:00
Jacques Eloff 5a446ecc53
Merge pull request #4165 from aspnet/joeloff/SharedInstall
#3697 - override default install location
2018-11-20 13:41:08 -08:00
Nate McMaster 1d9b77e255
Import DotNetPackageVersionPropsPath into all sub-folder builds 2018-11-20 13:23:55 -08:00
Ryan Brandenburg 48528cf69f Fix templating casing 2018-11-20 12:53:46 -08:00
Nate McMaster 0f904c518e
React to breaking changes in Microsoft.Extensions.Logging.Abstractions 2018-11-20 12:52:15 -08:00
Nate McMaster 43fa1ba365
Import DotNetPackageVersionPropsPath into the src/IISIntegration build context 2018-11-20 12:10:44 -08:00
Ryan Brandenburg bd54395fe5 Remove duplicate keys 2018-11-20 12:07:14 -08:00
Jacques Eloff 07c3931758 #3697 - override default install location 2018-11-20 12:02:03 -08:00
Nate McMaster 71ca1faa6b
React to MSBuild breaking changes and remove ProdCon v1 variables (#4161)
This should unblock the consumption of the latest .NET Core SDK, which includes breaking changes in MSBuild. We don't _really_ need the MSBuild APIs which were broken because ProdCon v1 is dead. This removes the unused ProdCon v1 tasks and targets.
2018-11-20 11:34:53 -08:00
Ryan Brandenburg 5e36c334e1 Merge remote-tracking branch 'MetaPackages/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-20 11:10:34 -08:00
Ryan Brandenburg 2b146e5266 Merge remote-tracking branch 'JavaScriptServices/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-20 11:10:19 -08:00
Ryan Brandenburg 65ceeb6560 Merge remote-tracking branch 'AADIntegration/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-20 11:09:14 -08:00
Ryan Brandenburg a6acf47e79 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 27efce1042
2018-11-20 11:06:50 -08:00
Ryan Brandenburg 964498a69d Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 7819c2f950
2018-11-20 11:04:10 -08:00
Ryan Nowak 1521f9298b Relayer action discovery infrastructure
This change introduces a service facade for creating the application
model, running conventions, validating the result, and flattening the
model.

This is used in the ControllerActionDescriptorProvider and provides the
existing functionality for now. The ControllerActionDescriptorProvider
will process the results and turn each 'flattened' model into a single
action descriptor.

The next change will introduce another consumer of this service, that
turns the 'flattened' model into an EndpointModel so that it can be
exposed via Endpoint Routing's convention system.

---

The main considerations here:

The flattening semantics of application model are pretty complicated :(

The validation that CADP does is actually pretty in depth and might be
really low value... Errors with writing route templates do happen, and
those will be caught by the routing system eventually.... Errors with
duplicate route names are similar... Errors with 'mixed' attribute and
conventional routing are not at all common. I don't think I've ever seen
an issue get filed about this. I did the work to port all of this stuff
forward but I'm not totally sure it's valuable - however, I don't really
want to make an argument for its removal. These are just some random
thoughts to keep in mind if you're reviewing this 👍
2018-11-20 11:03:37 -08:00
Nate McMaster 7ffbb6ed3b
Continue to produce .Sources packages from src/Shared/
This is temporary until we finish replacing internal PackageReference with project ref
2018-11-20 11:01:36 -08:00
Ryan Brandenburg 33b736b4a7 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 0efa96de73
2018-11-20 10:57:52 -08:00
Pranav K 5a6d438f7b API review feedback for pubinternal type changes 2018-11-20 10:50:37 -08:00
Nate McMaster 0af21077c3
Update .NET Core 3.0 dependencies (#4091)
* Update Extensions to 3.0.0-preview.18569.14
* Update EFCore to 3.0.0-preview.18569.2
* Update corefx to preview.18566.8
* Update core-setup to preview-27117-01
2018-11-20 10:37:13 -08:00
Ryan Brandenburg b335283ab1 Merge branch 'release/2.1' of github.com:aspnet/AspNetCore into rybrande/Mondo2.1 2018-11-20 10:24:50 -08:00
Ryan Brandenburg 550435373b Fix casing in MetaPackages 2018-11-20 10:24:34 -08:00
Ryan Brandenburg 6fc3eb3bfc Fix MetaPackage casing 2018-11-20 10:21:21 -08:00
Ryan Brandenburg f45dacf924
Fix folder casing (#4144)
Fix folder casing
2018-11-20 10:02:51 -08:00
Pavel Krymets d17392bc45
Port Resolve C26496 compiler errors when building in release mode with VS 15.9 (#4141) 2018-11-20 10:00:37 -08:00
Nate McMaster 425c196cba
Merge the master branch of aspnet/Hosting 2018-11-20 09:59:15 -08:00
Nate McMaster b6de45ee72
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 241d2c13df
2018-11-20 09:51:45 -08:00
Nate McMaster ee1e2d6173
Merge the master branch of aspnet/HttpAbstractions 2018-11-20 09:49:01 -08:00
Nate McMaster 294b5f2928
Merge branch 'release/2.2' 2018-11-20 09:47:59 -08:00
Luke Latham 5539b0f6e7 Change Google scope in external providers sample (#4138) 2018-11-20 09:38:05 -08:00
Nate McMaster bfba741326
Merge aspnet/Hosting release/2.2 2018-11-20 09:35:34 -08:00
Nate McMaster 0f64aa5c01
Merge aspnet/HttpAbstractions release/2.2 2018-11-20 09:15:59 -08:00
Nate McMaster feb68c1382
Merge branch 'release/2.1' into release/2.2 2018-11-20 09:13:55 -08:00
Nate McMaster 9b1cfd59b5
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 0724e6cde1
2018-11-20 09:03:14 -08:00
Nate McMaster c199b7a658
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in bc7092a32b
2018-11-20 08:45:03 -08:00
Nate McMaster 0063d5a031
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 91db78cf92
2018-11-20 08:37:32 -08:00
Nate McMaster 3f025e3a38
Make Microsoft.AspNetCore.Server.IntegrationTesting a temporary external dependency 2018-11-19 23:38:13 -08:00
Nate McMaster 23996a550a
Resolve C26496 compiler errors when building in release mode with VS 15.9 (#4113)
Updating CI machines to VS 15.9 causes the project to fail to compile with C26496 errors. This adds `const` keywords to resolve the compiler errors.
2018-11-19 23:34:01 -08:00
Nate McMaster 05b8745172
Remove aspnet/Hosting submodule and update targets and projects 2018-11-19 22:25:43 -08:00
Nate McMaster dc4c18e9ac
Merge source code from aspnet/Hosting into this repo 2018-11-19 22:02:46 -08:00
Nate McMaster 87ab2744ce
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 3f7ee338d4
2018-11-19 22:00:32 -08:00
Nate McMaster 4fcc8b9902
Update targets to build HttpAbstractions projects 2018-11-19 21:34:26 -08:00
Nate McMaster 98190bdaf9
Merge source code from aspnet/HttpAbstractions into this repo 2018-11-19 21:13:15 -08:00
Nate McMaster 0ef9993f46
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d142d58eb4
2018-11-19 21:12:01 -08:00
Nate McMaster 7c6bf7f75d
Merge branch 'release/2.2' 2018-11-19 21:00:19 -08:00
Ryan Brandenburg 838cafcc4f Fix the casing 2018-11-19 17:01:30 -08:00
Ryan Brandenburg a11f4c2409 Fix the casing 2018-11-19 17:00:44 -08:00
Ryan Brandenburg f98aa3b4a3 Merge remote-tracking branch 'MetaPackages/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-19 16:23:58 -08:00
Ryan Brandenburg 544b5e68e1 Merge remote-tracking branch 'AADIntegration/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-19 16:23:43 -08:00
Ryan Brandenburg 80167655b3 Merge remote-tracking branch 'JavaScriptServices/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-19 16:23:20 -08:00
Ryan Brandenburg 219fd0b300 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 975011071b
2018-11-19 16:20:16 -08:00
Doug Bunting 3fe61d6601 Make Microsoft.Extensions.ApiDescription.Design experimental
- `$(ExpermentalPackageVersion)`, `$(ExpermentalVersionPrefix)` and `$(ExpermentalVersionSuffix)` were not used
2018-11-19 16:18:28 -08:00
Ryan Brandenburg 151dd77fb8 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 6f02048c3c
2018-11-19 16:18:06 -08:00
Ryan Brandenburg f6f7628718 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in ea3a7bc897
2018-11-19 16:14:42 -08:00
Ryan Brandenburg 78eb188014 Merge branch 'master' of github.com:aspnet/AspNetCore into rybrande/MondoMaster 2018-11-19 16:01:22 -08:00
Ryan Nowak a7ae749ab2 Update VS-only tooling to 4.7.2 2018-11-19 15:53:53 -08:00
Chris Ross (ASP.NET) 241d2c13df Add TestServer support for generic WebHost #1583 2018-11-19 14:55:18 -08:00
Ryan Brandenburg 37399bc217 Merge branch 'master' of github.com:aspnet/AspNetCore into rybrande/MusicStoreMaster 2018-11-19 12:34:59 -08:00
Ryan Brandenburg af6792afc3 Merge branch 'master' of github.com:aspnet/AspNetCore into rybrande/MondoMaster 2018-11-19 12:24:58 -08:00
Ryan Brandenburg 47946238dd Merge remote-tracking branch 'Templating/rybrande/masterToSrc' into rybrande/MondoMaster 2018-11-19 12:18:17 -08:00
Ryan Brandenburg 1698beeee9 Merge remote-tracking branch 'AzureIntegration/rybrande/masterToSrc' into rybrande/MondoMaster 2018-11-19 12:18:08 -08:00
Ryan Brandenburg 9a70e404c9 Merge remote-tracking branch 'AuthSamples/rybrande/masterToSrc' into rybrande/MondoMaster 2018-11-19 12:17:53 -08:00
Ryan Brandenburg 39e8397b9a Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 75e3133cdb
2018-11-19 12:15:18 -08:00
Ryan Brandenburg f18c892bfb Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 8f471bf65b
2018-11-19 12:12:53 -08:00
Ryan Brandenburg 0816fded9d Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 514fcdcba5
2018-11-19 12:10:28 -08:00
Ryan Brandenburg 4f84c1f58c Merge remote-tracking branch 'Templating/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-19 11:51:17 -08:00
Ryan Brandenburg 9dda18a355 Merge remote-tracking branch 'AzureIntegration/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-19 11:51:03 -08:00
Ryan Brandenburg 8c81ace1a2 Merge remote-tracking branch 'AuthSamples/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-19 11:50:44 -08:00
Ryan Brandenburg 357c79f619 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d26f89a6bc
2018-11-19 11:47:50 -08:00
BrennanConroy 2c3ebd1648
Update TFM for Http.Connections (#3323) 2018-11-19 11:47:42 -08:00
Ryan Brandenburg 2becec387b Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 7383e532c9
2018-11-19 11:44:35 -08:00
Ryan Brandenburg f3ccfa326a Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 031a2ed214
2018-11-19 11:42:11 -08:00
Ryan Brandenburg c9e0295d1d Merge remote-tracking branch 'AzureIntegration/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-19 11:16:52 -08:00
Nate McMaster 9954f5a703
Fix MSB4062 - fix conflicting build tools dependencies by ensuring the same version is used 2018-11-19 11:16:03 -08:00
Ryan Brandenburg bb361b02f3 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 47e2ba3755
2018-11-19 11:15:08 -08:00
Ryan Brandenburg 2b46511407 Merge remote-tracking branch 'AuthSamples/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-19 11:10:33 -08:00
Ryan Brandenburg b19a969a96 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d861b70515
2018-11-19 11:07:58 -08:00
Ryan Brandenburg 9149fb825d Merge remote-tracking branch 'MusicStore/rybrande/masterToSrc' into rybrande/MusicStoreMaster 2018-11-19 11:01:06 -08:00
Ryan Brandenburg 6b45771a1b Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in aca4b432e1
2018-11-19 10:57:15 -08:00
Ryan Brandenburg 8e77b5f6c0 Merge branch 'release/2.2' of github.com:aspnet/AspNetCore into rybrande/MusicStore2.2 2018-11-19 10:52:23 -08:00
Ryan Brandenburg 39071a3a4d Merge remote-tracking branch 'Templating/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-19 10:47:00 -08:00
Ryan Brandenburg 6cd4ffb192 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 3f26b56fef
2018-11-19 10:38:14 -08:00
Nate McMaster abbdfb72ef
Upgrade projects and packages to netcoreapp3.0 2018-11-19 09:55:23 -08:00
Nate McMaster c39d85f6df
Upgrade package and projects to target netcoreapp3.0 (aspnet/CORS#203) 2018-11-19 09:50:57 -08:00
Nate McMaster 082d505977
Upgrade aspnetcore packages and projects to netcoreapp3.0 (aspnet/Diagnostics#529) 2018-11-19 09:50:31 -08:00
Nate McMaster aed55d4517
Upgrade projects and packages to target netcoreapp3.0 (aspnet/Routing#913)
Changes:

* Upgrade dependencies and build tools
* Change TFM on Microsoft.AspNetCore.Routing packages to netcoreapp3.0
* Remove .NET Framework tests
* Remove the IL_EMIT conditional compilation because this assembly only targets .NET Core now.
2018-11-19 09:50:01 -08:00
Nate McMaster 60a3d57a3e
Upgrade aspnetcore packages to target netcoreapp3.0 (aspnet/Localization#459)
Changes:

* Upgrade dependencies and build tools
* Change TFM on Microsoft.AspNetCore.* packages to netcoreapp3.0
* Remove .NET Framework tests
2018-11-19 09:47:43 -08:00
Nate McMaster e053878464
Upgrade packages and projects to target netcoreapp3.0 (aspnet/Security#1916)
Changes:

* Upgrade dependencies and build tools
* Change TFM on Microsoft.AspNetCore.* packages to netcoreapp3.0
* Remove .NET Framework tests
* Disable Owin interop tests. They need to be completely refactored
2018-11-19 09:47:07 -08:00
Pavel Krymets e4249dade0 Fix the SiteExtension signing exclusion 2018-11-19 08:42:21 -08:00
Pavel Krymets ca42d0295e Use property group for sign exclussions 2018-11-19 08:26:28 -08:00
Ben Adams 2414db256f Zero cost(ish) diagnositcs when disabled
Inlinable fast-path check if Diagnositcs is enabled
2018-11-18 15:47:55 -08:00
Alexej Timonin 98c10b6879 Add PageRemoteAttribute (#8324)
* Add PageRemoteAttribute

Fixes https://github.com/aspnet/Mvc/issues/8245
2018-11-18 09:30:23 -08:00
Pranav K d603735818 Ignore empty keys in QueryStringValueProvider
Fixes 8484
2018-11-18 09:09:01 -08:00
Ryan Nowak 807d4c97e3 Add required values to RoutePattern (#912) 2018-11-17 20:02:48 +13:00
David Fowler 501dd3924b
Added a method to configure the web host defaults (#298)
- Added ConfigureWebHostDefaults to configure the web specific defaults on the generic host builder.
2018-11-16 21:29:18 -08:00
BrennanConroy 4cbabea501
Dispose WebSocket if StartAsync fails (#3311) 2018-11-16 19:54:24 -08:00
Justin Kotalik 962ec07bdb
Adds PipeWriterAdapter (#1065) 2018-11-16 19:18:47 -08:00
Nate McMaster dcba1953de
Fix failing test when building the win-arm shared framework 2018-11-16 17:56:34 -08:00
Ajay Bhargav Baaskaran 6c8e900d11
Razor parser rewrite (#2590)
*   Razor parser rewrite
    - Rewrite CSharp parser
    - Basic rewrite of HTML parser (More improvements to follow)
    - Define and generate syntax nodes and boilerplate
    - Rewrite ClassifiedSpan and TagHelperSpan generation logic
    - Rewrite TagHelper phase
    - Rewrite Intermediate phase
    - Rewrite other miscellaneous features and bug fixes
    - Rewrite partial parsing
    - Added some syntax manipulation APIs
    - Removed unused legacy types

* Test changes
 - Update parser test infrastructure
 - Update tests
 - Regenerated baselines
 - Removed unused legacy types
2018-11-16 17:22:37 -08:00
Pavel Krymets 5e961e27ea
Ignore apphost.exe in runtime store (#4073) 2018-11-16 17:17:44 -08:00
Nate McMaster 75e3133cdb
Remove our (stale) copy of ApplicationInsights startup and upgrade projects to netcoreapp3.0 (aspnet/AzureIntegration#254)
This project has moved to https://github.com/Microsoft/ApplicationInsights-aspnetcore, so we don't need to build or test it in this repo anymore.

This also updates packages and projects to netcoreapp3.0
2018-11-16 17:07:24 -08:00
Nate McMaster 6bf1cc8545
Upgrade projects and packages to target netcoreapp3.0 (aspnet/MetaPackages#299)
Changes:

* Upgrade dependencies
* Change TFM on Microsoft.AspNetCore to netcoreapp3.0
* Remove .NET Framework tests
2018-11-16 16:50:31 -08:00
Nate McMaster 3db604d9d2
Upgrade packages and projects to target netcoreapp3.0 (except the .NET signalr client) (aspnet/SignalR#3315) 2018-11-16 16:44:36 -08:00
Chris Ross (ASP.NET) f6cda4fab7 Make TestServer handle exceptions from OnStarting #1594 2018-11-16 16:39:50 -08:00
Nate McMaster fd1a5b43f1
Generate PlatformManifest and package conflict overrides for Microsoft.AspNetCore.App (#4072)
This generates additional metadata for the .NET Core SDK to resolve conflicts between Microsoft.AspNetCore.App and PackageReferences which contain the same assemblies.
2018-11-16 16:36:14 -08:00
Doug Bunting 1da7a89f59 Add `ErrorContext.Member` to `ErrorContext.Path` when clearly needed
- #8509

nits:
- use `ModelNames.CreatePropertyModelName(...)`
- move `exception` assignment up and reuse that variable
2018-11-16 16:30:43 -08:00
Nate McMaster f5aae26b44
Update projects and packages to target netcoreapp3.0 (aspnet/Mvc#8734) 2018-11-16 16:28:35 -08:00
Nate McMaster 68b878f0e1
Upgrade packages and projects to target netcoreapp3.0 (aspnet/Identity#2072)
* Upgrade dependencies
* Change TFM on Microsoft.AspNetCore.Identity to netcoreapp3.0
* Remove .NET Framework tests
2018-11-16 16:27:58 -08:00
Stephen Halter fb055cddf9 Merge branch 'release/2.2' 2018-11-16 16:21:08 -08:00
Ben Adams f7c26f9912 [2.2.1] Use non-pinnable buffer for zero byte read (#4066) 2018-11-16 16:18:23 -08:00
Nate McMaster e657e7d79a
Upgrade projects and packages to netcoreapp3.0 (aspnet/JavaScriptServices#1793) 2018-11-16 16:02:57 -08:00
Ajay Bhargav Baaskaran 61565f61f9
Show Razor build errors in non build server scenarios (#2737) 2018-11-16 15:47:02 -08:00
Nate McMaster 0e12274a8e
Flatten the dependency graph of Microsoft.AspNetCore.App (#4061)
This changes the way Microsoft.AspNetCore.App works to follow patterns set by Microsoft.NETCore.App. Instead of being a metapackage with dozens of dependencies, this package has no dependencies. It uses RID-splitting to deliver standalone assets for self-contained deployments.

Changes:
* Implements RID-split packages for Microsoft.AspNetCore.App.
* Update shared fx deps.json generation to only include entries for the RID-specific metapackages
* Include platform-specific packages in publish output
* Remove all nuspec dependencies of Microsoft.AspNetCore.App and collect all references into the package.
2018-11-16 15:16:15 -08:00
Nate McMaster 3c282a4f5a
Update projects and packages to netcoreapp3.0 (aspnet/AADIntegration#55) 2018-11-16 15:07:40 -08:00
Hao Kung d1ee5a22fb
Remove obsolete apis (#1915) 2018-11-16 14:25:30 -08:00
Ryan Brandenburg 9182204495 Merge remote-tracking branch 'MusicStore/rybrande/release22Src' into rybrande/MusicStore2.2 2018-11-16 11:30:49 -08:00
Ryan Brandenburg ece5fa46c6 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 33978da1f7
2018-11-16 10:49:57 -08:00
Nate McMaster 514fcdcba5
React to breaking changes in Microsoft.AspNetCore.App (aspnet/Templating#836)
Changes:

* Add packages references for EF Core, when necessary
* Add packages references for SpaServices to Spa templates
* Remove PackageReference to Microsoft.AspNetCore.App altogether

See aspnet/AspNetCore#3612 for more context
2018-11-16 10:09:24 -08:00
Pavel Krymets 20f7d3be9d
Prevent SiteExtension OOB build from including root Directory.props/targets (#4064) 2018-11-16 09:06:48 -08:00
= 35f876e190 Merge branch 'release/2.2' 2018-11-16 00:32:36 -08:00
John Luo 1782a70601
Disable flaky selenium tests while debugging (#4053) 2018-11-16 00:29:46 -08:00
Ben Adams 49d785c934 Use object indirection in HttpContextAccessor (#1066) 2018-11-15 22:34:44 -08:00
Ryan Brandenburg e6eb842cc9 Merge remote-tracking branch 'MusicStore/ryrande/release21ToSrc' into rybrande/MusicStore21 2018-11-15 16:31:12 -08:00
Stephen Halter 7e9b11ef3f
Add test and src folders to Kestrel.sln (#4039)
- Move ThrowHelper.cs into core project
2018-11-15 16:24:31 -08:00
Ryan Brandenburg aed127198a Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in c14416f26f
2018-11-15 16:22:25 -08:00
Nate McMaster d1ee458982
Remove assemblies from the shared framework (#4004)
Remove assemblies from the shared framework that depend on or contain the following:

* Entity Framework Core
* Owin
* Node and SPA services
* Identity UI
* Middleware analysis
* SQL Client
* Third-party oauth integrations
* Runtime razor components
* JsonPatch
2018-11-15 16:18:58 -08:00
Pavel Krymets 7e890e8fa0
Update versions of logging site extensions (#4038) 2018-11-15 15:54:50 -08:00
Kévin Chalet 7e14b052ea Add AccessDeniedPath support to the OIDC/OAuth2/Twitter providers (#1887)
* Add AccessDeniedPath support to the OIDC/OAuth2/Twitter providers

* Update the code documentation and remove an unnecessary call to SignOutAsync()

* Introduce a new AccessDenied event and move most of the access denied handling logic to RemoteAuthenticationHandler

* Add ReturnUrlParameter support to RemoteAuthenticationHandler

* Remove AccessDeniedException and introduce RemoteAuthenticationHandler.HandleAccessDeniedErrorAsync()

* Use OriginalPath instead of Request.Path

* Update obsolete code comments

* Add unit tests for the new AccessDenied event

* Allow customizing the access denied path/return URL/return URL parameter from the AccessDenied event
2018-11-15 15:12:42 -08:00
Eilon Lipton 1c4a6955b7
Merge pull request #1831 from woeterman94/patch-1
Change description of role in RequireRole method
2018-11-15 14:41:04 -08:00
Nate McMaster 0af2acd6ff
Remove .NET Framework project templates 2018-11-15 13:32:40 -08:00
Pavel Krymets e11f05863f
Enable MultiProcessorCompilation in more projects (#4036) 2018-11-15 12:54:10 -08:00
Hisham Bin Ateya b8747c8b6b Adding AddRequestCultureProvider as extension method (#458)
* Adding AddRequestCultureProvider as extension method

Fixes aspnet/AspNetCore#3336
2018-11-15 12:23:10 -08:00
Nate McMaster 68cc5e7846
Merge release/2.2 and aspnet/KestrelHttpServer
* Merges latest changes from the master branch of aspnet/KestrelHttpServer
* Merges changes on release/2.2
2018-11-15 08:41:55 -08:00
Daniel Roth 71cddc3563 Update survey link for 0.7.0 2018-11-15 09:46:08 +00:00
Nate McMaster 3a657c6fdf
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 5d80016b4f
2018-11-14 23:23:58 -08:00
Nate McMaster 6cc9f6f130
Merge release/2.2 and replace submodules
* Replace the aspnet/JsonPatch git submodule and merge the master branch of its source to this repo
* Likewise for aspnet/DotNetTools
* And aspnet/HtmlAbstractions
* merge latest infrastructure changes from the release/2.2 branch
2018-11-14 22:57:10 -08:00
Nate McMaster 0271428dbe
Merge aspnet/KestrelHttpServer release/2.2 and release/2.1 2018-11-14 21:33:33 -08:00
James Newton-King 6270ea48a6
Refactor MVC endpoint integration for templates (#8695) 2018-11-15 17:04:26 +13:00
Nate McMaster f1e60a8083
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in a24b4ee459
2018-11-14 18:16:17 -08:00
Nate McMaster ad84a1cc71
Merge branch 'release/2.1' into release/2.2 2018-11-14 16:28:38 -08:00
Nate McMaster 406c80bfb0
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 4598850c20
2018-11-14 16:03:24 -08:00
Pranav K 1e26b6673d Use 3.0 configuration in RCLs 2018-11-14 15:29:58 -08:00
Pranav K 073b0377e8 Use 3.0 configuration in RCLs 2018-11-14 15:29:45 -08:00
Gert Driesen ea1ee2b68c Do not check if key is present before removing item. (#1064)
Use Nullable<T>.GetValueOrDefault() instead of Nullable<T>.Value when it is known to have a value.
2018-11-14 14:32:50 -08:00
Nate McMaster 0782a9dfa9
Merge aspnet/DotNetTools release/2.2 2018-11-14 14:12:52 -08:00
Nate McMaster 401fd68985
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d745b8c161
2018-11-14 14:10:28 -08:00
Nate McMaster 27acef3d46
Merge branch 'release/2.1' into release/2.2 2018-11-14 14:01:43 -08:00
Stephen Halter 5d80016b4f Merge branch 'release/2.2' 2018-11-14 13:43:25 -08:00
Stephen Halter 4598850c20 Revert "Use non-pinnable buffer for zero byte read (#3094)"
This reverts commit 0029b8f053.
2018-11-14 13:42:55 -08:00
Nate McMaster 51c9b7355d
Create Kestrel.sln, update documentation and README, and ensure all Kestrel test projects have the test logger installed 2018-11-14 13:14:47 -08:00
Gert Driesen 31a836c9f3 Use Nullable<T>.GetValueOrDefault() instead of Nullable<T>.Value when a it is known to have a value. (#1063) 2018-11-14 12:16:44 -08:00
Gert Driesen 5da68a2bb7 Improve performance and reduce allocations in RouteValueDictionary. (#1062) 2018-11-15 09:15:08 +13:00
Stephen Halter 446f5a8cdf Merge branch 'release/2.2' 2018-11-14 12:06:23 -08:00
Ben Adams 0029b8f053 Use non-pinnable buffer for zero byte read (#3094) 2018-11-14 12:05:26 -08:00
Nate McMaster 02536ff991
Merge source code from aspnet/KestrelHttpServer into this repo 2018-11-14 11:21:49 -08:00
Nate McMaster 9d0c69f277
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 15ba5065a9
2018-11-14 11:18:51 -08:00
David Blankenbush 01c1f7b187 Fix typo (#2066) 2018-11-14 09:33:00 -08:00
Nate McMaster c1c7d711b6
Merge branch 'release/2.1' into release/2.2 2018-11-14 09:27:23 -08:00
Pranav K b2e9365084 Disable instrumentation pass with 3.0 configuration 2018-11-14 09:14:21 -08:00
David Fowler cfe9b26a34
Added support for generic host based IWebHostBuilder (#1580)
- This adds an implementation of IWebHostBuilder as a facade over the IHostBuilder.
This removes the 2 container issue by executing the Startup.ConfigureServies and Startup.ConfigureContainer inline as part of building the IHostBuilder.
- The implementation is highly compatible implementation since it exposes the same IWebHostBuilder interface.
Existing extensions mostly work.
- There are some caveats with this approach.
    - Injecting services into Startup is not extremely constrained to the
    services availble on HostBuilderContext. This includes the IHostingEnvironment
    and the IConfiguration.
    - IStartup is broken when using this pattern because it isn't composable.
    - The IStartupConfigureServicesFilter and IStartupConfigureContainer The before
    and after filters added in 2.1 are also broken  because there's a single container (it could maybe be fixed by downcasting and doing something specific on the GenericHostBuilder instance).
    - Calling into IWebHostBuilder.Build will throw a NotSupportedException since
    this implementation is just a facade over the IHostBuilder.
2018-11-13 21:22:30 -08:00
Nate McMaster a8ec75aac4
Prepare for the 2.2.1 patch
* Generate 2.2.0 package baselines
* Update dependencies to 2.2.0
* Update branding to 2.2.1-servicing
2018-11-13 18:21:09 -08:00
Nate McMaster 87092a2590
Update targets and infrastructure for dotnet-watch et. al. 2018-11-13 15:58:22 -08:00
Nate McMaster b3ad3aa989
Merge source code from aspnet/DotNetTools into this repo 2018-11-13 15:37:55 -08:00
Nate McMaster a2d855406b
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in eba014d534
2018-11-13 15:36:38 -08:00
Ben McCallum 42dd66647d refactor: Rename param from requiredValues to allowedValues to better indicate usage. (#1908) 2018-11-13 14:05:55 -08:00
Pranav K fc3f45bf4e Add RazorLanguageVersion.3_0
Fixes https://github.com/aspnet/Razor/issues/2612
2018-11-13 13:36:20 -08:00
James Newton-King b6a1de5676
Validate the maximum number of route segments (#911) 2018-11-14 09:25:14 +13:00
Stephen Halter f223b4a663
Avoid possible tearing in HeartbeatManager.UtcNow (#3092) 2018-11-13 11:58:54 -08:00
Nate McMaster 10c4646146
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in bf9fd0d106
2018-11-13 11:24:22 -08:00
Nate McMaster 9671b9d8c3
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 3b485909eb
2018-11-13 11:21:52 -08:00
Nate McMaster ccd098ecad
Update DataProtection to use custom reference resolution
This changes DataProtection to build as projects instead of a pseudo-submodule. It replaces Package and ProjectReference with <Reference> items which custom targets then resolve.
2018-11-13 10:28:42 -08:00
Pavel Krymets 160d822f52
Do not fallback to creating console logger (#1789) 2018-11-13 09:48:28 -08:00
Nate McMaster bb6901141c
Remove the HtmlAbstractions git submodule and merge Html.Abstractions into this repo 2018-11-13 09:29:27 -08:00
Steve Sanderson dd72c7c38a Marshal oninput events as UIChangeEventArgs (#1673)
* Marshal oninput events as UIChangeEventArgs

- Blazor does handle the oninput event, but it is marshalled as a regular UIEventArgs
- This means that we cannot access the new value of the input element from inside our oninput handler

Addresses #821
2018-11-13 13:40:13 +00:00
Steve Sanderson a48260a5c9 Serialize server-side renders. Fixes #1573 (#1672)
* Add failing test to show the issue

* Make RemoteRenderer serialize render calls on sync context
2018-11-13 13:04:55 +00:00
Steve Sanderson e71db85149 Handle overlapping events (#1655)
* Add failing unit test to demonstrate overlapping events bug

* Handle overlapping events

* Make RemoteRenderer.UpdateDisplay's return task not complete until client sends explict ACK

* CR: Rename UpdateDisplay to UpdateDisplayAsync

* CR: Fix namespace

* CR: Catch synchronous SendAsync exceptions (if they can happen)
2018-11-13 12:08:08 +00:00
Steve Sanderson dc1ad1943d Capture RenderBatch bytes synchronously. Fixes #1223 2018-11-13 11:34:02 +00:00
Doug Bunting 8308d94e39
Quick fixes: Make `dotnet-getdocument` more reliable (#8716)
- use `WaitAny(...)` in inside man
- call `Process.WaitForExit()` twice
- `Flush()` all output `FileStream`s before disposal
- catch `UnauthorizedAccessException` when calling `File.Delete(...)` in case file's in use
- add `/nr:false` to `dotnet msbuild` command line
2018-11-12 11:26:02 -08:00
Pranav K 195a22d92c Move pubinternal to internal in CORS, DataAnnotations, Formatters, TagHelpers 2018-11-12 10:27:26 -08:00
Justin Kotalik de9609b343
Remove implicit reference to InteralAspNetCoreSdk (#3998) 2018-11-12 09:05:17 -08:00
Gert Driesen bd481034fe Improve performance and reduce allocations in RouteParameterParser. (#901) 2018-11-11 17:08:29 +13:00
James Newton-King f6b1138ce3
Fix RouteValueAddressScheme to require metadata to match (#910) 2018-11-10 13:41:44 +13:00
Nate McMaster 1ab08d70ef
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 252ae0c434
2018-11-09 16:17:15 -08:00
Pranav K fcf5593813 Remove additional exe produced as part of updating to 3.0 SDK
Fixes https://github.com/aspnet/Mvc/issues/8681
2018-11-09 15:52:58 -08:00
Pranav K f734efe2e7 Move pubinternal types in Mvc.Razor and Mvc.RazorPages to internal 2018-11-09 15:00:38 -08:00
Henk Mollema e790a9bb10 Inject ICorsPolicyProvider instance through Invoke
This allows for scoped instances of `ICorsPolicyProvider` to be injected in the CORS middleware and prevents turning them into singletons.

Resolves #105
2018-11-09 14:40:51 -08:00
Pranav K ecb7edadc8 Remove WebApiCompatShim 2018-11-09 14:32:28 -08:00
Nate McMaster 0a44f1c068
Merge branch 'release/2.1' into namc/mondo 2018-11-09 13:11:09 -08:00
Nate McMaster fd6b46bc7f
Merge the source code of aspnet/JsonPatch into this repo 2018-11-09 13:07:24 -08:00
Nate McMaster 27a47d07c5
Reorganize the src/WebSockets/ folder to follow new source code organization conventions 2018-11-09 13:06:13 -08:00
Nate McMaster 59ed8df382
Add targets and tools for ensuring consistent package versions between servicing builds 2018-11-09 13:05:31 -08:00
Nate McMaster 74d9728e95
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 218064c300
2018-11-09 12:49:58 -08:00
Stephen Halter 119a7695aa Merge branch 'release/2.2' 2018-11-09 12:46:07 -08:00
Stephen Halter 5db6394769
Always decrement count on HTTP/2 stream completion (#3087)
#3079
2018-11-09 12:40:51 -08:00
Pranav K 9d2c394b99 SDK does not correctly resolve RazorExtension when multiple instances of RazorConfiguration are present
Fixes https://github.com/aspnet/Razor/issues/2721
2018-11-09 11:51:38 -08:00
Justin Kotalik 4b4bd68fc7
Downgrade stable package versions and remove duplicate test project (#3991) 2018-11-09 11:27:08 -08:00
Pranav K b18526cdc8 Make types in Microsoft.AspNetCore.Mvc.ViewFeatures internal 2018-11-09 11:14:19 -08:00
Justin Kotalik 8356baf7a6
Port ANCM installer changes to 2.1 (#3874) 2018-11-09 11:10:33 -08:00
Adrian Wright 5e0aa0c0fa Fix typos 2018-11-09 10:17:10 -08:00
Jeremy Hutchinson 1661d38971 Return completed task rather than null for empty virtual async methods. 2018-11-09 10:06:20 -08:00
Suchiman 5c13452d96 Add repository in nuspec files 2018-11-09 10:03:51 -08:00
Nate McMaster bd5bf34351
Merge branch 'release/2.2' 2018-11-09 07:29:37 -08:00
Nate McMaster db0d3c333d
Fix NU1605 build error by ensuring package versions are set correctly in subfolder projects (#3987) 2018-11-08 23:40:14 -08:00
Nate McMaster bc44d9d4e0
Remove artifact info for StressTestWebSite.zip 2018-11-08 17:50:34 -08:00
Nate McMaster 0c6e4bebab
Prepare to build the 2.1.7 patch (#3970)
* Prepare 2.1.7 patch
* Add documentation for how we prepare servicing updates
2018-11-08 17:07:18 -08:00
Nate McMaster ba70991d7c
Stop publishing runtime-extension-internal.zip and don't produce StressTestWebsite.zip by default in CI builds (#3984) 2018-11-08 17:01:31 -08:00
Nate McMaster 7f4d10775c
Add signcheck exclusions (#3985) 2018-11-08 16:57:07 -08:00
N. Taylor Mullen 85ebb3585f Turn old completion on when async completion is active. 2018-11-08 15:38:45 -08:00
N. Taylor Mullen d5a6f99c8f Update to use latest completion APIs 2018-11-08 15:38:27 -08:00
Stephen Halter 9053772cd0 Merge branch 'release/2.2' 2018-11-08 15:17:48 -08:00
Stephen Halter 2b87e7be85 Remove invalid Debug.Assert in Http2Connection (#3080)
The _streams dictionary may not contain the completing stream in
OnStreamCompleted since the IsDraining flag is applied beforehand
which allows it to be removed by the request processing thread.
2018-11-08 15:16:27 -08:00
Stephen Halter 50bb0b3bc9
Implement no-op HTTP/2 IHttpUpgradeFeature (#3082) 2018-11-08 15:10:07 -08:00
Alexander Shabunevich bf9fd0d106 Prevent null refs when copying a property with a null value
* Fix aspnet/AspNetCore#3559 Json Patch: System.NullReferenceException while trying to use copy operation from property with null value.

* Fix aspnet/AspNetCore#3559: Missing tests added.
2018-11-08 14:29:34 -08:00
Pavel Krymets 89a3526769
Move runtime site extension to installers (#3954) 2018-11-08 14:13:07 -08:00
Pranav K 8d66f104f7 Make types in Microsoft.AspNetCore.Mvc.Internal namespace internal 2018-11-08 14:00:16 -08:00
Pranav K f6265a8549 Update rzc to target netcoreapp3.0
* Allow rzc to work with 3.0 SDK that does not carry 2.x runtime
* Update repo to netcoreapp3.0

Fixes https://github.com/aspnet/Razor/issues/2696
2018-11-08 09:18:58 -08:00
Nate McMaster 416d8cd1ea
Merge branch 'release/2.2' 2018-11-08 08:48:35 -08:00
Nate McMaster 3918724616
Merge branch 'release/2.1' into release/2.2 2018-11-08 08:31:22 -08:00
James Newton-King 1d3521113a
Change namespace to Microsoft.AspNetCore.Http.Endpoints (#1061) 2018-11-08 15:52:01 +13:00
James Newton-King cb83e4f485
Authorization middleware (#1894) 2018-11-08 15:42:35 +13:00
Nate McMaster e0bdbb59f7
Reorganize source code in src/DataProtection
* Pair implementations and unit tests side by side in src/ and test/ folders
* Update .sln and project paths
* Rename unit test projects from Test.csproj => Tests.csproj
* Update KoreBuild properties to allow building projects, not solutions
2018-11-07 17:33:30 -08:00
Stephen Halter b3d72773b1
Fix race conditions in HTTP/2 tests (#3024) 2018-11-07 17:09:21 -08:00
Stephen Halter f6d589a6c4
Remove invalid Debug.Assert in Http2Connection (#3080)
The _streams dictionary may not contain the completing stream in
OnStreamCompleted since the IsDraining flag is applied beforehand
which allows it to be removed by the request processing thread.
2018-11-07 17:08:44 -08:00
Justin Kotalik 263fb650be
Detect shared configuration in ANCM installers and fail if enabled (#3962) 2018-11-07 13:19:27 -08:00
Pranav K d632469909 React to Razor.Design package removal 2018-11-07 13:16:16 -08:00
Steve Sanderson 5a836ef0a6 Update to ws-proxy code matching Mono repo 5e318afd 2018-11-07 12:01:50 +00:00
Steve Sanderson 080399da3d Update MonoPlatform startup code to match newer Mono 2018-11-07 12:01:50 +00:00
Steve Sanderson 0857483a42 Use prebuilt Mono binaries. Remove asm.js fallback (Mono doesn't distribute asm.js builds). 2018-11-07 12:01:50 +00:00
Nate McMaster 011cf21a5c
Merge branch 'release/2.2' 2018-11-06 17:42:44 -08:00
James Newton-King 066c5ce337
Implicitly execute matched endpoint at the end of middleware pipeline (#1059) 2018-11-07 12:57:31 +13:00
James Newton-King d77b370fb1
Add Endpoint extension methods to HttpContext (#1060) 2018-11-07 12:24:15 +13:00
Pavel Krymets f024e779a6 Merge branch 'merge/release/2.2-to-master' of https://github.com/dotnet-maestro-bot/JavaScriptServices into merge/release/2.2-to-master 2018-11-06 15:11:14 -08:00
Pavel Krymets 9d570d791f
Remove obsolete logging API usage (#3953) 2018-11-06 14:50:35 -08:00
Pavel Krymets 7819c2f950
Remove obsolete API usage (#1784) 2018-11-06 14:10:24 -08:00
John Luo 5488932e31 Merge branch 'release/2.2' 2018-11-06 14:04:45 -08:00
John Luo 7ef549416f Add prerelease label to deb installer package version 2018-11-06 14:02:48 -08:00
Justin Kotalik a00118ada1
Disable IIS tests due to web.config generation issue (#3951) 2018-11-06 13:25:50 -08:00
Nate McMaster df46dfee73
Merge branch 'release/2.2' 2018-11-06 12:13:05 -08:00
Nate McMaster 7f95d6af34
Remove everything from the package archive except Microsoft.AspNetCore.App 2018-11-06 09:43:51 -08:00
BrennanConroy 71e2f45450
Wrap log in enabled check 2018-11-06 09:24:34 -08:00
Nate McMaster 4f887e5cd4
Merge branch 'release/2.1' into release/2.2 2018-11-06 09:23:17 -08:00
Nate McMaster 17cccade43
Add IsFinalBuild switch to Windows installer script (#3892) 2018-11-06 09:06:10 -08:00
Liam Dawson 9de04520e0 Add `user-secret init` command for adding a UserSecretsId to a project file (#500) 2018-11-05 10:44:50 -08:00
Justin Kotalik c5e7bd244d Merge branch 'release/2.2' 2018-11-05 09:10:29 -08:00
Justin Kotalik 90b11de8f1
Get IISIntegration CI working (#3875) 2018-11-05 08:45:11 -08:00
John Luo e8fec8eb52
Enable symbols generation for crossgen'ed assemblies on linux-arm (#3877) 2018-11-02 18:06:04 -07:00
John Luo faba76cfa1 Merge branch 'release/2.2' 2018-11-02 15:57:49 -07:00
John Luo d36a480253 Build and crossgen linux-arm shared framework in Docker container 2018-11-02 15:14:19 -07:00
Javier Calvarro Nelson 7421ba8087
Merge release/2.2 -> master
Fixes integrity validation in Identity UI V3
2018-11-02 14:57:25 -07:00
Javier Calvarro Nelson 99f352a92f
javiercn/check-integrity-validation (#2052) 2018-11-02 14:48:06 -07:00
Justin Kotalik dcece2090c
Remove IISIntegration submodule, add CI (#3867) 2018-11-02 14:34:31 -07:00
Nate McMaster 0e24161d42
Ensure Microsoft.AspNetCore.Server.IntegrationTesting.IIS doesn't produce a finalized version 2018-11-02 11:07:45 -07:00
John Luo 3327267396 Merge branch 'release/2.2' 2018-11-02 11:03:05 -07:00
Stephen Halter f2a383dc76
Don't count long tick intervals against rate measurements (#3070)
This might help address #3015

This only affects rate timeouts. Normal fixed timeouts might deserve the same treatment, but that would require some additional locking to ensure we don't modify the sentinel value.
2018-11-02 10:58:30 -07:00
Nate McMaster 50e1e60247
Merge branch 'release/2.2' 2018-11-02 10:49:11 -07:00
Justin Kotalik afab1a5be6
Remove IISIntegration submodule, add CI [2.2] (#3865) 2018-11-02 10:22:04 -07:00
Nate McMaster b7850f9865
Remove Microsoft.AspNetCore.Razor.Design from Microsoft.AspNetCore.App 2018-11-02 10:14:05 -07:00
Nate McMaster cb85ffa8f6
Merge branch 'release/2.2' 2018-11-02 10:10:49 -07:00
Mike Lorbetske 2af66e4eba
Merge pull request #510 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-11-02 09:42:33 -07:00
Nate McMaster 303ee1ff56
Fix the filename for the debian installer 2018-11-01 22:50:58 -07:00
Nate McMaster 27deb6f6f8
Remove dependency on Docker from MSBuild targets (#3866)
Changes:
* This removes MSBuild targets which invoke `docker` commands to build
   deb and rpm installers
* Remove installer targets from the KoreBuild context. Put them into
   separate project files
* Simplify the targets used to build installers by reducing duplicate
   variable names and deeply nested MSBuild contexts
* Remove unused dependencies from the Docker build context
2018-11-01 15:02:29 -07:00
Nate McMaster b56dc070fb
Ensure ApiAuthorization.IdentityServer doesn't build a 2.2.0 package with the rest of RTM (#2049) 2018-11-01 13:32:23 -07:00
Mike Lorbetske d745b8c161 Fix #485 2018-11-01 13:00:20 -07:00
Mike Lorbetske 22a32500ac Fix several issues
Fix #502

Fix #492

Fix #491

Fix #486

Improves #489
2018-11-01 13:00:20 -07:00
Javier Calvarro Nelson 405adf3ddd Merge remote-tracking branch 'origin/release/2.2' 2018-11-01 11:50:52 -07:00
Justin Kotalik 83fe4c089b
Remove M.A.Server.IIS package from 2.1. Fix signing issues (#3859) 2018-11-01 11:30:31 -07:00
Javier Calvarro Nelson 5e10eb1d1a Support for ApiAuth using Identity Server 2018-11-01 11:03:28 -07:00
Pranav K 1fde1cc061 React to Razor.Design package removal 2018-11-01 07:37:47 -07:00
Justin Kotalik 868dc32c97 Merge branch 'release/2.2' 2018-10-31 21:04:25 -07:00
Justin Kotalik d6a5ef57af Merge remote-tracking branch 'i/jkotalik/30Merge' into jkotalik/new30Merge 2018-10-31 20:05:44 -07:00
Justin Kotalik 69b7b427fc
Merge pull request #3781 from aspnet/jkotalik/21Merge 2018-10-31 19:40:28 -07:00
Justin Kotalik 3f04c928f4 Merge branch 'jkotalik/21Merge' into jkotalik/22Merge 2018-10-31 18:38:00 -07:00
Justin Kotalik fc17530148 Merge remote-tracking branch 'i/jkotalik/22Merge' into jkotalik/22Merge 2018-10-31 18:25:22 -07:00
Justin Kotalik ce68c8e5be remove submodule 2018-10-31 18:14:34 -07:00
Justin Kotalik 04d1f6813c Merge remote-tracking branch 'i/jkotalik/21Merge' into jkotalik/21Merge 2018-10-31 17:18:48 -07:00
Justin Kotalik ebb0bfefb7 Reorganize source code in preparation to move into aspnet/aspnetcore 2018-10-31 16:57:49 -07:00
Stephen Halter 153ff670a1 Merge branch 'release/2.2' 2018-10-31 16:51:55 -07:00
Justin Kotalik 7fbedc602c Move 22 into subfolder 2018-10-31 16:40:21 -07:00
Justin Kotalik 55e809c5dc Move more files 2018-10-31 16:38:30 -07:00
Justin Kotalik 040fb6f18a Move IISIntegration into subfolder 2018-10-31 15:51:17 -07:00
Pranav K 17ed44c868
React to Razor.Design package removal (#8680)
* React to Razor.Design package removal

* Remove references to packages (Razor.Design, Razor.Extensions) solely used to bring in compiler \ targets
* Target netcoreapp3.0 in samples and tests to allow Sdk to infer values
2018-10-31 15:38:22 -07:00
Stephen Halter d50c0c13b9
Measure the rate of all HTTP/2 output (#3067)
Prior to this, only the response body counted toward the HTTP/2 response data rate. This PR aligns the HTTP/2 logic closer to the HTTP/1.x logic and measures the rate for all HTTP/2 response data.

This PR also accounts for all response bytes written, not just those that immediately induced backpressure.
2018-10-31 15:34:17 -07:00
BrennanConroy cd4a1c036a
Remove SignalR.Redis package (#3241) 2018-10-31 15:16:44 -07:00
Doug Bunting e4292c236c
Merge pull request #8682 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-31 14:47:16 -07:00
Pranav K e27088d9d9 React to Razor.Design package removal 2018-10-31 14:26:52 -07:00
Ryan Nowak 891ae28851 Merge branch 'release/2.2' 2018-10-31 14:24:26 -07:00
Doug Bunting a6199bbfba
Add integration and functional tests of `[BindRequired]` on page properties (#8677)
- #7353
2018-10-31 14:15:14 -07:00
Ryan Nowak 3b485909eb Fix aspnet/AspNetCore#3634 2018-10-31 14:12:55 -07:00
Ryan Nowak c9a53b9067
Merge pull request #522 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-31 13:26:02 -07:00
Ryan Nowak c802d5ef5f
Redesign HealthStatus (again) (#520)
* Redesign HealthStatus (again)

This change brings back the ability to return Healthy/Degraded/Unhealthy
in a HealthCheckResult. We tried making this pass/fail in 2.2.0-preview3
and folks writing health checks for their own use pointed out (rightly
so) that it was too limited.

It's still possible for the app developer to configure the failure
status of a health check, but it requires the health check author to
cooperate.

I also got rid of HealthStatus.Failed since it raises more questions
than it answers. It's really not clear that it's valuable for a health
check for behave different when throwing an unhandled exception.

We would still recommend that a health check library handle exceptions
that they know about and return `context.Registration.FailureStatus`.
2018-10-31 12:51:14 -07:00
Pranav K f2af66bc31
Cleanup InferParameterBindingInfoConvention (#8665)
* Cleanup InferParameterBindingInfoConvention

* Infer BindingSource for collection parameters as Body. Fixes https://github.com/aspnet/Mvc/issues/8536
* Introduce a compat switch to keep 2.1.x LTS behavior for collection parameters
* Do not infer BinderModelName in InferParameterBindingInfoConvention
2018-10-31 12:24:37 -07:00
Ryan Nowak 707692cbe1 Update to Dev16 Roslyn 2018-10-31 12:17:22 -07:00
Nate McMaster ba87c3fbd1
Remove Microsoft.AspNetCore.All (#3761)
This shared framework and metapackage are obsolete. The recommended replacement is Microsoft.AspNetCore.App.
2018-10-31 12:13:05 -07:00
Doug Bunting 579341c8d6
Merge branch 'master' into merge/release/2.2-to-master 2018-10-30 21:08:15 -07:00
Doug Bunting c74a945dda
Convert `RouteValueDictionary` values to `string` using `CultureInfo.InvariantCulture` (#8674)
* Convert `RouteValueDictionary` values to `string` using `CultureInfo.InvariantCulture`
- #8578
- user may override this choice in one case:
  - register a custom `IValueProviderFactory` to pass another `CultureInfo` into the `RouteValueProvider`
- values are used as programmatic tokens outside `RouteValueProvider`

nits:
- take VS suggestions in changed classes
- take VS suggestions in files I had open :)
2018-10-30 20:09:17 -07:00
Hao Kung da9318f431
Block enabled 2fa in the UI without cookie consent (#2035)
* Block enabled 2fa in the UI without cookie consent

* Guard against feature not being there

* Set up tweak

* Fix
2018-10-30 16:23:55 -07:00
Nate McMaster 4c9c4a5cc8
Merge branch 'release/2.2' 2018-10-30 15:22:50 -07:00
Nate McMaster 9405d058fa
Merge branch 'release/2.1' into release/2.2 2018-10-30 14:54:51 -07:00
Pranav K 734b919b02 Respect SuppressInferBindingSourcesForParameters
Fixes https://github.com/aspnet/Mvc/issues/8657
2018-10-30 14:37:21 -07:00
Pranav K 0bd6d135c1 Move targets, rzc and extension assembly in to the Sdk 2018-10-30 14:30:20 -07:00
Pranav K 16b15fcb2a
Merge pull request #8672 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-30 13:33:07 -07:00
Piotr Wosiek af6527dcef Fix XML doc on HttpMethodAttribute and derived ones 2018-10-30 13:21:15 -07:00
Hao Kung 93799664bb
Merge pull request #2031 from dotnet-maestro-bot/merge/release/2.2-to-master 2018-10-30 12:57:29 -07:00
Filip W 187e89f6f0 Do not throw a null reference from request.GetDisplayUrl() (#1057) 2018-10-30 12:32:26 -07:00
Ajay Bhargav Baaskaran 0948660e8c Merge branch 'release/2.2' 2018-10-30 12:07:04 -07:00
Nate McMaster d7b9fd4807
Update TFM to include netcoreapp3.0 2018-10-30 11:26:46 -07:00
Nate McMaster 969fb9bf48
Update projects in src/Framework/ to netcoreapp3.0 2018-10-30 10:41:24 -07:00
Ryan Nowak 3e6b3a0067
Merge pull request #521 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-29 17:03:14 -07:00
Ryan Nowak 4c94bc272b Rename anti-caching option
- Renamed the property for configuration response caching headers
- Renamed the options class to avoid conflicts with other type names

Fixes https://github.com/aspnet/Diagnostics/issues/509
2018-10-29 16:44:45 -07:00
Nate McMaster 5e4166f940
Merge branch 'release/2.2' 2018-10-29 16:05:19 -07:00
Ryan Nowak 6c1bee1940 Classify non-C# inside C#
Fixes a bug with preview formatting for FAR.

So when we ask the Roslyn API to classify C# for us, it will only
classify the actual C# tokens. We are responsible for filling in the
gaps and whitespace.

The bug is that the following text would have all of its whitespace
removed in the VS FAR preview window.

```
@{ var foo = "Hello, world!"; }
```

Would look like:
```
@{varfoo="Hello, world!";}
```

This fixes the issue and makes it look like what one would expect.
2018-10-29 14:35:13 -07:00
Ryan Nowak a3d0c8f634 Fixes for excerpt service
We had a bug where were not returning the correct span for highlighting.
Fixed this.

Also we have a problem here, we're using types in our tests that are
coming from Roslyn - however we're not getting IVT for our test
assemblies. So some additional pain is required.
2018-10-29 14:35:13 -07:00
Ryan Nowak 5229e65962 Add GeneratedDocumentTextLoader 2018-10-29 14:35:13 -07:00
Ryan Nowak e637e17d34 Add support for getting the output version
This was missed in an earlier PR.
2018-10-29 14:35:13 -07:00
Pranav K 4015c9863e
Merge pull request #8664 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-29 12:54:42 -07:00
Ajay Bhargav Baaskaran 8674dd9236 Removed duplocate Id for a RazorDiagnostic 2018-10-29 11:25:29 -07:00
Pranav K 13cf754425
Merge pull request #8663 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-29 09:59:34 -07:00
Pranav K 35d2ab37f7 Allow passing a dictionary to ValidationProblemDetails
Fixes https://github.com/aspnet/Mvc/issues/8645
2018-10-29 09:56:17 -07:00
Pranav K ccde910b29 Specify TaskCreationOptions when using TCS
Fixes https://github.com/aspnet/Mvc/issues/8558
2018-10-29 09:33:05 -07:00
Ryan Nowak 4d44639a51 Incorporate breaking changes from CPS 2018-10-29 08:51:21 -07:00
Ryan Nowak 08699702ad
Merge pull request #518 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-27 21:57:41 -07:00
Ryan Nowak 1afd5b2594 Don't use Map
Fixes aspnet/Diagnostics#511 and aspnet/Diagnostics#514

It's really confusing to people that we use Map. Users expect that the
URL they provide for the health check middleware will only process
exact matches. The way it behaves when using map is not optimal for some
of the common patterns.
2018-10-27 21:01:55 -07:00
Doug Bunting 0cea1b2a5f
Merge pull request #8656 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-27 16:53:19 -07:00
Doug Bunting 37e562902f Support single `IDocumentProvider` method signature
- #8593
- also find `IDocumentProvider` using a more-laborious process
  - `Type.GetType(string)` requires an assembly-qualified name and we don't know the assembly
- default method name now `GenerateAsync`
- only supported signature is `public Task GenerateAsync(string, TextWriter)`

also:
- handle more error cases in the tool's inside man
- avoid an empty document file if `IDocumentProvider.GenerateAsync(...)` fails
- unwrap an `AggregateException`

nits:
- remove duplicate comments
- change `GetDocumentCommandWorker.TryProcess(...)` to return `false` on failure
  - minor because return value is currently ignored
- rename `GetDocumentCommandContext.Output` -> `OutputPath`
- reflect recent change to `dotnet-getdocument`'s `Resources.resx` file in its designer file
2018-10-27 15:27:33 -07:00
Nate McMaster eba014d534
Add additional signing configuration for external assemblies in the tools packages 2018-10-27 02:06:55 -07:00
Nate McMaster 3c0f4ef14f
Merge branch 'release/2.2' 2018-10-27 01:31:58 -07:00
Nate McMaster c8b1d2cfe5
Merge branch 'release/2.1' into release/2.2 2018-10-27 01:31:12 -07:00
Nate McMaster d957ac9da0
Remove Microsoft.DotNet.GlobalTools.Sdk, upgrade BuildTools, and change VSIX signing cert name 2018-10-27 01:28:14 -07:00
Nate McMaster e7edf237b5
Merge pull request #2679 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-26 23:53:59 -07:00
Nate McMaster 6ecf5374c6
Use 3PartySHA2 instead of 3PartyDual for code-signing Newtonsoft.Json.dll (#2678) 2018-10-26 23:40:22 -07:00
James Newton-King 1c61f3538e
Merge release/2.2 2018-10-27 11:56:04 +13:00
Hao Kung 6c45bfc0dc
Merge 2.1 -> 2.2 (#2030) 2018-10-26 14:52:03 -07:00
Nate McMaster fa3cfd08eb
Remove IdentityService (#2028)
As a part of preparing this repo for merging into aspnet/AspNetCore, this code is being removed as it is currently not in a "shipping" state for 2.1.
2018-10-26 14:05:44 -07:00
Nate McMaster d2af13517b
Merge branch 'release/2.2' 2018-10-26 13:39:01 -07:00
Nate McMaster ba67b04d9d
Ensure IsTestProject=false in Microsoft.AspNetCore.Identity.Specification.Tests.csproj
This isn't really a test project. It's a class library which contains testing compontents. Because 'xunit' is referenced, IsTestProject=true, which
messes up some of the build logic we have for handling code signing and test runners
2018-10-26 12:26:16 -07:00
James Newton-King 6bb292cfcc
Add test for metadata precedence (#8642) 2018-10-27 07:59:15 +13:00
Nate McMaster 6bafc157e7
Update code signing config to exclude .js and .ttf files in template packages 2018-10-26 11:51:23 -07:00
Ryan Brandenburg 2adf798ba0 Fix peer dependencies in React templates 2018-10-26 11:46:48 -07:00
Pranav K a74235c7ec Reflect Access-Control-Request-Headers and Access-Control-Request-Method when policy is configured to support wildcard
Fixes https://github.com/aspnet/AspNetCore/issues/3684
2018-10-26 11:11:33 -07:00
Stephen Halter b2c65bd346 Merge branch 'release/2.2' 2018-10-26 11:01:02 -07:00
Javier Calvarro Nelson 2ab58c47f7 Merge branch 'release/2.2' 2018-10-26 10:55:39 -07:00
Stephen Halter 395b681348
Add HTTP/2 request body data rate limit (#3051) 2018-10-26 10:46:46 -07:00
Nate McMaster ee11d10f04
Remove BrowserLink and Scaffolding gitsubmodules (#3730)
As a part of simplifying the way we build ASP.NET Core, the BrowserLink and Scaffolding repos and the packages they produce will be independent from aspnet/AspNetCore.
2018-10-26 10:17:57 -07:00
Pavel Krymets 99f2ecd02f
Move transformation tests from AzureIntegration (#3726) 2018-10-26 09:49:19 -07:00
Hao Kung ec176b2e40
Merge release/2.2 (#1055)
* Add safe copy for enumeration (#1052)
2018-10-25 18:43:21 -07:00
Ryan Brandenburg 89d493bac8
Merge pull request #805 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-25 16:23:28 -07:00
Javier Calvarro Nelson 08074b6714
Merge pull request #2025 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-25 15:47:18 -07:00
Wouter Huysentruit 168be7b561 Use the correct logging category inside RegisterModel 2018-10-25 15:44:59 -07:00
Javier Calvarro Nelson 51de582c83
[Fixes #2002] UI package has path error (#2024) 2018-10-25 15:33:49 -07:00
Ryan Brandenburg 958e0b1d9f Get rid of Page1 Page2 2018-10-25 15:12:31 -07:00
Nate McMaster ae122d9bc0
Include rid-specific runtime packages in the list of artifacts 2018-10-25 14:42:00 -07:00
Nate McMaster 77a3089c8d
Workaround quirks in NuGet
* Disable package analysis because it incorrectly issues NU5109 on macOS, but not windows
* Normalize file paths because if you mix slashes, NuGet will just skip the entire folder
* Normalize the project path given to restore. If it not normalized, restore skips the project and issues a warning
2018-10-25 14:27:46 -07:00
Ryan Brandenburg b05185f1f1
ESLint (#796)
Include ESLint in react templates
2018-10-25 12:27:39 -07:00
Ryan Brandenburg 9b3d1f56fd
Handle peer dependency warnings (#794)
Handle peer dependency warnings
2018-10-25 12:00:49 -07:00
Nate McMaster 9d878dddf1
Merge branch 'release/2.2' 2018-10-25 11:12:59 -07:00
Nate McMaster 8c20892290
2.2: Remove BrowserLink from templates (#801)
This removes support for the `--use-browserlink` flag from the templates. The Microsoft.VisualStudio.Web.BrowserLink package will still ship in 2.2, but users who want this should use `dotnet add package Microsoft.VisualStudio.Web.BrowserLink` instead.
2018-10-25 10:49:44 -07:00
Pranav K 70aad7cb70
Merge branch 'master' into merge/release/2.2-to-master 2018-10-25 09:35:47 -07:00
Pranav K 2d6643bc85 Cleanup Microsoft.NET.Sdk.Razor package output
* Remove unnecessary \ incorrect package references
* Remove extraneous build outputs in the tasks project that weren't present when the tasks were in Razor.Design
2018-10-25 09:26:04 -07:00
Pavel Krymets 044f613804
Include failed HRESULTs and exceptions in FREB log (#1548) 2018-10-25 08:48:21 -07:00
Justin Kotalik de185b6a06
Duplicate debug log handle for console logging (#1558) 2018-10-25 08:47:31 -07:00
Nate McMaster 11d0b328ba
Remove VS.Web.CodeGeneration packages from the fallback folder cache (#3717) 2018-10-24 21:05:44 -07:00
Nate McMaster 654debe8fb
Merge branch 'master' into merge/release/2.2-to-master 2018-10-24 17:51:56 -07:00
Nate McMaster 7bde7399e9
2.2: remove Microsoft.VisualStudio.Web.CodeGeneration.Design from templates (#802)
This package does not need to be in the project until someone uses Visual Studio code generation. Visual Studio will automatically add this package when scaffolding is used for the first time, so it's unnecessary to put this in our templates.
2018-10-24 17:42:02 -07:00
Nate McMaster 968df9578b
Refactor shared framework projects targets and project layout (#3703)
This refactors the targets used to build the shared framework and its .zip files. There are lots of reasons motivating this: Arcade convergence, migration to VSTS, making it easier to build this locally, etc.

Changes:
* Moves move content of build/Sharedfx.{props/targets} into eng/targets/SharedFx.Common.{props/targets}
* Update the build to produce a `runtime.$rid.Microsoft.AspNetCore.App` package (not just the one with symbols in it)
* Refactor the targets which produce .tar.gz/.zip files into separate projects in `src/Installers/`
* Refactor installers, unit tests, and the framework projects to use ProjectReference to flow dependencies between different parts of the build.
* Makes it easier to build the shared framework locally (for the inner dev loop, you can run `dotnet build -p src/Framework/Microsoft.AspNetCore.App/src/ -r win-x64`)
2018-10-24 15:42:06 -07:00
Hao Kung 91db78cf92
Add safe copy for enumeration (#1052) 2018-10-24 15:10:19 -07:00
Nate McMaster e3dc0edecb
Merge branch 'release/2.2' 2018-10-24 13:07:05 -07:00
Nate McMaster 01f9af21c5
Temporarily stop producing a package for dotnet-httprepl (#505)
This package isn't quite ship-shape yet, so we're delaying this from shipping with 2.2 RTM.

Setting IsPackable=false so we avoid accidentally building a 2.2.0 RTM version of this package along with the rest of the 2.2.0 RTM tools in this repo, like dotnet-watch.
2018-10-24 13:02:25 -07:00
Javier Calvarro Nelson aa88f16b08
Fix cors with creds (#193) 2018-10-24 12:56:07 -07:00
Justin Kotalik 4437c72e30 Merge branch 'merge/release/2.2-to-master' of https://github.com/dotnet-maestro-bot/Templating into merge/release/2.2-to-master 2018-10-24 12:05:12 -07:00
Justin Kotalik 70a786adcd
Make AspNetCoreHostingModel element not be insert when targeting net461 and inprocess => InProcess (#797) 2018-10-24 11:36:07 -07:00
Pranav K ce11eb9b71
Merge pull request #8641 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-24 11:19:50 -07:00
Pranav K 2544926b2f Provide a convenience API to configure ApiBehaviorOptions 2018-10-24 10:10:33 -07:00
Ryan Nowak 357657fc45 Implements versions for generated code
This change implements version tracking the inputs and outputs of
generated code.

Version tracking is still best-effort - meaning that in some cases a
perfect system could avoid doing more work. However, since we base the
versions off of all of the inputs, we now that the guarantee that code
generation operations that happen 'out of order' will always result in
the newer inputs generating the newer outputs.

Fixes: https://github.com/aspnet/Razor/issues/2650
2018-10-23 18:19:18 -07:00
Chris Ross 253f81c2f2
Merge pull request #3049 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 16:13:35 -07:00
Chris Ross (ASP.NET) a8073167e7 Revert "Flush response headers #3031"
This reverts commit 277a5502fd.
2018-10-23 15:49:11 -07:00
Chris Ross 9c40a7237c
Merge pull request #260 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 15:47:22 -07:00
Chris Ross 268290a8b5
Merge pull request #378 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 14:54:53 -07:00
Chris Ross a5fcd9dd87
Add application/wasm #3681 (#259) 2018-10-23 14:43:47 -07:00
Chris Ross 2d3ad1cb0f
Add application/wasm to the default compression list (#377) 2018-10-23 14:39:47 -07:00
Stephen Halter d0fc981c7e Merge branch 'release/2.2' 2018-10-23 10:47:14 -07:00
James Newton-King 79117fa08a
Merge 2.2 to master 2018-10-23 22:04:56 +13:00
Ryan Nowak 81904f579a Add definitions for Document Services
This change adds mock ups of the interfaces that we've been designing as
part of Razor FAR as well as the implementations. This isn't wired up to
anything yet in this PR, but the basic functionality here is stable
enough for us to stabilize and review.

For now we have the interface definitions in the Razor codebase until a
build of Roslyn is available with these definitions + IVT for us to use
them.
2018-10-22 20:47:31 -07:00
James Newton-King 40959a97e7
Fix link generation of routes with default values (#8616) 2018-10-23 16:10:43 +13:00
James Newton-King e9737a90e5
Endpoing routing 3.0 registration (#8470) 2018-10-23 14:04:12 +13:00
James Newton-King 0ef4b4173c
Endpoint routing startup experience (#889) 2018-10-23 13:54:36 +13:00
James Newton-King be0e602d2f
Merge pull request #888 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 13:40:24 +13:00
Gert Driesen 25b5ab2c39 Improve performance and reduce allocations in RouteValuesAddressScheme. (#879) 2018-10-23 13:25:43 +13:00
Gert Driesen bc482cd2b0 Minor performance improvement for DfaMatcherBuilder (#854) 2018-10-23 13:25:08 +13:00
James Newton-King 74336f10c7
Merge pull request #887 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 11:33:13 +13:00
Chris Ross (ASP.NET) 32532078d6 Log binary data as a parameter #2860 2018-10-22 14:51:29 -07:00
Gert Driesen bcbf2a1a68 Minor performance improvement for UriBuildingContext.ToPathString() with zero-length path. (#880) 2018-10-23 10:20:52 +13:00
Gert Driesen c93e3a76ff Eliminate redundant isValid check from DefaultEndpointSelector.ProcessFinalCandidates(...). (#881) 2018-10-23 10:20:30 +13:00
Gert Driesen 26e5ea3274 Improves performance and reduce allocations in DefaultEndpointDataSource (#882) 2018-10-23 10:20:15 +13:00
Ryan Nowak 4943bc4896 Remove LinkGenerationTemplate
This doesn't really accomplish our goals for 2.2 - I don't have a clear
scenario where I would tell a developer to use this VS something else.
Will reevaluate in 3.0
2018-10-22 14:18:22 -07:00
James Newton-King bc140fc491
Merge pull request #885 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 09:18:17 +13:00
Ryan Brandenburg 707b1bbf3b Fix link 2018-10-22 12:48:30 -07:00
Justin Kotalik ffa72f5a0c
Fix two string allocation issues (#1539) 2018-10-22 11:23:14 -07:00
Ryan Nowak a3e999762f
Merge pull request #8630 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-22 07:58:36 -07:00
Ryan Nowak 76a30b0911 Remove LinkGenerationTemplate
This doesn't really accomplish our goals for 2.2 - I don't have a clear
scenario where I would tell a developer to use this VS something else.
Will reevaluate in 3.0
2018-10-21 15:39:59 -07:00