Category Archives: C#

Modern C# Part 3 – Switch Expressions

I admit it, I’ve struggled with pattern matching. In the next few blog posts I’ll explore this magic, starting today with switch expressions (not to be confused with switch statements).

Posted in C#, Mini-Tutorial | Leave a comment

Modern C# – Part 1

This short post will kick off a series covering some of the new features in C#. One small but much requested feature is the ability to use any kind of collection for params. Previously you had to pass in an … Continue reading

Posted in C#, C# 12, Essentials | Leave a comment

API Part 7 – Swagger Comments

In the previous post, I introduced Swagger and showed how to set up your project for Swagger. In this post I will show how to add Swagger comments to annotate your program. In earlier posts we looked at the database … Continue reading

Posted in API, C#, Essentials | Tagged | 7 Comments

.NET APIs Part 6 – Swagger

This is part 6 in a series about building APIs in .NET using C#. The previous (part 5) entry is here, and the series starts here. As you know, an API sits between a client and the back end. It … Continue reading

Posted in API, C# | Tagged | 4 Comments

Mads Torgersen & Dustin Campbell Part 2

Part 2 of my discussion with Mads and Dustin on what’s new in C# 11 with a focus on when application developers will use the new features.

Posted in C#, Essentials | Tagged , , | Leave a comment

Learning .NET MAUI – Part 3

Our app will spring to life in AppShell.xaml. We’ll be putting a few additional things there, but key for now is the ShellContent element As you can see there are three attributes: the Title, the ContentTemplate and the Route. The … Continue reading

Posted in .NET MAUI, C#, Essentials, Maui, Programming | Tagged | Leave a comment

Learning .Net Maui – Posting 0

I’m going to start a serious attempt to upgrade my skills from Xamarin.Forms to Maui. I’m not sure how difficult this will be, but I’m starting with James Montemagno’s excellent video/code course for beginners. Unfortunate for me, and perhaps for … Continue reading

Posted in C#, Maui | Tagged | Leave a comment

Mads Torgersen On C# 10

Mads comes back on show 200 (!) to talk about all things C# 10, which will be released November 2021.

Posted in C#, C# 10, Essentials, Languages, Podcast | Tagged | Comments Off on Mads Torgersen On C# 10

Mark Price on C#9 and .NET 6

Mark Price, author of C# 9 and .NET 5 – Modern Cross Platform Development comes on to talk about, well…C# 9 and .NET 5, and also modern cross Platform Development

Posted in .NET 5, .Net 6, C#, C# 9, Essentials | Tagged , | Comments Off on Mark Price on C#9 and .NET 6

C# Coding Standards – Updated

Let’s face it, most coding standards are arbitrary. The key to a successful project, however, is not which standards you follow, but that you are consistent. Here is a partial list of the C# coding standards my team uses and … Continue reading

Posted in C#, C# 8, C# 9 | Comments Off on C# Coding Standards – Updated

Mads Torgersen! C# 9 & Beyond

Microsoft’s Mads Torgersen– Lead Designer of C# — talks about how to know when to use the new features in C# 8 and 9, and more. Photo credit: Jesse Liberty

Posted in C#, C# 9, Essentials | Tagged | Comments Off on Mads Torgersen! C# 9 & Beyond

C# 9 Part 3 – Patterns

Jared Parsons – lead of the C# Compiler Team at Microsoft C# 9 Roadmap Jared – LinkedIn Welcome to C# 9

Posted in C#, Essentials | Tagged | Comments Off on C# 9 Part 3 – Patterns