Skip to content

Instantly share code, notes, and snippets.

View jaytranuts247's full-sized avatar
🏠
Working from home

Jay Tran jaytranuts247

🏠
Working from home
View GitHub Profile
@jaytranuts247
jaytranuts247 / async_await_best_practices_cheatsheet.md
Created February 21, 2022 04:11 — forked from jonlabelle/async_await_best_practices_cheatsheet.md
C# Asynchronous Programming Guideline Cheat Sheet

Async Await Best Practices Cheat Sheet

Summary of Asynchronous Programming Guidelines

Name Description Exceptions
Avoid async void Prefer async Task methods over async void methods Event handlers
Async all the way Don't mix blocking and async code Console main method
Configure context Use ConfigureAwait(false) when you can Methods that require con­text
@jaytranuts247
jaytranuts247 / dotnetcheatsheet.md
Created January 17, 2022 02:41 — forked from nth-block/dotnetcheatsheet.md
Dotnet core Cheat Sheet

Dotnet Core Cheat Sheet

This cheat sheet is courtesy Ben Day and is available here. This Markdown file is just for easy reference for programmers.

What follows are the excerpts from Ben's blog.

The nice thing about the items on this ‘cheat sheet’ is that they work on Windows, Mac, and Linux. [Note 2/13/2017: Want an example script? Check this out.

Create a new Solution (*.sln)