New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove uses of TaskCache.CompletedTask #238
Comments
motowilliams
added a commit
to motowilliams/Docs
that referenced
this issue
Sep 19, 2017
Since [TaskCache](dotnet/extensions#238) was removed this updates the samples to use `Task.CompletedTask` instead
This was referenced Sep 19, 2017
Rick-Anderson
added a commit
to dotnet/AspNetCore.Docs
that referenced
this issue
Sep 27, 2017
* Add PO localization doc * More edits * Updates TaskCache to Task Since [TaskCache](dotnet/extensions#238) was removed this updates the samples to use `Task.CompletedTask` instead * More edits * More edits * Change code snippet type from C# to CSHTML * Add missing snippet types * React to feedback * Add support disclaimer * UE pass on Publishing to IIS topic * Drop literal_block comments and fix a few code blocks * Fix demo code for AddAuthentication.AddCookie In .Net Core 2.0 using the code as supplied results in an exception, the fix is to pass the scheme name when calling AddCookie. Fails: services.AddAuthentication("MyCookieAuthenticationScheme") .AddCookie Works: Fix demo code for services.AddAuthentication.AddCookie services.AddAuthentication("MyCookieAuthenticationScheme") .AddCookie("MyCookieAuthenticationScheme", * React to feedback * Fix one * Convert title to sentence case * Add missing param to AddCookie call * React to feedback
Rick-Anderson
added a commit
to dotnet/AspNetCore.Docs
that referenced
this issue
Sep 29, 2017
* Add PO localization doc * More edits * Updates TaskCache to Task Since [TaskCache](dotnet/extensions#238) was removed this updates the samples to use `Task.CompletedTask` instead * More edits * More edits * Change code snippet type from C# to CSHTML * Add missing snippet types * Add Required note to model validation topic Fixes #1928 * MVC views overview update Updates Updates Updates Updates Update * React to feedback * React to feedback * Add support disclaimer * UE pass on Publishing to IIS topic * React to feedback Minor update * Move VS Tools for Docker doc to ASP.NET Core repo * React to feedback * React to feedback * Drop literal_block comments and fix a few code blocks * Fix demo code for AddAuthentication.AddCookie In .Net Core 2.0 using the code as supplied results in an exception, the fix is to pass the scheme name when calling AddCookie. Fails: services.AddAuthentication("MyCookieAuthenticationScheme") .AddCookie Works: Fix demo code for services.AddAuthentication.AddCookie services.AddAuthentication("MyCookieAuthenticationScheme") .AddCookie("MyCookieAuthenticationScheme", * React to feedback * Fix one * React to feedback * Convert title to sentence case * Add missing param to AddCookie call * React to feedback * React to feedback * Add RP tutorial step 'Uploading files' to TOC * fix breadcrumb link to core * Update model-binding.md Fixing type `CancelationToken` -> `CancellationToken` * minor clean up (#4431) * Updates * Fix a link * Explain post delete method Update * Fix inadvertent uid change (typo) * React to feedback * React to feedback * React to feedback * Alter app cookie configuration code samples * Update first-web-api-mac.md (#4441) * Update web-api-vsc.md * Remove dead project file (#4427) * Updates to the intro: layouts, partials, VCs * Update web-publishing-vs.md (#4447) * Update web-publishing-vs.md * Update web-publishing-vs.md * Update identity-enable-qrcodes.md * Update identity-enable-qrcodes.md * Update identity-enable-qrcodes.md * Remove extra space * Minor edits * Add TOC link to snapshot debugging doc * Update index.md (#4443) * Update index.md * Update index.md
natemcmaster
pushed a commit
that referenced
this issue
Nov 5, 2018
natemcmaster
pushed a commit
that referenced
this issue
Nov 6, 2018
ghost
locked as resolved and limited conversation to collaborators
Dec 2, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Now that we target netstandard2.0 / net461 we have access to Task.CompletedTask. Remove uses of TaskCache.CompletedTask.
We may be able to remove references to Microsoft.Extensions.TaskCache.Sources in the process.
The text was updated successfully, but these errors were encountered: