Commit Graph

3601 Commits

Author SHA1 Message Date
Mike Harder f94605df47 Update FSharp.Core and FSharp.NET.Sdk to latest (#6538) 2017-07-12 18:07:01 -07:00
Mike Harder 693d116481 Enable AppVeyor for release branches (#6539) 2017-07-12 17:26:13 -07:00
Pranav K 308d64277e Update to Roslyn 2.3.0 2017-07-12 07:58:46 -07:00
Javier Calvarro Nelson c43da19ff1 Do not add the configuration for CacheTagHelperOptions to the container multiple times 2017-07-10 19:10:04 -07:00
Javier Calvarro Nelson 0c07e1e725 [Fixes #6522] Commit cache entries only when the content gets successfully generated 2017-07-10 18:18:32 -07:00
Mike Harder 5fe09f9df4 Upgrade Roslyn to 2.3.0-beta4-* (#6523) 2017-07-10 17:28:40 -07:00
Javier Calvarro Nelson ca08b0e06b Add breakingchanges.json for tag helpers 2017-07-10 15:52:33 -07:00
Javier Calvarro Nelson 3d76fdf086 Private cache for cache tag helper and distributed cache tag helper 2017-07-10 15:00:19 -07:00
Pranav K 65fce8dd65 Updating KoreBuild branch 2017-07-10 11:57:59 -07:00
Pranav K 03c32b79b3 Branching for 2.0.0 rtm 2017-07-10 11:44:51 -07:00
Javier Calvarro Nelson 9f60b42476 Change version suffix for Testing package 2017-07-10 10:24:07 -07:00
John Luo 492f820cf7 Missed caching API updates 2017-07-07 22:06:20 -07:00
John Luo 9ebece44e0 Reacting to caching API updates 2017-07-07 21:22:49 -07:00
Jass Bagga b4fe715c71 Revert breaking change (#6519)
Addresses #6518
2017-07-07 17:09:36 -07:00
Ryan Brandenburg 9e2f8b7cb5 Comment on remaining PackageTargetFallbacks 2017-07-07 15:01:07 -07:00
Javier Calvarro Nelson e1c1682065 Testing infrastructure cleanup 2017-07-07 13:18:42 -07:00
Ryan Nowak f80f7cefa5 Fix #6480
This change logs when we encounter and exception reading temp data from a
cookie and swallows the exception. Additionally, we clear the cookie so
that this won't happen on subsequent requests.

This will handle cases where data protection is misconfigured, or a
request just has general garbage in the cookies.
2017-07-07 13:14:03 -07:00
Hao Kung e09a0f5b7c React to auth default changes 2017-07-07 12:08:11 -07:00
Pranav K f1c4aa14d3 Simplify CacheTagHelper.ProcessAsync (#6506)
* Simplify CacheTagHelper.ProcessAsync

Modify ProcessAsync to cause all tasks to fail when the ongoing GetChildContentAsync call that they're
awaiting on fails.
2017-07-07 11:15:19 -07:00
Ryan Brandenburg fdb6a76a5b Remove NETStandard.Library.NETFramework 2017-07-07 10:27:34 -07:00
Pranav K fc106ab793 Revive call to FormattingUtilities in XmlDataContractSerializerOutputFormatter
Fixes #6235
2017-07-07 10:11:28 -07:00
Ajay Bhargav Baaskaran 05f5d59e44 Fix build break 2017-07-06 19:43:42 -07:00
Ajay Bhargav Baaskaran 8bc4d7bb2d Rect to Razor rename 2017-07-06 18:45:34 -07:00
Pranav K 0c31f51d28 Update version suffix for 2.0.0 RTM release 2017-07-06 15:16:05 -07:00
N. Taylor Mullen 1be796027e React to `ParseOnlyLeadingDirectives` rename.
aspnet/Razor#1510
2017-07-06 14:26:35 -07:00
N. Taylor Mullen d71fb890ee React to `IRazorParserOptionsFeature` rename.
aspnet/Razor#1510
2017-07-06 14:20:56 -07:00
Pranav K 288da1a405 RedirectToPage(page, handler) does not work (#6503)
Fixes #6436
2017-07-06 14:12:57 -07:00
Ryan Brandenburg 8b9b8beb1d Set "TreatWarningsAsErrors" before NuGet restore
* Ensures our build stays clean of NuGet warnings
2017-07-06 13:42:25 -07:00
Hao Kung a15c2afe85 React to auth 2017-07-06 13:42:05 -07:00
Nate McMaster 7eb4a8687e React to aspnet/BuildTools#293
[ci skip]
2017-07-06 10:38:37 -07:00
N. Taylor Mullen 7454c53047 Rely on Razors MalformedDirective identification for @page.
aspnet/Razor#1448
2017-07-05 16:57:57 -07:00
Chris R b9541be20d React to ISession cancellation changes 2017-07-05 14:34:48 -07:00
Pranav K 8963b83dd3 Remove ParseOptions and CompilationOptions from RazorViewEngineOptions (#6487)
* Remove ParseOptions and CompilationOptions from RazorViewEngineOptions

Fixes #6009
2017-07-05 14:18:49 -07:00
Nate McMaster 1eb7f9e032 Add CookieBuilder to CookieTempDataProviderOptions and obsolete duplicate API (#6472) 2017-07-05 10:19:13 -07:00
Javier Calvarro Nelson ef43b100a6 Fix a null reference exception and add some null checks 2017-07-04 14:24:40 -07:00
Ryan Nowak 8d9c16132a Fix #6479 - remove IFileProvider constructor
The RazorProject implementation used by MVC at runtime has a constructor
that takes an IFileProvider (used by tests). This causes ambiguities
when a user registers an IFileProvider in DI.

Cleaning up tests to use a mock instead of the file provider directly
2017-07-04 13:48:56 -07:00
Ryan Nowak a23307e2b1 Check for properties that can't befound
If you give ModelExpressionProvider a lambda with a private property
you'll end up here. This wasn't common before, but it seems like users
are more likely to try it with pages.

Model Metadata and Model Binding don't handle private properties, so
supporting it in Model Expressions seems less than useful.

This isn't a breaking change because this case would have resulted in a
null-ref. Addresses #6400
2017-07-04 13:26:17 -07:00
Doug Bunting c351712419 Add `FloatingPointTypeModelBinderProvider` and related binders
- #5502
- support thousands separators for `decimal`, `double` and `float`
- add tests demonstrating `SimpleTypeModelBinder` does not support thousands separators for numeric types
- add tests demonstrating use of commas (not thousands separators) with `enum` values
2017-07-03 17:55:04 -07:00
Javier Calvarro Nelson c50f55d1de Add a default sliding expiration of 30 seconds on Memory and Distributed Cache Tag Helpers. 2017-07-03 17:06:47 -07:00
Ryan Brandenburg 057a853de7 DiagnosticSource to 4.4.1 2017-07-03 15:03:34 -07:00
Sébastien Ros 13e76c24d3 Dispose CancellationTokenSource created in CacheTagHelper (#6293)
Fixes #5649
2017-07-03 14:59:48 -07:00
Pranav K ca751c5297 Update LICENSE.txt text 2017-07-03 14:07:12 -07:00
Javier Calvarro Nelson 728b96344d [Fixes #6274] Fix and re-enable skiped test 2017-07-03 13:00:38 -07:00
Hao Kung eeee3ef731 Add SignOut overload + Use new auth api (#6476) 2017-07-03 12:32:11 -07:00
Javier Calvarro Nelson d917504c14 [Fixes #6468] Clean up the productionized testing infrastructure 2017-07-03 10:15:06 -07:00
Pranav K 7c5a16c105 Add RemoveType methods of PageConventionCollection 2017-06-30 16:27:51 -07:00
Pranav K bc4328de16 Add entry to breakingchanges.json 2017-06-30 15:44:21 -07:00
Henk Mollema 948982ebff Create custom collection for model binder providers
Fixes #6161
2017-06-30 15:44:07 -07:00
Nate McMaster 873a2fe17f React to changes in Antiforgery API 2017-06-30 15:20:44 -07:00
Pranav K bc86ea4e47 Move convention extensions from RazorPagesOptions to PageConventionCollectionsExtensions
Fixes #6462
2017-06-30 14:25:10 -07:00