Quantcast
Channel: CSharp – csharp.christiannagel.com
Browsing latest articles
Browse All 21 View Live

Image may be NSFW.
Clik here to view.

Microsoft Build 2020 – Highlights

This Microsoft Build 2020 conference was very different from all the previous ones as a digital experience event because of the COVID-19 Coronavirus. Microsoft made it a great experience – with...

View Article


Image may be NSFW.
Clik here to view.

How Hello World! changed – top level statements and functions (C# 9)

C# 9 comes with many new features to enhance productivity and fix bugs. One productivity enhancement comes for small programs and learning C#: top level statements. This also allows for a new way to...

View Article


Image may be NSFW.
Clik here to view.

C# 8 Updates

For all my readers of Professional C# 7 and .NET Core 2 I’ve uploaded the new bonus chapter 6 with C# 8 updates! This bonus chapter covers these C# 8 features: Nullable reference types Using...

View Article

Image may be NSFW.
Clik here to view.

Professional C# and .NET – 2021 Edition

The new edition of my book is available – covering .NET, C#, WinUI, ASP.NET Core, EF Core, and more! Compared to the previous edition, it not only covers the newest editions of C# and .NET, you don’t...

View Article

Image may be NSFW.
Clik here to view.

C# Nullable Features thru the times

Exceptions of type NullReferenceException are the most common errors with .NET applications. With C# 8, nullable reference types have been introduced to get rid of these exceptions. The new .NET 6 and...

View Article


Image may be NSFW.
Clik here to view.

Thrive Conference in Slovenia

The last time the Thrive conference was held was in 2019. Now it’s happening again May, 24-25 2022 in Bistrica, Slovenia. I’m excited to give two presentations and a one-day workshop. Are you...

View Article

Image may be NSFW.
Clik here to view.

EF Core Mapping with TpH, Generic Types and Value Conversion

EF Core has powerful options to map your domain model to a relational database. In this article, I’ll show you how to use the Fluent API to configure a hierarchy of generic classes to map to a single...

View Article

Image may be NSFW.
Clik here to view.

System.Text.Json Serializing Hierarchical Data

The System.Text.Json serializer that was introduced with .NET Core 3.0 gets new features with every new .NET version. With .NET 7, features such as type hieararchies, contract customization, and...

View Article


Image may be NSFW.
Clik here to view.

Primary Constructors with C#

To reduce the syntax needed when writing C# code, C# 9 added records with primary constructors. C# 10 then added records for structs. Using C# 12 you can create classes with primary constructors. This...

View Article


Image may be NSFW.
Clik here to view.

Converting Strings to .NET Objects – IParsable and ISpanParsable

A new feature of C# 11 allows abstract static members with interfaces. This makes it possible to define class methods to be used as a contract with a generic class implementation, e.g. using + and –...

View Article
Browsing latest articles
Browse All 21 View Live