Using MySQL in a Docker container with EF Core
Running MySQL in a Docker container, and accessing it from EF Core Continue reading Using MySQL in a Docker container with EF Core
Running MySQL in a Docker container, and accessing it from EF Core Continue reading Using MySQL in a Docker container with EF Core
The last time the [Thrive conference](https://thriveconf.com) 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 attending in-person? Continue reading Thrive Conference in Slovenia
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 create Windows services or Linux daemons as shown in this article. Continue reading Creating a Windows Service with .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 run the application. However, to take advantage of new features, and reduce the number of source code lines, some things can be changed – as shown in this article. Continue reading Upgrading an ASP.NET Core Web API Project to .NET 6
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 types. Over the times, many features in regard to nullability have been added to C#! This article shows many of these features. Continue reading C# Nullable Features thru the times
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 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
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
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
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 application. This article gives you the information to use local accounts, create roles programmatically from the application, and to restrict access to users belonging to specific roles. Continue reading Local Users with ASP.NET Core – ASP.NET Core Identity