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

Blazor In Action - .NET 131 (Part 2)

Blazor In Action - .NET 131 (Part 2)

Chris Sainty returns to the podcast to discuss the release of his book, Blazor in Action, and more Blazor goodness. We begin this episode talking about writing and publishing a technical book including what it took to get the book over the finish line. There are a lot of moving parts to a technical book especially if the book contains code samples. Next we get into specific questions about Blazor like hosted vs standalone, razor files or code behind and more. We even get into a discussion about MediatR and how it can benefit your codebase whether it is a Blazor application or not. What do you like or dislike most about Blazor? Have you read Chris Sainty's book? Let us know on Twitter at @dotnet_Podcast. SponsorsTop End DevsRaygun | Click here to get started on your free 14-day trialCoaching | Top End DevsLinks- Top End DevsBlazor in ActionChris SaintyPicksCaleb- Pokémon™ Legends: Arceus for Nintendo Switch - Nintendo Official Site Chris- GOWOD - Mobility FirstShawn- Temporary email services like temp-mail.org or https://10minutemail.com/Support 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 Elo 202239min

Blazor In Action - .NET 130 (Part 1)

Blazor In Action - .NET 130 (Part 1)

Chris Sainty returns to the podcast to discuss the release of his book, Blazor in Action, and more Blazor goodness. We begin this episode talking about writing and publishing a technical book including what it took to get the book over the finish line. There are a lot of moving parts to a technical book especially if the book contains code samples. Next we get into specific questions about Blazor like hosted vs standalone, razor files or code behind and more. We even get into a discussion about MediatR and how it can benefit your codebase whether it is a Blazor application or not. What do you like or dislike most about Blazor? Have you read Chris Sainty's book? Let us know on Twitter at @dotnet_Podcast. SponsorsTop End DevsCoaching | Top End DevsLinks- Top End DevsBlazor in ActionChris SaintyPicksCaleb- Pokémon™ Legends: Arceus for Nintendo Switch - Nintendo Official Site Chris- GOWOD - Mobility FirstShawn- Temporary email services like temp-mail.org or https://10minutemail.com/Support 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.

9 Elo 202245min

Learning Playwright - .NET 129

Learning Playwright - .NET 129

In this episode, Caleb and Shawn discuss Playwright, an end-to-end testing framework for web apps. There are several established end-to-end testing frameworks including Selenium and Cypress but Playwright was new to us. Shawn found it while doing research for an app that he is currently working on so we decided to talk about what he has learned using Playwright so far. The framework supports multiple languages including TypeScript, JavaScript, Python and .NET. There is a lot of intelligence under the hood including auto-wait and web-first assertions. Listen in and see if Playwright could be the end-to-end testing framework that you use on your next project. Have you used Playwright before? Let us know your experience on Twitter at @dotnet_Podcast. SponsorsTop End DevsRaygun | Click here to get started on your free 14-day trialCoaching | Top End DevsLinksPlaywrightPicksCaleb- Western Digital NAS HDShawn- Looping artist with incredible range SHOCKS the Coaches on The Voice!Shawn- PlaywrightSupport 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 Elo 202229min

Finding Your Focus - .NET 128

Finding Your Focus - .NET 128

This is a republished episode of .NET 017 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 on their work. Some of the panelists suffer from ADD, ADHD, and OCD, they explain the challenges these problems bring to their work. They also discuss the flow state good focus can bring and what can be accomplished during that time of deep work.  The first tool they discuss that helps them focus is music. Music can be a distraction if it is the wrong music. They discuss the types of music that help them focus. The benefits of classical music, music without words and even rock music are considered by the panel.  Next, the panel discusses todo lists. There are many different todo list apps, the panel considers how to find the ones for you. Wai Liu advocates for the todo list and explains how he rates the completion of his todo list and evaluates it before creating his list for the next week. The panel discusses productivity apps and shares ideas of what would make a great productivity app.  They consider the merits of meditation. They all agree that meditation has many great benefits but is also quite difficult to master. Wai shares his experience at a meditation retreat. The panel discusses procrastination and distractions both at the work office and at the home office. They consider techniques and resources that help them focus. SponsorsTop End DevsCoaching | Top End Devs LinksPomodoro TechniqueLinkedIn: Wai LiuFacebook: Adventures in .NETTwitter: @dotNET_PodcastPicksCaleb- Find Your CalmCaleb- Find your focus.Caleb- Deep WorkCaleb- IndistractableShawn- Pwop StudiosShawn- Ice hockeyWai- Nintendo SwitchSupport 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.

26 Heinä 202242min

Blazor Wasm Hosted or Standalone? - .NET 127

Blazor Wasm Hosted or Standalone? - .NET 127

Today's episode has more Blazor goodness. The panelists discuss the differences that one little check box can make when creating a new Blazor Wasm project. Did you know that you can create a Blazor Wasm project with different setups? What are the differences? Does it change your workflow? Caleb has used both options and there are pros and cons to each one. Have you created a Blazor Wasm project? Do you prefer Hosted or Standalone? Let us know on Twitter at @dotnet_Podcast. SponsorsTop End DevsRaygun | Click here to get started on your free 14-day trialCoaching | Top End DevsLinksASP.NET Core Blazor hosting modelsPicksCaleb- PrimalShawn- Programming Fonts - Test DriveShawn- Dev FontsWai- Waterpik Cordless Advanced Water Flosser For Teeth, Gums, Braces, Dental CareSupport 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ä 202224min

Complexities of Open Source - .NET 126

Complexities of Open Source - .NET 126

Dennis Doomen returns to the podcast to talk with us about open source projects. We discuss some of the latest milestones for Fluent Assertions and some of the positives and negatives of managing a popular open source project. While companies and developers benefit from open source projects they don't always view the open source community the same way. Dennis shares his thoughts on the subject and Shawn and Caleb talk about how their companies use open source. We also talk about different ways to sponsor an open source project and some of the communities that can grow up around an open source project. What do you think about open source? Have you contributed to an open source project either financially or by adding to the project directly? Let us know on Twitter at @dotnet_Podcast. SponsorsTop End DevsCoaching | Top End DevsLinksFluent Assertions.NET FoundationDennis "The Continuous Improver" DoomenCodeRushedSpecification by ExampleNuGet Gallery | Dennis DoomenGithub: dennisdoomenTwitter: @ddoomenPicksCaleb- Last EpochDennis- DNN SoftwareDennis- Rider: The Cross-Platform .NET IDE from JetBrainsDennis- Buy Horizon Zero DawnShawn- 18V ONE+ HP BRUSHLESS DETHATCHER/AERATOR KIT - RYOBI ToolsSupport 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.

12 Heinä 202246min

Generating Class Diagrams with code - .NET 125

Generating Class Diagrams with code - .NET 125

Class Diagrams are a very great way to document your system, inspect and understand the relationships between the classes and plan refactorings and disseminate knowledge inside the team. In this episode, Edson Moisinho discusses using PlantUML - an open-source tool that allows generating many types of UML diagrams from plain text. SponsorsTop End DevsRaygun | Click here to get started on your free 14-day trialCoaching | Top End DevsLinksGenerating Class Diagrams for .Net Core | by Edson Moisinho | Better Programming 2plantuml/plantumlpierre3/PlantUmlClassDiagramGeneratorEdson Moisinho - MediumEdson Moisinho - LinkedInPicksEdson- God of War | PlayStation (US)Shawn- Interceptor (2022) - IMDbSupport 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.

5 Heinä 202232min

Blazor Environment Quirks - .NET 124

Blazor Environment Quirks - .NET 124

All frameworks have their quirks. As a framework matures some of the quirks go away but every framework seems to have one or two things that you have to work around. When writing demo or proof of concept code you may not run into these quirks. They only surface when you need to deploy your code in another environment. In this episode the panelists discuss a Blazor quirk when working with different environments. Blazor does not handle appsettings.json or ASPNETCORE_ENVIRONMENT like other parts of .NET. Listen to this episode to find out more. What is the weirdest quirk you have had to deal with writing code? Let us know on Twitter at @dotnet_Podcast. SponsorsTop End DevsCoaching | Top End DevsLinksBlazor WASM not loading appsettings.{environment}.json in Azure App ServicesPicksCaleb- Hyrule Warriors: Age of Calamity for Nintendo Switch - NintendoShawn- Fast and reliable end-to-end testing for modern web apps | Playwright .NETWai- Mario Strikers™: Battle League for Nintendo Switch - NintendoSupport 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.

28 Kesä 202226min

Suosittua kategoriassa Liike-elämä ja talous

puheenaihe
psykopodiaa-podcast
mimmit-sijoittaa
sijotuskasti
rss-rahapodi
pomojen-suusta
ostan-asuntoja-podcast
rss-neuvottelija-sami-miettinen
herrasmieshakkerit
kasvun-kipuja
hyva-paha-johtaminen
raharesepti
rss-tyoelaman-timantteja
inderespodi
juristipodi
rss-rahamania
rss-lahtijat
leadcast
oppimisen-psykologia
raksapodi