Commit Graph

43822 Commits

Author SHA1 Message Date
Ryan Nowak 96e5c7b22e Always clear buffers returned to the memory pool
Just a safety measure in case anything evades our 'flattening'. I don't
have any evidence that we're failing to clear something, but we want this
here as a safeguard.
2016-03-30 16:12:30 -07:00
Doug Bunting 74d2c13933 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:11:52 -07:00
Doug Bunting 67f424360c React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:10:41 -07:00
Doug Bunting 52e5ccdac7 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:07:22 -07:00
Doug Bunting c828fafe1b React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:04:43 -07:00
Chris R bdcdf29ade #182 Revert workaround for HttpResponseMessage.ReasonPhrase. 2016-03-30 16:03:47 -07:00
John Luo a51ba19b16 Update samples 2016-03-30 16:02:47 -07:00
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
jacalvar b04bb124b0 [Fixes #4317] UrlResolutionTagHelper doesn't work with TagHelpers that run before and supress output 2016-03-30 15:55:11 -07:00
John Luo d0ed4f8688 Reacting to Kestrel extensions 2016-03-30 15:54:02 -07:00
John Luo 8e92dd634e React to Kestrel extensions 2016-03-30 15:53:12 -07:00
John Luo babd83cf28 Reacting to Kestrel extensions 2016-03-30 15:51:02 -07:00
John Luo 9584f42f35 Update samples 2016-03-30 15:49:13 -07:00
John Luo 6950d441d1 React to Kestrel extensions 2016-03-30 15:46:08 -07:00
John Luo 7a3da26d87 React to Kestrel extensions 2016-03-30 15:45:27 -07:00
Victor Hurdugaci f804c11424 Webhooks notification 2016-03-30 15:42:38 -07:00
Victor Hurdugaci ff0a37c5f5 Webhooks notification 2016-03-30 15:41:33 -07:00
John Luo faeedf1c42 Update samples 2016-03-30 15:40:45 -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
Kiran Challa e0212752e5 Removing AuthorizationFilterAttribute as we do not want users to easily create their own authorization implementation. They should instead
use authorization policies and requirements(IAuthorizationRequirement) to enforce authorization.
[Fixes #4233] AuthorizationFilterAttribute returns UnauthorizedResult rather than ChallengeResult
2016-03-30 15:34:41 -07:00
Victor Hurdugaci 182cbc276c Webhooks notification 2016-03-30 15:06:20 -07:00
Victor Hurdugaci 9e08aec0b1 Webhooks notification 2016-03-30 15:04: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
Ryan Nowak e1abb47b98 Fix #4238 IFormFile model binder suppresses validation
This change no longer suppresses validation for IFormFile and
IFormFileCollection model values. This will allow the use of [Required] on an
IFormFile model, or a custom attribute for validating IFormFileCollection.

These types already have ValidateChildren = false, so we don't recurse
into them.
2016-03-30 14:09:28 -07:00
BrennanConroy 9b29eb19ae Enable OpenId Tests 2016-03-30 14:04:13 -07:00
Victor Hurdugaci bc84437881 Webhook notifications 2016-03-30 14:00:57 -07:00
Victor Hurdugaci c2534339f2 Webhook notifications 2016-03-30 13:57:02 -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
Cesar Blum Silveira 0acd0bb629 Remove makefile. 2016-03-30 13:29:43 -07:00
Mike Harder 088b7e5779 Add UseKestrel() extension method to IWebHostBuilder (#713) 2016-03-30 12:08:32 -07:00
Kiran Challa 6e9a6a2db1 Added new attribute ProducesResponseTypeAttribute to enable ApiExplorer to expose response type and StatusCode.
[Fixes #4101] StatusCode Metadata
2016-03-30 11:51:58 -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
Victor Hurdugaci ea4b94a757 Add webhook notification 2016-03-30 10:27:16 -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
N. Taylor Mullen 714dd5fa9e Update test files to react to new `TagHelperScopeManager` contract.
#720
2016-03-29 22:05:37 -07:00
Ryan Nowak fb81a5e11e Introducing ModelBinderFactory
This change separates model binding into IModelBinderProvider (decides
which binder to use) and IModelBinder (does binding). The
IModelBinderFactory is a new services with coordinates the creation of
model binders.
2016-03-29 15:45:14 -07:00
N. Taylor Mullen 7d43851952 React to aspnet/Razor#720. 2016-03-29 15:30:49 -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
Sebastien Ros 3924557b87 Fixing race condition in cache helpers unit tests 2016-03-29 10:59:26 -07:00
BrennanConroy 62a22caa00 Fixing sample for tests 2016-03-29 10:45:41 -07:00
N. Taylor Mullen f5c79b62de Prevent method => delegate conversion happening multiple times.
- The conversion now only occurs on the construction of the `TagHelperScopeManager` which only occurs once.
- Updated tests.

#720
2016-03-29 10:18:10 -07:00
Pranav K 12d7093278 Revert "Remove DependencyModel dependency"
This reverts commit 4299a4d50b.
2016-03-29 07:29:43 -07:00