.NET 006: Async and C# 8 with Filip Ekberg
Adventures in .NET17 Syys 2019

.NET 006: Async and C# 8 with Filip Ekberg

Episode Summary In this week’s episode of Adventures in .NET the panel interviews Filip Ekberg, Microsoft MVP, about using async, await, and the new features in C# 8. They begin by discussing the evolution of running tasks and multithreading in async. Filip describes the evolution beginning with background workers, through task parallel libraries finally to async and await. The panel considers how managing tasks has been made almost too easy. Filip explains that there has been a drive to make everything asynchronous but explains that this approach doesn’t always make sense. The panel asks Filip when a developer should use async and await. If an application has a UI, Filip encourages the use of async and await and he outlines the benefits. He also explains that if someone wants to be a full-stack developer they need to understand async and await on both the serverside and clientside. The panel wonders what the most common async and await mistakes are in .NET. Filip shares a couple of the most common mistakes he sees. The first is deadlocking an application because of the inappropriate methods such as .result and .wait on tasks. The second is marking methods as async without running the await keyword. He explains what these mistakes do to your application and gives advice on avoiding these mistakes. The panel expresses past frustrations in making all methods especially tops methods when in ASP.NET. Filip gives the panel advice on making it asynchronous top to bottom and ways to handle those aggravating top methods. He also explains how to use the await keyword and state machines effectively. Debugging in async is the next topic the panel considers. Filip explains why debugging is so tricky in asynchronous applications. He gives a few tips, his biggest piece of advice is to update Visual Studio and you should get more help in debugging than from older versions. The panel moves on to discuss C# 8. Filip explains that C# is his language, he loves it! He shares three new changes to the language features in C# 8. They made changes to how tuples work, pattern matching and null reference types. Tuples are the first change the panel considers. Filip explains what tuples are and what they do. Tuples allow you to represent a type without actually using that type. The panel considers how tuples have changed in C# 8, they are still position based but are more flexible in calling them. Next, the panel discusses null reference types. The control null reference types allow over nulls is considered. Filip shares some recommendations for using null reference types. The panel considers what might happen if someone were to use null reference types in an existing application. The wonder if it would have any benefit or if it would break the whole application. The final feature they discuss is pattern matching. Filip explains the benefit of using the new pattern matching with the new tuples feature in C# 8. The new pattern matching can be used to find tupple patterns, position patterns, and property patterns.
Panelists
  • Shawn Clabough
  • Charles Max Wood
  • Caleb Wells
Guest
  • Filip Ekberg
Sponsors Links Picks Charles Max Wood: Caleb Wells: Filip Ekberg: Shawn Clabough: Special Guest: Filip Ekberg.

Support this podcast at — https://redcircle.com/adventures-in-net/donations

Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Become a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-net--6102015/support.

Jaksot(236)

.NET 019: The History of .NET with Richard Campbell

.NET 019: The History of .NET with Richard Campbell

In this episode of Adventures in .NET, Richard Campbell, podcast manager, conference creator and author, joins the panel to share the history of .NET. He starts by explaining his background, his fathe...

4 Helmi 20201h 7min

.NET 018:  Fun and Development with Unit Testing, GraphQL and Firebase Auth

.NET 018: Fun and Development with Unit Testing, GraphQL and Firebase Auth

In this episode of Adventures in .NET the panel shares some of the things they have been doing in their work. Caleb Wells starts by talking about unit testing. His team at work started implementing un...

21 Tammi 202055min

.NET 017: Finding Your Focus

.NET 017: Finding Your Focus

In this episode of Adventures in .NET the panel discusses the tools and techniques they use to find their focus while developing. They begin by discussing their personal obstacles when trying to focus...

7 Tammi 202042min

.NET 016: Adventures in .NET Goes to Microsoft Ignite

.NET 016: Adventures in .NET Goes to Microsoft Ignite

In this episode of Adventures in .NET the panel discusses Shawn Clabough’s experience at Microsoft Ignite. The conference was held in Orlando, Florida and was huge. Shares what he learned at the confe...

17 Joulu 201937min

.NET 015:  Live Share and VS Online with Jonathan Carter at MS Ignite

.NET 015: Live Share and VS Online with Jonathan Carter at MS Ignite

In this episode of Adventures in .NET the panel records live at Microsoft Ignite and are joined by Jonathan Carter from Microsoft. Jonathan and the panel talk all about Live View and Visual Studio Onl...

3 Joulu 201957min

The MaxCoders Guide To Finding Your Dream Developer Job

The MaxCoders Guide To Finding Your Dream Developer Job

"The MaxCoders Guide to Finding Your Dream Developer Job" by Charles Max Wood is available on Amazon. Get your copy here today only for $2.99! Support this podcast at — https://redcircle.com/adventu...

20 Marras 201914min

.NET 014: At MS Ignite with Scott Hunter

.NET 014: At MS Ignite with Scott Hunter

In this episode of Adventures in .NET Shawn Clabough joins Scott Hunter at MS Ignite to talk about .NET Core 3.0 and C#8. Scott starts by explaining what the changes in C# 8.0 means to .NET. They disc...

19 Marras 201958min

.NET 013: Simmy and Chaos Engineering Geovanny Alzate Sandoval

.NET 013: Simmy and Chaos Engineering Geovanny Alzate Sandoval

In this episode of Adventures in .NET the panel interviews Geovanny Alzate Sandoval, the creator of Simmy. Geovanny tells the panel all about Simmy, Poly, and chaos engineering. After defining each of...

12 Marras 201938min

Suosittua kategoriassa Liike-elämä ja talous

sijotuskasti
mimmit-sijoittaa
rss-rahapodi
psykopodiaa-podcast
herrasmieshakkerit
ostan-asuntoja-podcast
rahapuhetta
rss-rahamania
rss-lahtijat
rss-seuraava-potilas
leadcast
rss-merja-mahkan-rahat
rss-40-ajatusta-aanesta
rss-porssipuhetta
rss-levosta-kasin-yrittajyys
rss-sisalto-kuntoon
rss-vaikuttavan-opettajan-vierella
rss-ma
rss-bisneksen-pehmea-puoli
rss-draivi