C# Digest #435: ASP.NET Core - Why async await is useful

And more news, tutorials and articles about C# and .NET in this week's issue.

#435 — October 03, 2022 View in browser

C# Digest

Spread the word, build the community, share the knowledge with your friends.

sponsor

Low-Code Data Grids With Blazor

Data grids are the gold standard for displaying large amounts of data in business applications. In this article we’ll explore the idea of using a data model to reduce the amount of user interface (UI) code that needs to be written by the enabling auto generation feature on the Telerik UI for Blazor data grid.

this week's favorite

ASP.NET Core - Why async await is useful

Did you ever wonder why you "should" use async and await in your ASP.NET Core applications? Most probable you heard something about performance. And there is some truth to it, but not in the way you might think.

By Reference in C#

I became aware recently that there were many C# compiler errors that do not have a corresponding documentation page. That documentation is open-source and I chose to spend some time contributing some pages for the community. Looking at a language feature from the perspective of its compile-time errors is rather enlightening, so I'd though I'd write a bit about these features in hopes of offering a better understanding for my readers.

Introducing C#11: Auto Default structs

C# 11 improves Structs compared to C# 10 (and earlier). Before C# 11, every Struct properties in the constructor had to be initialized or risk a compilation error. C# 11 fixes that and we will see how in this post.

Use .NET from any JavaScript app in .NET 7

.NET 7 provides improved support for running .NET on WebAssembly in JavaScript-based apps, including a rich JavaScript interop mechanism. The WebAssembly support in .NET 7 is the basis for Blazor WebAssembly apps but can be used independently of Blazor too.

Clean Code Tip: throw exceptions instead of returning null when there is no fallback

When you don't have any fallback operation to manage null values (eg: retry pattern), you should throw an exception instead of returning null.

how did you like this issue?

newsletters

© 2022 Bonobo Press

Would you like to advertise with us? Check out our latest media kit for more information.
If you no longer wish to receive these emails, click to unsubscribe.

Older messages

C# Digest #434: C# 11 – Introducing List Patterns Matching

Sunday, September 25, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #434 — September 26, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #433: Serializing asynchronous operations in C#

Sunday, September 18, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #433 — September 19, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #432: A comprehensive design patterns library

Monday, September 12, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #432 — September 12, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #431: Performance Improvements in .NET 7

Sunday, September 4, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #431 — September 05, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #430: History of Microsoft Azure

Sunday, August 28, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #430 — August 29, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

[Last chance to register] Learn how to evaluate, build, and launch a faster, relevant, contextual search experience

Thursday, December 8, 2022

Deliver contextual search for a dataset as big as 10M records in only 6 months. elastic | Search. Observe. Protect Learn how to evaluate, build, and launch a faster, relevant, contextual search

Apple GPU drivers now in Asahi Linux — Apple introduces end-to-end encryption for backups — and Tell HN: IPv6-only still pretty much unusable

Wednesday, December 7, 2022

Issue #974 — Top 20 stories of December 08, 2022 Issue #974 — December 08, 2022 You receive this email because you are subscribed to Hacker News Digest. You can open it in the browser if you prefer. 1

Plaid unravels a fifth of its workforce after ‘growth did not materialize as quickly as expected' 

Wednesday, December 7, 2022

TechCrunch Newsletter TechCrunch logo The Daily Crunch logo By Christine Hall Wednesday, December 07, 2022 Hello, and welcome to Hump Day! If you haven't gotten your fill yet of tech egos, you'

Infographic | When Will Air Travel Return to Pre-Pandemic Levels? ✈

Wednesday, December 7, 2022

COVID-19 hit the air travel industry hard. But passenger traffic is slowly recovering, and by 2025, things are expected to return to 'normal.' View Online | Subscribe Presented by: TSX-V: CVV

JSK Daily for Dec 7, 2022

Wednesday, December 7, 2022

JSK Daily for Dec 7, 2022 View this email in your browser A community curated daily e-mail of JavaScript news JSK Weekly - December 07, 2022 Hello festive season! If you're not feeling the

Learn how strong security builds trust and wins customers

Wednesday, December 7, 2022

Join us on Tuesday, December 13 at 10 am PST/1 pm EST for a free, one-hour webinar called, “Prove trust to prospects: How to win deals in an economic downturn.” People do business with companies they

Save Big on an Android TV Projector, Portable SSD, and More

Wednesday, December 7, 2022

Logo for How-To Geek Deals December 7, 2022 Save Big on an Android TV Projector, Portable SSD, and More Welcome back to the first full edition of How-To Geek Deals since the Cyber Weekend rush. To kick

JSK Weekly - December 07, 2022

Wednesday, December 7, 2022

Hello festive season! If you're not feeling the festivities just yet, check out "AdventJS, JavaScript/TypeScript coding challenges on December", it'll make for an interesting run up

Mastering Cyber Intelligence ($19.99 Value) FREE for a Limited Time

Wednesday, December 7, 2022

The Hacker News eBook Update Newsletter Mastering Cyber Intelligence ($19.99 Value) FREE for a Limited Time Download For Free Cyber Threat Intelligence converts threat information into evidence-based

Daily Coding Problem: Problem #958 [Medium]

Wednesday, December 7, 2022

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Given an unordered list of flights taken by someone, each represented as (