Commit Graph

36726 Commits

Author SHA1 Message Date
David Fowler a11c68ae35
Remove all extensibility from the DefaultHttpContext (#6504)
- Seal all of the classes
- Remove virtual methods
- Delete pooled HttpContext code
- Removed obsolete AuthenticationManager
2019-01-09 11:37:06 -08:00
Ryan Nowak 74f1ccad0d Temporarily disable E2E component tests
These are causing hangs and timeouts on macOS
2019-01-08 21:47:24 -08:00
Justin Kotalik 5541a7a026
Implement PipeBody Features and add to HttpContext (#6394) 2019-01-08 21:31:50 -08:00
Kahbazi e899823775 Add event name in Antiforgery (#6468) 2019-01-09 17:27:47 +13:00
Kahbazi 3c9cb4f3b5 Add event name in Middlewares (#6467) 2019-01-09 17:26:58 +13:00
David Fowler 688ad19170
Reuse HttpContext object per HTTP/1 connection and HTTP/2 stream (#6424)
- Today in Kestrel, we reuse the IFeatureCollection per connection and per Http2Stream. This PR aims to take advantage of that same technique and affinitize the HttpContext and friends so that they are only allocated per connection.
- ReusableHttpContext and friends mimic the functionality of DefaultHttpContext but is sealed and has no overridable methods.
- Introduce IHttpContextContainer which allows servers to cache the HttpContext and friends across requests.
2019-01-08 16:54:46 -08:00
Luke Latham b4c9ca12b4 Spelling typo in ANCM event log message (#6495) 2019-01-08 16:33:32 -08:00
James Newton-King dd39bd289a
Add event name in static files (#6456) 2019-01-09 13:19:25 +13:00
Kahbazi e106a8af08 Add log event name for CookiePolicy (#6454) 2019-01-09 12:10:20 +13:00
James Newton-King aadbed62de
Add event name in routing (#6455) 2019-01-09 12:01:14 +13:00
Bart Wolff 6a98c68628 Code cleanup response caching middleware (#6124)
* minor code cleanups

* comment public interface

* simplified some things using language features
2019-01-08 14:49:38 -08:00
Ryan Nowak 5a75084826 Update SDK and remove workaround 2019-01-08 13:20:16 -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
Pavel Krymets 3b1a89c1fc
Use TargetPath for signing files (#6485) 2019-01-08 10:08:09 -08:00
Steve Sanderson 326e329018
Run components E2E tests in CI (#5158)
* Auto-install local copy of selenium-standalone on build

* Automatically start/stop selenium-standalone when running E2E tests

* Update after rebase

* Exclude node_modules from E2ETests project

* Avoid deadlocks

* Include E2E tests when running all tests in src/Components

* Be more forgiving about waiting for selenium-server to be ready

* Update usage of shared source file
2019-01-08 16:07:07 +00:00
Pavel Krymets c60d1e1a14
Handle EOF HResult from async callback (#6453) 2019-01-07 15:04:28 -08:00
Pavel Krymets 412bd4935e
Assign FilesToSign in a target (#6459) 2019-01-07 14:57:35 -08:00
Nate McMaster 9a7d2477a6
Remove Cli.FunctionalTests (#6298)
This test code belongs in dotnet/core-sdk because it depended on having a new build of the CLI and ASP.NET Core
2019-01-07 14:31:39 -08:00
Kahbazi f2e6e6ff33 Add log event name for security projects (#6420) 2019-01-08 09:11:09 +13:00
Pavel Krymets 11b531c189
Only sign DynamicLibrary cpp projects (#6450) 2019-01-07 12:04:33 -08:00
Pavel Krymets 6699fd056e
Add FilesToSign to all .cpp projects (#6443) 2019-01-07 10:05:12 -08:00
Luke Latham 75cea9a04c Add migrations to DP EntityFrameworkCoreSample (#6038)
Per discussion: https://github.com/aspnet/Docs/issues/9864
2019-01-07 08:50:35 -08:00
Nate McMaster dc206b747e
Ensure shared framework metadata files are generated on build (#6407) 2019-01-07 07:38:24 -08:00
Steve Sanderson 7cd7820274 Remove blazor template content projects from .sln. Can still run directly from commandline. 2019-01-07 10:17:41 +00:00
Martin Costello ca7c48c520 Fix ArgumentException from duplicate key (#6416) 2019-01-07 13:42:36 +13:00
James Newton-King 489735d390
Use test timeout logic from Microsoft.AspNetCore.Testing (#6433) 2019-01-07 13:39:59 +13:00
Nate McMaster edfb2ab8ab
Merge branch 'release/2.2' 2019-01-05 00:34:13 -08:00
Hao Kung 9e0c93b64b Update UserManager docs for spelling/clarity (#5952)
Port of https://github.com/aspnet/Identity/pull/1003
2019-01-04 17:32:26 -08:00
Pavel Krymets 47e8d56853
Use ProjectReference.TargetPath in installers (#6391) 2019-01-04 16:01:49 -08:00
Nate McMaster 0926b93b98
Ensure Identity.Views.{V3, V4}.dll are the AllItemsFullPathWithTargetPath group so they get copied across ProjectReferences 2019-01-04 14:20:13 -08:00
Nate McMaster 9556cc133d
Merge branch 'release/2.1' into release/2.2 2019-01-04 14:17:28 -08:00
Ryan Nowak 9003c3cd75 PR Feedback
From:
2cb3964411..45adea0c6d (diff-9328b73f3a66921c3ef3fa8a4ce90031)
2019-01-04 13:38:32 -08:00
James Newton-King 98cce23c67
Add routing information to DeveloperExceptionPage (#6320) 2019-01-05 09:28:24 +13: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
Pavel Krymets 143a727113
Remove AspNetCoreModule virtual projects (#6317) 2019-01-04 09:40:40 -08:00
David Fowler c61639b4a4
Reduce HTTP/2 allocations (#6119)
- Remove per request allocations on the thread pool by implementing IThreadPoolWorkItem on Http2Stream
- Made generic version of Http2Stream to store the IHttpApplication instead of using a tuple
- Removed passing of IHttpApplication<TContext> everywhere
2019-01-04 08:33:57 -08:00
James Newton-King 51047ef9d6
Update solutions to use correct IIS project location (#6344) 2019-01-04 15:28:59 +13:00
Stephen Halter 6a5c0cf189
Manually time out H2SpecTests (#6366) 2019-01-03 16:31:53 -08:00
Doug Bunting 236ceb73c1 Remove Mvc.NoFun.sln 2019-01-03 16:13:34 -08:00
Justin Kotalik 3c04338891
Move PipeAdapters to System.IO.Pipelines namespace. (#6325) 2019-01-03 15:58:59 -08:00
Ryan Nowak a4381d9a09 Manual update of Razor SDK bits 2019-01-03 15:51:47 -08:00
Chris R 8b2be38b6b Merge branch 'JwtBearerOptionsSummary' 2019-01-03 15:25:22 -08:00
Stephen Halter b1f778bfb8
[Kestrel] Allow HTTP/2 stream drain timeout during trailers (#4070)
- Move all HTTP/2 stream state management into request parsing loop
2019-01-03 15:03:00 -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