Skip to content

Conversation

cartermp
Copy link
Contributor

@cartermp cartermp commented Dec 9, 2015

This addresses #176 and #69.

The previous set of async articles had a focus which no longer works with the current TOC and overall set of principles. I've augmented the async file under the C# tutorials to now have a focus on how to write async code in C# (both I/O and CPU-bound code). There are some links to a more in-depth article which contains deeper dives into the Task and Task<T> types, explains how they're relevant for client/server scenarios, and some more potential deeper information.

Current issues to be addressed:

  • Diagrams for in-depth article
  • Write the full buildable samples to be embedded
  • Replace existing sample code with embedded samples

/cc @richlander @BethMassi @blackdwarf @mairaw @stevehoag @matthewreily

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion:

Writing I/O-Bound or CPU-Bound asynchronous code is simple using the async and await keywords. The two key types involved are Task and Task<T>. This document explains the fairly complex machinery that is used under the covers to provide that great experience.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not too sure how I feel about the very end, selling the great experience. At the point where people read this document, I think they're already pretty much sold on the idea of using async/await.

Otherwise, I like the change.

@richlander
Copy link
Member

Left a bunch of comments on the first doc. I figure we'll get that one fully sorted out before spending time on the C# one.

@richlander richlander mentioned this pull request Jan 28, 2016
@cartermp
Copy link
Contributor Author

Closing as the PR for this is now #214

@cartermp cartermp closed this Feb 12, 2016
@cartermp cartermp deleted the async-refactor branch August 19, 2016 19:33
gewarren referenced this pull request in gewarren/docs Jul 14, 2020
Merge public live into private master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants