Re-thinking the Visitor Pattern with the Double-Dispatch Approach
#443 – February 27, 2023 | View in browser |
C# Digest
Re-thinking the Visitor Pattern with the Double-Dispatch Approach
This article will help you have another point of view with the Visitor Pattern by thinking it with the Double-Dispatch Approach. This article will also show you a practical use case of how this pattern is applied in .NET.
Want to Keep your Main Branch Green? You Should Use a Merge Queue (sponsor)
Outdated pull requests are the root cause of many issues: broken main, constant revert, and frustration. Using a merge queue allows you to update, test and merge each PR automatically and sequentially. No more broken main, manual reverts, and rebases. Embrace both safety and velocity!
C# "var" with a Reference Type is Always Nullable
As an addition to the series on nullability in C#, we should look at the "var" keyword. This is because "var" behaves a little differently than it did before nullable reference types. Specifically, when nullability is enabled, using "var' with a reference type always results in a nullable reference type.
Applying Postel’s law in ASP.NET
An important aspect in building robust systems is applying ‘Postel’s law’. Postel's Law was formulated by Jon Postel, an early pioneer of the Internet. The law was really a guideline for creators of software protocols. The idea was that different implementations of the protocol should interoperate.
To explain what this keyword does, I have to talk first about ref struct. C# 8 introduced ref struct where it was used to implement the Span type. A ref struct guarantees that an instance of the type is allocated on the stack and can’t escape to the managed heap. To guarantee this, strict scoping rules are enforced by the compiler.
Refactoring huge C# code base in minutes
With my team, we like to keep our C# code base updated. So, recently we went to .NET 7 and C# 11. At the same time, we were still adopting some of the new capabilities of .NET 6 and C# 10.
Creating a custom Main method in a WPF application
In this post, I describe how to create a custom Main method in a .NET WPF application
how did you like this issue?
newsletters
Older messages
What is .NET, and why should you choose it?
Sunday, February 19, 2023
.NET has changed a lot over the last few years. Learn why you should choose it for your next project. #442 – February 20, 2023 View in browser C# Digest What is .NET, and why should you choose it? .NET
Update to the .NET language strategy
Sunday, February 12, 2023
What's happening with C#, F# and Visual Basic? #441 – February 13, 2023 View in browser C# Digest Update to the .NET language strategy Interested in what is going on and the future of .NET
How to Tame the Asynchronous Nightmare
Sunday, February 5, 2023
You sprinkle async and await through your code, and everything is working just fine. #440 – February 06, 2023 View in browser C# Digest How to Tame the Asynchronous Nightmare You're an intermediate
Server-side caching strategies: How do they work?
Sunday, January 29, 2023
Cache-aside, Read-through, Write-through, Write-behind: quite easy on the surface, but let's go a little deeper. #439 – January 30, 2023 View in browser C# Digest Server-side caching strategies:
Securing Sensitive Information with .NET User Secrets
Sunday, January 22, 2023
Working with secure keys in .NET has always been a delicate balance of convenience and safety. #438 – January 23, 2023 View in browser C# Digest Securing Sensitive Information with .NET User Secrets In
You Might Also Like
Post from Syncfusion Blogs on 11/26/2024
Tuesday, November 26, 2024
New blogs from Syncfusion All Things Open 2024 Takeaways, Part 2: Transparency By Marissa Keller Outten Discover the importance of transparency, learn how to build it, and overcome barriers to drive
⚙️ New Nvidia
Tuesday, November 26, 2024
Plus: Study on LLM reasoning
Your First 90 Days as CISO: 15 Steps to Success
Tuesday, November 26, 2024
Essential strategies for a strong start in your new CISO role - get the roadmap now. The Hacker News The First 90 Days as CISO: Your Roadmap to Success The clock starts ticking the moment you step into
Your monthly update has arrived
Tuesday, November 26, 2024
What's new in Google Play and Android Email not displaying correctly? View it online November 2024 The First Developer Preview of Android 16 The First Developer Preview of Android 16 Android 16
RomCom Exploits Zero-Day Firefox and Windows Flaws in Cyberattacks
Tuesday, November 26, 2024
THN Daily Updates Newsletter cover The AI Value Playbook ($35.99) FREE for a Limited Time Business leaders are challenged by the speed of AI innovation and how to navigate disruption and uncertainty.
Edge 451: In One Teacher Enough? Understanding Multi-Teacher Distillation
Tuesday, November 26, 2024
Enhancing the distillation process using more than one teacher. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Software Testing Weekly - Issue 247
Tuesday, November 26, 2024
QA Job Hunting Resources 📚 View on the Web Archives ISSUE 247 November 26th 2024 COMMENT Welcome to the 247th issue! Today, I'd like to highlight a fantastic set of QA Job Hunting Resources.
🔒 The Vault Newsletter: November issue 🔑
Monday, November 25, 2024
Get the latest business security news, updates, and advice from 1Password. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
🧐 The Most Interesting Phones You Didn't See in 2024 — Making Reddit Faster on Older Devices
Monday, November 25, 2024
Also: Best Black Friday Deals So Far, and More! How-To Geek Logo November 25, 2024 Did You Know If you look closely over John Lennon's shoulder on the iconic cover of The Beatles Abbey Road album,
JSK Daily for Nov 25, 2024
Monday, November 25, 2024
JSK Daily for Nov 25, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted