.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)

API Security Risks with OWASP  - .NET 151

API Security Risks with OWASP - .NET 151

Adam and Christian join this week's panelist episode to talk about "Web Security". Christian takes the lead as he explains he gives a brief overview of Web application Security and some ways how to secure your applications. He explains the OWASP Top Ten Web Application Security Risks and talks about each of its categories in detail. SponsorsChuck's Resume TemplateRaygun - Application Monitoring For Web & Mobile AppsBecome a Top 1% Dev with a Top End Devs MembershipLinksOWASP Top TenOWASP Top 10 API Security Risks – 2023Support this podcast at — https://redcircle.com/adventures-in-net/donationsAdvertising Inquiries: https://redcircle.com/brandsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-net--6102015/support.

19 Heinä 202352min

Is Using Async and Await a Good Choice? - .NET 150

Is Using Async and Await a Good Choice? - .NET 150

Adam, Mark, and Shawn this week's panelist episode to talk about "Async Wandering Part 8 — async and await — the biggest C# mistake?". Adam takes the lead as he explains why he thinks "Async" (one of the most popular C# features) has some issues or downsides and how it affects your application. SponsorsChuck's Resume TemplateRaygun - Application Monitoring For Web & Mobile AppsBecome a Top 1% Dev with a Top End Devs MembershipLinksAsync Wandering Part 8 — async and await — the biggest C# mistake?Understanding the Whys, Whats, and Whens of ValueTaskParallel Computing - It's All About the SynchronizationContext.NET Threadpool starvation, and how queuing makes it worseBlogging about MidoriPicksAdam - CentBrowserMark - Photoshop Generative FillShawn - FUBARSupport this podcast at — https://redcircle.com/adventures-in-net/donationsAdvertising Inquiries: https://redcircle.com/brandsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-net--6102015/support.

4 Heinä 20231h 15min

High-Performance C# with Ian Griffiths - .NET 149

High-Performance C# with Ian Griffiths - .NET 149

Ian Griffiths is a Technical Fellow at Endjin and he is also the author of Programming C#. He joins the show to talk about everything that is C#, changes made to C# over the years, interesting & useful features, and many more. He also talks about his library, "Ais.Net" which is used for processing AIS messages. LinksC# 11.0 new features: list pattern matchingAis.NetreaqtorCorvus.JsonSchemaCorvus.NetreactiveBenchmarkDotNetZ3.LinqProgramming C# 10SocialsIan GriffithsTwitter: @idg10GitHub: idg10LinkedIn: Ian GriffithsSupport this podcast at — https://redcircle.com/adventures-in-net/donationsAdvertising Inquiries: https://redcircle.com/brandsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-net--6102015/support.

20 Kesä 202357min

Working with Minimal APIs and SignalR - .NET 148

Working with Minimal APIs and SignalR - .NET 148

Fiodar Sazanavets is a Microsoft MVP, Senior Software Engineer, Bestselling Technical Author, and Software Development Mentor. He joins the show to talk about his article, "Using ASP.NET Core 7 Minimal APIs: Request Filters, Parameter Mapping, and More". He begins by talking about his career and book. He explains what minimal APIs are, their advantages, and their purpose. SponsorsChuck's Resume TemplateRaygun - Application Monitoring For Web & Mobile AppsBecome a Top 1% Dev with a Top End Devs MembershipLinksUsing ASP.NET Core 7 Minimal APIs: Request Filters, Parameter Mapping, and MoreSocialsLinkedIn: Fiodar SazanavetsFiodar SazanavetsTwitter: FSazanavetsPicksFiodar - ML.NETShawn - Bench AppMark - Code RushSupport this podcast at — https://redcircle.com/adventures-in-net/donationsAdvertising Inquiries: https://redcircle.com/brandsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-net--6102015/support.

6 Kesä 202357min

Creating Pdf's in C# with Andrei Schiller-Chan  - .NET 147

Creating Pdf's in C# with Andrei Schiller-Chan - .NET 147

Andrei Schiller-Chan is Software Engineer at Moneybox. He joins the show to discuss his article, "How to Create Pdf’s in C#". He begins by talking about his career and how he got into programming. Moreover, he also dives into another article he wrote, "How to Give Your Voice Depth & Why it Matters". On YouTubeCreating Pdf's in C# with Andrei Schiller-Chan - .NET 147SponsorsChuck's Resume TemplateDeveloper Book ClubBecome a Top 1% Dev with a Top End Devs MembershipLinksHow to Create Pdf’s in C#How to Give Your Voice Depth & Why it Mattersoratorvoice.comQuestPDFSocialsLinkedIn: Andrei Schiller-ChanPicksAdam - CyberlinkAndrei - Turn the Ship Around!Christian - PNPMMark - AndorShawn - CamoSupport this podcast at — https://redcircle.com/adventures-in-net/donationsAdvertising Inquiries: https://redcircle.com/brandsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-net--6102015/support.

30 Touko 202353min

Exception Anti-Patterns in C# with Matt Eland - .NET 146

Exception Anti-Patterns in C# with Matt Eland - .NET 146

Matt Eland is a Microsoft MVP in AI. He joins the show to discuss "Top 10 Dotnet Exception Anti-Patterns in C# ". He talks about Exceptions in C# and what it is. He tackles teaching and knowing how to catch and throw exceptions. Moreover, he dives into some of the issues encountered. On YouTubeException Anti-Patterns in C# with Matt Eland - .NET 146SponsorsChuck's Resume TemplateDeveloper Book ClubBecome a Top 1% Dev with a Top End Devs MembershipLinksCreating Custom C# Exception TypesTop 10 Dotnet Exception Anti-Patterns in C# SocialsLinkedIn: Matt ElandMatt Eland PicksAdam - Disk2vhd v2.02Christian -  Introducing Polyglot NotebooksMatt - LEGO Jurassic Park T. rex Breakout Set 76956Shawn - skribbl - Free Multiplayer Drawing & Guessing GameSupport this podcast at — https://redcircle.com/adventures-in-net/donationsAdvertising Inquiries: https://redcircle.com/brandsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-net--6102015/support.

22 Touko 202355min

Artificial intelligence: What You Need to Know  - .NET 145

Artificial intelligence: What You Need to Know - .NET 145

Adam, Christian, and Mark join this week's panelist episode to talk about Artificial Intelligence and ChatGPT. They share their opinions and experience when using ChatGPT. Additionally, they tackle its advantages & disadvantages and some areas where it could use improvement. SponsorsChuck's Resume TemplateRaygun - Application Monitoring For Web & Mobile AppsBecome a Top 1% Dev with a Top End Devs MembershipPicksAdam - sslhChristian - Carbon | Create and share beautiful images of your source codeMark - Ted Lasso (TV Series 2020Support this podcast at — https://redcircle.com/adventures-in-net/donationsAdvertising Inquiries: https://redcircle.com/brandsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-net--6102015/support.

16 Touko 202352min

Atlas Reailty with Beau Button - .NET 144

Atlas Reailty with Beau Button - .NET 144

Beau Button is the President and CTO of Atlas Reality, Inc. He joins the show to talk about his company. He begins by talking about how he became a developer and his current projects. He also tackles the different ways and processes of how they earn money through games. Additionally, he dives into some of the challenges they experienced in establishing his company.  On YouTubeAtlas Reailty with Beau Button - .NET 144SponsorsChuck's Resume TemplateRaygun - Application Monitoring For Web & Mobile AppsBecome a Top 1% Dev with a Top End Devs MembershipLinkscerberusinteractive.com Atlas Reality - A Metaverse on Top of the Real WorldNeuralinkLoneliest Pub in the MetaverseBeau Button's tweetSocialsTwitter: thebeaubuttonLinkedIn: Beau ButtonPicksAdam - Vocal Remover and IsolationBeau - CroquetChristian - Indiana Jones® and the Fate of Atlantis™Mark - Cognitive Speech ServicesShawn - Sweet ToothSupport this podcast at — https://redcircle.com/adventures-in-net/donationsAdvertising Inquiries: https://redcircle.com/brandsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-net--6102015/support.

2 Touko 20231h 3min

Suosittua kategoriassa Liike-elämä ja talous

puheenaihe
psykopodiaa-podcast
mimmit-sijoittaa
sijotuskasti
rss-rahapodi
pomojen-suusta
ostan-asuntoja-podcast
herrasmieshakkerit
rss-neuvottelija-sami-miettinen
hyva-paha-johtaminen
raharesepti
rss-tyoelaman-timantteja
inderespodi
oppimisen-psykologia
juristipodi
sijoituspodi
rss-paikoillenne-valmiit-laakikseen
rss-startup-ministerio
rss-myynti-ei-ole-kirosana
rss-vastuullisuus-tyoelamassa