There is very little information about Blazor on the internet. Even less as far as enterprise / professional Blazor development is concerned. Blazor is not exactly new, but still, it feels more as an undercover platform, even today in May of 2020. This Q/A session with Tim Corey is meant to fill the gap. Tim is a software developer, consultant, trainer, and Microsoft MVP. He runs a YouTube channel dedicated to making the process of learning software development easier.
An interesting video from a recent NDC conference (Jan 27-31, 2020), comparing old coding style in C# with new options available to you as a developer.
Simple task - replace all sequential whitespace (tabs, spaces, newlines) with your character of choice, usually a space. Fact - StackOverflow is on top in google results, when searching for “C# normalize whitespace”. How to replace multiple white spaces with one white space c# Fastest way to remove extra white spaces Why this article? Highest voted answers are not the best performing, and some answers are just wrong.
When you catch an exception, you only have stack trace relative to the catch point. The problem is very clearly described in this article on CodeProject: .NET: Exception stack trace has no frames above the catch point. Why is this important? Suppose the error occurs when sending email and this is a non-critical part of your application. Let’s say you send confirmation emails to clients as part of the ordering process.