.NET 007: What We Know About LINQ
Adventures in .NET24 Syys 2019

.NET 007: What We Know About LINQ

In this week’s episode of Adventure in .NET the panel shares their experiences using LINQ or Language Integrated Query. They discuss the benefits of using LINQ along with the struggles they have with it. They share some of their favorite tips and tricks for using LINQ. LINQ is something .NET developers use on a daily basis. The panel starts by giving a little background on LINQ. LINQ was introduced to the .NET framework 3.5 with the intent of providing a better way of dealing with data. The panel explains what they did before using LINQ and what it was like making the switch. LINQ has two different syntaxes, the query syntax, and the lambda syntax. The panel discusses the similarities between query syntax and SQL. They explain why they didn’t just use SQL. Because SQL and query were so similar, the panel both started by using query. They share different ways to get used to the query syntax and the lambda syntax. One benefit of using LING is that it is supported in all .NET languages and has been ported over to other languages such as PHP, JavaScript, and Typescript. The panel discusses using in it Angular Typescript and the similarities between it and C#. The panel reveals that there are a number of features in .NET that were built to support LINQ. Lambda expressions, anonymous type, and tuples are some examples of features that support LINQ. The panel defines these features and explains how they help you sort through collections of data. The panel considers why some programmers are turned off by LINQ. They suppose it is because of its foreign look and that it is not highly structured. Also, LINQ has a lot of syntactic sugar, doing a lot of stuff for you behind the scenes. The panel discusses ways LINQ simplifies workflow and shares tips for using LINQ to simply code. Programmers often complain that using LINQ to objects or LINQ to entities and chaining LINQ extensions is an improper use of LINQ. The panel explains how using LINQ this way makes the code cleaner and more readable. The panel compares the readability of LINQ statements to SQL statements. They explain why LINQ is easier to read and understand. The panel shares their tips and tricks for using LINQ statements and deferred executions. They discuss the possible use cases for using deferred executions. They also consider the downsides and gotchas to watch for when using deferred executions. LINQ to entity and the Entity framework are considered. The panel discusses the common complaints made about Entity. They address these complaints, explaining how LINQ to entity and the framework has improved. The panel suggests the use of LINQPad for LINQ statements to see the generated sequel statement. They explain what to watch out for when using LINQ pad this way. One struggle panel discusses is knowing when to use first or firstordefault. They share tips, things to look for when using either one of these in LINQ. First and single are compared, the panel explains why they use first more than single. The possibilities for extension methods in LINQ are considered. Along with using C# extension methods the panel discussing using custom extension methods. They share their favorite third party extension methods and explains how they have helped them simplify their code. While the panel is aware that many programmers are averse to mixing functional programming and object-oriented programming, the panel explains that there are a few functional programming concepts built into LINQ. The benefits of being able to use functional programming in C# is explained. The panel considers some of the hardest things to do in LINQ and share tips on how to better understand them. Select many and aggregate LINQ queries being to examples they share. The explain what powerful tools they can be. The panel ends the episode with some tips for improving performance when using LINQ Panelists
  • Shawn Clabough
  • Caleb Wells
Sponsors Links Picks Caleb Wells: Shawn Clabough:

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)

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 Maalis 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 Maalis 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 Maalis 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 Helmi 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 Helmi 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 Helmi 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 Helmi 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 Tammi 20241h 4min

Suosittua kategoriassa Liike-elämä ja talous

sijotuskasti
mimmit-sijoittaa
rss-rahapodi
psykopodiaa-podcast
herrasmieshakkerit
rss-rahamania
ostan-asuntoja-podcast
leadcast
rss-lahtijat
rss-seuraava-potilas
rss-merja-mahkan-rahat
rss-40-ajatusta-aanesta
rahapuhetta
rss-porssipuhetta
rss-vaikuttavan-opettajan-vierella
rss-bisnesta-bebeja
rss-paatos-podcast-suomen-kovimmat-paatoksentekijat-2
rss-bisneksen-pehmea-puoli
rss-levosta-kasin-yrittajyys
rss-ma