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
ALERT: Ivanti Flaw CVE-2025-0282 Actively Exploited, Impacts Connect Secure and Policy Secure
Friday, January 10, 2025
THN Daily Updates Newsletter cover Deep Learning For Dummies ($21.00 Value) FREE for a Limited Time Take a deep dive into deep learning Download Now Sponsored LATEST NEWS Jan 10, 2025 Taking the Pain
The Sequence Research #466: Small but Migthy, Diving Into Microsoft Phi-4
Friday, January 10, 2025
Some architecture details about Microsoft's famous SLM. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Notes app can do what now?
Friday, January 10, 2025
Hey there, Do you ever use the Notes app on your iPhone? If you do, you'll want to keep reading! The Notes app might look simple, but it has lots of great features to make your life easier. For
The Commodification of Pleasure
Friday, January 10, 2025
…and the enclosure of creative talent ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Invitation to the Event Sourcing workshop
Friday, January 10, 2025
Hey! I'm usually not making New Year commitments. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
SWLW #633: AI and cognitive offloading, The story in your head, and more.
Friday, January 10, 2025
Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found
Data Science Weekly - Issue 581
Thursday, January 9, 2025
Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
💻 Issue 444 - Check Out My New CV as a Full Stack .NET Developer!
Thursday, January 9, 2025
This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 444 Release Date Jan 09, 2025 Your weekly report of the most popular .NET news, articles and projects
💎 Issue 451 - Useful things you can do with Rails console
Thursday, January 9, 2025
This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 451 Release Date Jan 09, 2025 Your weekly report of the most popular Ruby news, articles and
💻 Issue 451 - The best way to iterate over a large array without blocking the main thread
Thursday, January 9, 2025
This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 451 Release Date Jan 09, 2025 Your weekly report of the most popular JavaScript news, articles