Brandon Minnick - async/await best practices

  Рет қаралды 40,025

dotnet

dotnet

Күн бұрын

Пікірлер: 19
@phizc
@phizc 3 жыл бұрын
Another gotcha: Task.WhenAll or Task.WhenAny on the UI context, or other context with limited active "users". If you're not using Task.Run or ConfigureAwait(false) on the tasks, you'll get a deadlock because the thread is "busy" with Task.WhenAll/WhenAny *and* trying to complete the tasks at the same time.
@bbry323
@bbry323 4 жыл бұрын
really cool talk guys! I love the back and forth discussion model of the talk, feels real and lets me think. More conversations like this that cover consumable bites & insight from professionals.
@JH-qe3fu
@JH-qe3fu 5 жыл бұрын
I just needed the last slide to understand it all. Thanks!
@avesturaprivate
@avesturaprivate 5 жыл бұрын
Thank you, Rich and Brandon, for this 👍
@cliffshivkar9948
@cliffshivkar9948 3 жыл бұрын
Nicely Done guys! Keep up the Good Work.
@serhiidiedov2599
@serhiidiedov2599 3 жыл бұрын
Brandon is a great guy!
@ShadKhan
@ShadKhan 4 жыл бұрын
Are all these best practices also applicable to .NET Core which does not have synchronization context?
@codeblooded
@codeblooded 5 жыл бұрын
I think @23:33 inside catch block it returns null. That will lead to null pointer exception in non-async based task function.
@freddymesapena
@freddymesapena 6 жыл бұрын
Excelente conversación para tomar en cuenta
@grampygamer8584
@grampygamer8584 5 жыл бұрын
I hate these kind of duo formats, they get to involved in trying to out whit each other. So, you kind of loose track of what trying to be taught MVA is exactly the same.
@atelic7978
@atelic7978 4 жыл бұрын
I agree, this feels like an interview!!
@Neme112
@Neme112 6 жыл бұрын
11:24 but does it still ignore all exceptions? how to avoid that?
@mdharvey1985
@mdharvey1985 6 жыл бұрын
The exception handling would happen inside the method being called by the command. So, in this case the when the constructor calls the RefreshCommand, the RefreshCommand calls the ExecuteRefreshCommand. All the exception handling would be done in the ExecuteRefreshCommand.
@gamehubby
@gamehubby 6 жыл бұрын
I hope visual studio for Windows will get this kind of UI. It just so clean and simple!!
@Nawamumbwe
@Nawamumbwe 3 жыл бұрын
He sounds like Casey Miller from South Park
@jaydee8553
@jaydee8553 4 жыл бұрын
I think you should have a surface not an apple.
@emmanuelasare5658
@emmanuelasare5658 4 жыл бұрын
its a great way to advertise xamarin for other os platforms
@programmadore9588
@programmadore9588 3 жыл бұрын
blablabla
Back to Basics: Efficient Async and Await - Filip Ekberg - NDC Oslo 2023
1:01:25
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 21 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 2,1 МЛН
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,9 МЛН
Understanding how to use Task and ValueTask
26:59
Microsoft Developer
Рет қаралды 28 М.
The Async Await Episode I Promised
12:04
Fireship
Рет қаралды 1,1 МЛН
What are ASYNC and AWAIT in C#? Asynchronous Programming Tutorial
18:34
"Stop Using Async Await in .NET to Save Threads" | Code Cop #018
14:05
That's NOT How Async And Await Works in .NET!
12:25
Codewrinkles
Рет қаралды 25 М.
8 await async mistakes that you SHOULD avoid in .NET
21:13
Nick Chapsas
Рет қаралды 314 М.
Settling the Biggest Await Async Debate in .NET
14:47
Nick Chapsas
Рет қаралды 146 М.
Writing Allocation Free Code in C# - Matt Ellis
1:00:15
NDC Conferences
Рет қаралды 70 М.
Clean Code with Entity Framework Core | Brendan Richards
1:55:32
SSW TV | Videos for developers, by developers
Рет қаралды 119 М.
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 21 МЛН