.NET 010: What's new in C# 8.0 with Jason Bock

.NET 010: What's new in C# 8.0 with Jason Bock

In this week’s episode of Adventures in .NET the panel is joined by Wai Liu, the new panelist, and Jason Bock, the special guest. Wai shares a bit about himself, currently, he works as a PM from Australia. His focus lately has been on Azure and .NET Core. Jason Bock introduces himself next, he is a practice lead for application development in .NET. He is a writer and a speaker, often about the new features of C#. The panel interviews Jason about the new features found in C# 8.0. The first thing developers should know about C# 8.0 is that it is no longer tied to .NET Framework. Jason explains that everything is slowly shifting to .NET Core and developers can only enjoy all the C# 8.0 features with .NET Core 3. He lists that some of the features can be used with .NET Framework. The panel discusses migration to .NET Core from .NET Framework. Jason explains that it is not a question of if we should migrate but when should we migrate. Not only does .NET Core have better capabilities and speed but Microsoft is focussing all their future efforts in .NET core. Jason invites everyone to think about switching over and start making a plan. The panel considers how hard it will be to move over large applications into .NET Core. Jason explains that since Microsoft has many applications in .NET framework they are in the same boat as other large enterprises. So, support for .NET Framework 4.8 will continue to be supported. The panel considers their current projects and how migrating could affect them. Moving on to the new features of C# 8.0, the panel considers the two most exciting new features, default interface members and nullable reference types. They start by discussing nullable reference types. Nullable reference types allow developers to annotate types in parameters and properties and say that they are nullable. The panel discusses the opt-in function of this feature and why that is necessary at this stage of its release. Jason explains how this all works and the two main purposes for nullable reference types. First, it is trying to reduce the number of null references developers get. Second, it allows developers to try expressing intent. The panel shares their excitement to give nullable reference types a try. They also warn developers that they may want to run away when they first turn it on. Jason advises developers to turn it on in new projects, but for large projects, he advises developers to turn it on a profile basis. He explains that Microsoft is just getting started with nullable reference types and will continue to make changes all the way to .NET 5.0. Moving on to discuss default interface members, Jason predicts that default interface members will see a lot of abuse. The panel expresses their discomfort with the feature as it is a new way of using an interface. Jason explains the intent of this feature is to provide a way for developers to define an interface where some of the members have implementations. It is commonly referred to as default interface methods as most examples are with methods. The goal of default interface members is to improve versioning with interfaces. Jason explains that there are many possibilities for this feature and goes over some of them with the panel. Jason explains that the difference between an interface and an abstract class is, an abstract class can have constructors and state whereas an interface cannot. The panel considers how default interface members could be considered normal practice in the future. Jason explains that there is still a lot of uncertainty around when to use them and when not to, it will take some time for default interface members to find their place. The other features discussed are the enhancements made to pattern matching, asynchronous streaming, enhancements of the using, ranges and indices. They explain briefly what each of these features does and how they will improve the .NET experience. Panelists
  • Shawn Clabough
  • Caleb Wells
  • Wai Liu
Guest
  • Jason Bock
Sponsors Links Picks Caleb Wells: Shawn Clabough: Jason Bock: Wai Liu: Special Guest: Jason Bock.

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.

Episoder(236)

Streamlining Measurement Representations in APIs Using UnisNet Library for .NET - .NET 182

Streamlining Measurement Representations in APIs Using UnisNet Library for .NET - .NET 182

Haim Kastner is a Senior Software Developer. They delve into the world of .NET and development, as they share their experiences and insights. They discuss the complexities of working with units of mea...

26 Mar 202455min

The Role of Algorithm Implementations and Testing in Development - .NET 181

The Role of Algorithm Implementations and Testing in Development - .NET 181

Andrii Siriak is the lead .NET software engineer at SoftServe. They delve deep into the critical topic of algorithm implementations and testing in software development. They provide valuable insights ...

19 Mar 202454min

To CI/CD or not to CI/CD - .NET 180

To CI/CD or not to CI/CD - .NET 180

In today's episode, we are joined by Muhammad Azeez to discuss CI/CD. It is a safe bet that most development teams could benefit from integrating CI/CD into their workflow. CI/CD can speed up developm...

12 Mar 202447min

Voice to Code inside Visual Studio - .NET 179

Voice to Code inside Visual Studio - .NET 179

Adam, Christian, Mark, and Shawn dive into the latest developments and innovations in the world of technology and coding. In this episode, they explore the exciting integration of voice commands into ...

27 Feb 202454min

You've been Blazored!  - NET 178

You've been Blazored! - NET 178

Chris Sainty is a man on a mission. A mission to tell everyone how awesome Blazor is! Chris started working with Blazor early on and has done speaking events, writes a blog, created an open source lib...

20 Feb 20241h 5min

All About Language Features - .NET 177

All About Language Features - .NET 177

In today's episode Morgan Kenyon joins us to discuss why choosing the right programming language is important and some of the best features in different languages. We discuss the differences and benef...

13 Feb 202442min

Mastering SignalR - .NET 176

Mastering SignalR - .NET 176

Have you ever used SignalR in your development? .NET might have used it for the code you wrote, but you didn't realize it. Kevin Griffin has used SignalR for multiple projects over the years and joins...

6 Feb 202452min

High Performance Databases with RavenDB with Oren Eini - NET 175

High Performance Databases with RavenDB with Oren Eini - NET 175

Guest, Oren Eini joins the panelists of Adventures in .NET to share on the common database performance issues that led him to the path of writing his own database - RavenDB.SponsorsChuck's Resume Temp...

30 Jan 20241h 4min

Populært innen Business og økonomi

lydartikler-fra-aftenposten
stopp-verden
dine-penger-pengeradet
e24-podden
rss-borsmorgen-okonominyhetene
rss-penger-polser-og-politikk
pengepodden-2
finansredaksjonen
livet-pa-veien-med-jan-erik-larssen
utbytte
tid-er-penger-en-podcast-med-peter-warren
stormkast-med-valebrokk-stordalen
morgenkaffen-med-finansavisen
okonomiamatorene
liberal-halvtime
pengesnakk
rss-politisk-preik
lederpodden
rss-pa-konto
rss-markedspuls-2