Commit Graph

16238 Commits

Author SHA1 Message Date
Doug Bunting 6e87b51638 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:02:42 -07:00
Doug Bunting 6725d68559 Move some implementations (all feature implementations) out of `.Internal` namespaces
- #549, #592
- move feature implementations to `Microsoft.AspNetCore.Http.Features` and `...Authentication.Features`
- move `DefaultHttpContext`, `HttpContextAccessor`, `HttpContextFactory`, `FormCollection` and
  `HeaderDictionary` to `Microsoft.AspNetCore.Http`
- move `FormFile` to `Microsoft.AspNetCore.Http.Internal`
 - that and `Microsoft.AspNetCore.Http.Authentication.Internal` are the remaining `.Internal` namespaces

nits:
- remove a couple of parameterless constructors
- add / fill subfolders to align with new namespaces
- remove all use of (unnecessary) "T:..." `<see cref=""/>` values
2016-03-30 16:01:37 -07:00
John Luo 9584f42f35 Update samples 2016-03-30 15:49:13 -07:00
John Luo 7a3da26d87 React to Kestrel extensions 2016-03-30 15:45:27 -07:00
Victor Hurdugaci ff0a37c5f5 Webhooks notification 2016-03-30 15:41:33 -07:00
Victor Hurdugaci 5e2ef60519 Webhooks notification 2016-03-30 15:40:25 -07:00
Victor Hurdugaci 9ee7b408e6 Webhooks notification 2016-03-30 15:38:43 -07:00
Victor Hurdugaci 182cbc276c Webhooks notification 2016-03-30 15:06:20 -07:00
John Luo 294fdbf719 Update sample TFM 2016-03-30 15:04:01 -07:00
Victor Hurdugaci f540174114 Webhook notifications 2016-03-30 15:01:44 -07:00
John Luo 4b6a38350e Updating samples 2016-03-30 15:01:39 -07:00
BrennanConroy 9b29eb19ae Enable OpenId Tests 2016-03-30 14:04:13 -07:00
David Fowler 1182a5a9ca Remove IServerLoader and add the IServerFactory to the DI container
- This change removes the indirection and between the IServerLoader and
the IServerFactory. We now add the IServerFactory directly to the DI
container and resolve it from there.
- Moved logic that resolves IServerFactory from an assembly to a static
helper
2016-03-30 13:39:27 -07:00
Mike Harder 088b7e5779 Add UseKestrel() extension method to IWebHostBuilder (#713) 2016-03-30 12:08:32 -07:00
Stephen Halter aa17125f9e Fix spelling of "timeout" in kestrel.shutdownTimeout 2016-03-30 11:14:35 -07:00
Stephen Halter f0e438f65f Remove IKestrelTrace.ApplicationError overload without connection id
Add test verifying that exceptions thrown from application tcs continuations
run by the LoggingThreadPool don't get logged as general exceptions.
2016-03-30 11:13:13 -07:00
BrennanConroy 8451d1afcb Fix rare deadlock in TestHost 2016-03-30 10:24:50 -07:00
Stephen Halter a8e5c0ce30 Log connection id in KestrelTrace.ApplicationError 2016-03-30 10:16:01 -07:00
Pranav K f1f185fd21 Using NetStandard.Library 1.5.0 2016-03-30 00:38:02 -07:00
Stephen Halter 084bd6af36 Fix sample apps
Fixes #714
2016-03-29 12:45:23 -07:00
Pavel Krymets a8516ec538 Add variable to control parallel compilation 2016-03-29 11:48:29 -07:00
David Fowler a0de7564e2 Small tweaks to hosting
- Added some framework assemblies to stop VS from complaining
- Call AddSingleton instead of TryAddSigleton since we're always first.
- Remove the null check since these abstractions are never null now.
- Moved comments
2016-03-29 03:03:40 -07:00
jacalvar 794d0892ae Return IServiceCollection from AddWebEncoders extension methods 2016-03-28 15:27:31 -07:00
Chris R bd60507dcd #553 Use System.Buffers for temporary arrays 2016-03-28 13:57:08 -07:00
Pranav K fad42eacea Cleaning up makefile.shade 2016-03-28 11:58:45 -07:00
Eilon Lipton 1b71748150 More package metadata fixes 2016-03-28 10:26:49 -07:00
Pranav K 7f4a772859 Updating to NETStandard.Library 1.5.0 2016-03-28 06:32:52 -07:00
Doug Bunting b83e142bfe Fix build break: Add `ObjectPoolProvider` to DI in integration tests 2016-03-27 13:04:17 -07:00
Eilon Lipton 78a3fc91d3 Fix package metadata 2016-03-26 22:42:17 -07:00
Eilon Lipton c5d5ef6788 Fix package metadata 2016-03-26 15:00:56 -07:00
John Luo fb036a4e3a Update samples TFM 2016-03-25 17:30:52 -07:00
John Luo a406bfd86f Add addtional test and some comments 2016-03-25 17:11:21 -07:00
Chris R 00f660b50d React to OpenIdConnect event changes. 2016-03-25 16:11:20 -07:00
Christian Weiss 4b16e83a1f Pass existing LoggerFactory into WebHostBuilder 2016-03-25 15:34:30 -07:00
BrennanConroy 3edb06d983 React to Deployer changes 2016-03-25 15:00:36 -07:00
BrennanConroy cad873d949 React to Deployer changes 2016-03-25 14:59:49 -07:00
BrennanConroy 22eab75005 Add Nginx Deployer 2016-03-25 14:52:10 -07:00
ryanbrandenburg fd10621c1a SetContent->SetHtmlContent 2016-03-25 12:01:59 -07:00
Cesar Blum Silveira 300078b448 Temporary: Don't expand packages when caching Coherence on non-Windows. 2016-03-25 11:12:39 -07:00
Doug Bunting b06a84457d Ensure an `ObjectPoolProvider` is registered
- e.g. take advantage of aspnet/HttpAbstractions#561 fix wherever cookies are used
2016-03-25 09:58:05 -07:00
Doug Bunting 80813f7c1e Use pooled `StringBuilder` to reduce allocations when adding response cookies
- #561
- new `SetCookieHeaderValue.AppendToStringBuilder()` method; avoids per-call `StringBuilder` allocation
- `ResponseCookies` uses `ObjectPool<StringBuilder>` that `ResponseCookiesFeature` provides
 - `ResponseCookies` works fine if no `ObjectPoolProvider` is available
- `IHttpContextFactory` instance is a singleton instantiated from CI
 - make `HttpContextFactory` `ObjectPoolProvider` and `ResponseCookiesFeature`-aware
 - apply same pattern to sample `PooledHttpContextFactory`
- pool is not currently configurable; defaults are fine for response cookies
 - if we need (policy) configuration, would add an `IOptions<HttpContextFactorySettings>`

nit: Add some doc comments
2016-03-25 09:38:52 -07:00
David Fowler 4e78a2d02e Fixed build 2016-03-25 09:28:20 -07:00
Pranav K 98e2d5d4c7 Fix dotnet restore warning 2016-03-25 08:15:10 -07:00
David Fowler 8965b63ec1 Fixed build 2016-03-25 02:02:41 -07:00
David Fowler cf9509baca Fixed the build 2016-03-25 01:56:45 -07:00
David Fowler 8efc650e74 Fixed build 2016-03-25 01:54:05 -07:00
David Fowler 70c0254dc2 Fixed build 2016-03-25 01:48:01 -07:00
David Fowler 6c1247b30c Fix build
- Hoist packages using netstandard.library
- Upgrade process since it's not in the standard library
2016-03-25 00:46:39 -07:00
Eilon Lipton 7cace9a7fe Fix package metadata 2016-03-24 23:50:57 -07:00
John Luo 514d752959 Enable IISExpress tests 2016-03-24 18:10:25 -07:00