EF Core Mapping with TpH, Generic Types and Value Conversion

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 table, and to convert a collection to a store a single string in the database. #dotnet #efcore Continue reading EF Core Mapping with TpH, Generic Types and Value Conversion

Temporal Tables with EF Core 6

Temporal Tables with EF Core 6

Temporal tables keep changes of updates and deletes with specific tables. This is a feature of SQL Server since SQL Server 2016. Without using this feature from SQL Server, with EF Core often the behavior when saving objects was overridden to keep the data in the database. With updates from EF Core 6 and using SQL Server (including SQL Azure), just a few lines of code are required to enable temporal tables and use this feature as shown with this article. Continue reading Temporal Tables with EF Core 6

Professional C# and .NET – 2021 Edition

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 have to carry a book with 1500 pages – the number of pages have been reduced – but I made sure that all the important topics are covered, you shouldn’t miss anything important topics needed to develop applications with .NET, C#, and Microsoft Azure. Continue reading Professional C# and .NET – 2021 Edition

Microsoft Build 2020 – Highlights

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 announcements on Microsoft Azure, .NET 5, Windows, and more.
Here’s my view with a summary of announcements. Continue reading Microsoft Build 2020 – Highlights