Commit Graph

40898 Commits

Author SHA1 Message Date
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
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
Pranav K 9010dd4284 Reacting to Mvc changes 2016-03-28 17:48:17 -07:00
N. Taylor Mullen b7c90c4a67 React to aspnet/Razor#719. 2016-03-28 17:05:14 -07:00
jacalvar 272343c3ad Return IServiceCollection from AddDirectoryBrowser extension methods 2016-03-28 15:48:39 -07:00
jacalvar 14473b5458 Return IServiceCollection from AddSession extension methods 2016-03-28 15:46:42 -07:00
jacalvar 4086d70628 Add comments to AddAuthentication extension methods 2016-03-28 15:44:15 -07:00
jacalvar 5bcea61743 Return IServiceCollection from AddRouting extension methods 2016-03-28 15:40:58 -07:00
jacalvar 794d0892ae Return IServiceCollection from AddWebEncoders extension methods 2016-03-28 15:27:31 -07:00
jacalvar d51851f342 Return IServiceCollection from service collection extension methods 2016-03-28 15:13:56 -07:00
jacalvar e68df4611e Return IServiceCollection from AddCors extension methods 2016-03-28 15:09:29 -07:00
jacalvar 0bc42a9b21 Return IServiceCollection from AddAntiforgery extension methods 2016-03-28 14:59:24 -07:00
Pranav K 529fa67c2b Adding tests for PrefixContainer
Fixes #4045
2016-03-28 14:31:17 -07:00
Chris R bd60507dcd #553 Use System.Buffers for temporary arrays 2016-03-28 13:57:08 -07:00
Kévin Chalet f9d24a8521 Introduce SignInResult/SignOutResult and ControllerBase.SignIn/SignOut 2016-03-28 12:45:42 -07:00
Pranav K fad42eacea Cleaning up makefile.shade 2016-03-28 11:58:45 -07:00
N. Taylor Mullen 3c73ae9cfe Change `TagHelperOutput` and `TagHelperContext` lifetimes.
- `TagHelperOutput` and `TagHelperContext` lifetimes now mach `TagHelperExecutionContext`s. This means once a set of `TagHelper`s have run on a tag the `TagHelperOutput`/`TagHelperContext` will be re-used.
- Added tests to validate the various `Reset`/`Reinitialize` methods behaved correctly.
- Updated codegen to no longer set `TagHelperExecutionContext.Output`.

#719
2016-03-28 11:54:48 -07:00
N. Taylor Mullen d62343ade5 Temporarily skipped CSS required attribute selector test on mono.
- Will re-enable once https://bugzilla.xamarin.com/show_bug.cgi?id=39951 is fixed.
2016-03-28 10:43:23 -07:00
Sebastien Ros 49e0a958c5 Fixing race in unit test 2016-03-28 10:30:16 -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
Eilon Lipton f4b2548565 Update project.json 2016-03-27 23:00:19 -07:00
Eilon Lipton ebd6ed7d94 Update project.json 2016-03-27 22:31:19 -07:00
Eilon Lipton 5ba0c4a0f7 Fix package metadata 2016-03-27 15:35:54 -07:00
Eilon Lipton 32b2f1b528 Fix package metadata 2016-03-27 14:18:33 -07:00