Sukhpinder Singhdotnet.hashnode.dev·Apr 20, 2024Day 30 of 30-Day .NET Challenge: XML v/s JSON SerializationIntroduction Serialization involves a process of converting an object into an easily stored format. The article demonstrates the problem with old XML Serialization and how JSON serialization improves both efficiency and effectiveness. Learning Objec...Discuss30 Day C# Challengedotnet
Sukhpinder Singhdotnet.hashnode.dev·Apr 19, 2024Day 29 of 30-Day .NET Challenge: Generics & Custom InterfacesIntroduction Developers often tend to add unnecessary boxing in the code which can hamper application performance. The article demonstrates both inefficient and efficient approaches to avoid the issue. Learning Objectives What is Boxing Why non-gen...Discuss·10 likes30 Day C# Challengedotnet
Sukhpinder Singhdotnet.hashnode.dev·Apr 18, 2024Day 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·144 readsdotnet