Commit Graph

37080 Commits

Author SHA1 Message Date
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
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
Doug Bunting a8d4da9f17 Add a couple of missing `global::` prefixes
- was missing when writing out full name of an `enum` value
- was missing in one case when writing out `TagHelperAttribute` type name

nit: updated `CSharpTagHelperFieldDeclarationVisitor.WritePrivateField()` to always include the prefix
- no change in generated code but centralizes the prefix addition and reduces intermediate `string`s
2016-03-26 19:12:36 -07:00
Doug Bunting 749a51e9ae Quick fix: Another typo in the same resource name 2016-03-26 17:36:38 -07:00
Doug Bunting ea9acda0b8 Quick fix: Correct typo in resource name 2016-03-26 17:01:19 -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
ryanbrandenburg 5fe284a486 SetContent->SetHtmlContent 2016-03-25 16:48:06 -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
= d42eb56fee Fix content root for non-windows xunit tests with no app domains 2016-03-25 12:39:15 -07:00
David Fowler 5ddb17d2fe Fixed packages 2016-03-25 12:27:49 -07:00
ryanbrandenburg e8d0cc1668 SetContent->SetHtmlContent 2016-03-25 12:09:07 -07:00
ryanbrandenburg 21be7973ea SetContent to SetHtmlContent 2016-03-25 12:05:43 -07:00