Latest Posts


  • Creating a Windows Service with .NET 6

    Windows services are programs that are automatically started when the system starts up, or when the user logs in. They run in the background and can run with a different account than the logged-in user. .NET makes it easy to… Continue reading

    Creating a Windows Service with .NET 6
  • Upgrading an ASP.NET Core Web API Project to .NET 6

    Upgrading an ASP.NET Core 5 application to .NET 6, all what needs to be done is to change the project file for .NET 6, and update the NuGet packages to the new versions, and you’re done and can build and… Continue reading

    Upgrading an ASP.NET Core Web API Project to .NET 6
  • 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 C# 10 project templates turn on nullable reference… Continue reading

    C# Nullable Features thru the times
  • Using Azure Active Directory B2C with .NET

    Azure Active Directory B2C (business-to-consumer) is a version of the Azure Active Directory that allows users (consumers) to register with the application. This article shows how to create an ASP.NET Core application to use this great Azure service. Continue reading

    Using Azure Active Directory B2C with .NET
  • 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… Continue reading

    Temporal Tables with EF Core 6
  • 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… Continue reading

    Professional C# and .NET – 2021 Edition
  • C# 8 Updates

    Bonus chapter for Professional C# 7 and .NET Core 2 with updates for C# 8: nullable reference types, using declaration, readonly members, default interface members, async streams, switch expressions, pattern matching enhancements, indices and ranges, and more! Continue reading

    C# 8 Updates
  • Local Users with ASP.NET Core – ASP.NET Core Identity

    Authentication and authorization is a built-in feature of ASP.NET Core. Creating an application, you can select to authenticate with the Azure Active Directory or the Azure Active Directory B2C, or store user information in a local database with the Web… Continue reading

    Local Users with ASP.NET Core – ASP.NET Core Identity
  • 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 and simple programs also helps learning C#: top level statements. This also allows for a new way to create a “Hello… Continue reading

    How Hello World! changed – top level statements and functions (C# 9)
  • It’s all in the Host Class – Part 2: Configuration

    .NET Core gives flexible options to configure app settings. The Host class has DI, configuration, and logging built-in. Let’s look into the configuration part of the Host class. Continue reading

    It’s all in the Host Class – Part 2: Configuration