Sukhpinder Singhdotnet.hashnode.dev·17 hours agoDay 28 of 30-Day .NET Challenge: Use StackallocIntroduction .Net applications rely on a Garbage collector for memory allocation and deallocation, which simplifies memory management but leads to performance degradation if not managed efficiently. The article demonstrates how to use stackalloc to e...Discuss30 Day C# Challengedotnet
Fxplorerblog.fxplorer.net·Apr 17, 2024Single file minimum F# Avalonia UI app with notes.After some experimentation, a minimum Avalonia app that can be ran from an .fsx file or a Polyglot Notebook. The Polyglot Notebook can be found at: https://github.com/Fxplorer/Fxplorer_www/blob/main/docs/MinimumFsharpAvaloniaApp.ipynb The .fsx script...DiscussXploring Avalonia UI in F##fsharp
Sukhpinder Singhdotnet.hashnode.dev·Apr 17, 2024Day 27 of 30-Day .NET Challenge: Query v/s Method SyntaxIntroduction The article demonstrates the use of query and method syntax for writing LINQ queries. In addition to that, highlights why the query syntax is preferred over method syntax in case of complex queries. Learning Objectives What is Query and...Discuss30 Day C# Challengedotnet
Daniel Hofmandanielhofman.com·Apr 16, 2024Building CommandGit: A Developer's Tale of Passion and InnovationCommandGit Journey For a number of years, I have been working as a software engineer and have always been interested in developer tools that make my job easier. During my free time, I have created several free automation applications and utilities, a...Discussdotnet
Dev LeaderProhashnode.devleader.ca·Apr 16, 2024C# Regular Expression Benchmarks – How To Avoid My Mistakes!Recently I published an article about the various performance characteristics of using regex in C#. Specifically, there are a handful of ways that we can use regular expressions in C# to do seemingly the same thing. I was curious about the difference...DiscussC#
Sukhpinder Singhdotnet.hashnode.dev·Apr 16, 2024Day 26 of 30-Day .NET Challenge: Loop UnrollingIntroduction The article demonstrates the advantages of loop unrolling by iterating over multiple items per cycle while adjusting the loop counter accordingly. Learning Objectives The problem with iterating using traditional loops Advantages with l...Discuss30 Day C# Challengedotnet
Dev LeaderProhashnode.devleader.ca·Apr 15, 2024C# Regex Performance: How To Squeeze Out PerformanceRegular expressions in C# can save you when you need to do some complex pattern matching on strings. But as the language grows and evolves we continue to get new ways that we can use regular expressions in C#. That’s why I wanted to take a moment to ...DiscussC#
Daniel Hofmandanielhofman.com·Apr 14, 2024Navigating the Resilience Landscape: Polly & TemporalBoth Polly and Temporal have become cornerstones in the quest for resilience in software systems. Polly is a library that boosts the resilience of .NET applications, effectively managing transient failures through strategies like retries, timeouts, a...Discuss·115 readsdotnet
Sukhpinder Singhdotnet.hashnode.dev·Apr 14, 2024Day 24 of 30-Day .NET Challenge: Avoid Exceptions in Flow ControlIntroduction Exceptions are designed to handle unexpected situations rather than controlling the application flow. Using exceptions during input validation can affect your application's readability and performance. Learning Objectives The inefficien...Discuss30 Day C# Challengedotnet
Sukhpinder Singhdotnet.hashnode.dev·Apr 13, 2024Day 23 of 30-Day .NET Challenge: Span<T> over ArraysIntroduction The article demonstrates the use of Span<T> for optimizing memory management, highlighting the performance benefits. Learning Objectives Drawbacks of the array in memory management Efficiency of Spans Prerequisites for Developers Ba...Discuss30 Day C# Challengedotnet