#csharp

5 posts tagged csharp.

2022 1 post

  1. Converting to .NET 6 Core

    Suppose we need to convert a legacy .NET 4.5 MVC or API project to .NET Core 6.0. It might sound like daunting task at first, and if you never did this, might cause you headache for a few days/weeks, or even months depending on the size of the project. In this article I will do my best to reduce that headache by giving you starter info and some follow-up articles to learn more about the topic.

2020 2 posts

  1. Blazor Q/A with Tim Corey

    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.

  2. Modern techniques for modern C# - Bill Wagner

    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.

2015 2 posts

  1. Updated

    C# - Normalize Whitespace Inside String

    Simple task - replace all sequential whitespace (tabs, spaces, newlines) with your character of choice, usually a space.

  2. Updated

    C# - Capture Full Stack Trace Inside Catch

    When you catch an exception, you only have stack trace relative to 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. Yes, it's bad if the email cannot reach your client (say, their email address is invalid), but your web server should not crash because of that.