Commit Graph

36419 Commits

Author SHA1 Message Date
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 619d358585
Upgrade test projects to netcoreapp3.0 (aspnet/ServerTests#152) 2018-11-16 17:04:26 -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
Mikael Mengistu cdd7387159
Java Client Steaming (#3301) 2018-11-16 16:29:32 -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
Ryan Brandenburg 6da92b9d6d Fix dependencies 2018-11-16 15:30:22 -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
Nate McMaster 8f471bf65b
Remove net461 from samples 2018-11-16 13:56:18 -08:00
Ryan Brandenburg 8227f9f819 Fix merge problem 2018-11-16 13:14:45 -08:00
ASP.NET CI 658653808d Updating submodule(s)
HttpClientFactory => 7c4f9479b4753a37c8b0669a883002e5e448cc94
MusicStore => aca4b432e1
Templating => 514fcdcba5

[auto-updated: submodules]
2018-11-16 20:04:04 +00:00
BrennanConroy 7015fb20f2 Merge branch 'release/2.2' 2018-11-16 12:02:43 -08:00
Ryan Brandenburg 422d30b521 Merge remote-tracking branch 'origin/release/2.1' into rybrande/MusicStore2.2 2018-11-16 11:34:39 -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 6809eeeda4 Merge branch 'ryrande/release21ToSrc' into rybrande/release22Src 2018-11-16 11:29:28 -08:00
Javier Calvarro Nelson aca4b432e1 Switch async void to async Task (#879)
Switch async void to async Task
2018-11-16 11:16:43 -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
Ryan Brandenburg 9adb829eb5 Fix MusicStore RootPath 2018-11-16 10:18:09 -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
BrennanConroy e2a712a1cd
Add logging to HubConnectionHandlerTests (#3286) 2018-11-16 10:00:18 -08:00
Ryan Brandenburg 681d743170 Update MusicStore source 2018-11-16 09:36:17 -08:00
Pavel Krymets 20f7d3be9d
Prevent SiteExtension OOB build from including root Directory.props/targets (#4064) 2018-11-16 09:06:48 -08:00
ASP.NET CI e550cb59b3 Updating submodule(s)
HttpAbstractions => 49d785c934
Localization => b8747c8b6b
Mvc => 7c68233125
Security => 7e14b052ea
Templating => 0af2acd6ff

[auto-updated: submodules]
2018-11-16 09:10:27 +00: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