This article shows how to use dotnet publish to create a Docker image without using a Dockerfile – including deployment with GitHub Actions. Continue reading No more Dockerfiles with the help of .NET CLI
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
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
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
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
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
In older solutions I’ve created a service that returns all the different configurations used by different projects in a solution, … Continue reading Azure App Configuration: Configuration of .NET Applications
Visual Studio 2019 has great support for Docker and Kubernetes. After opening a solution, Dockerfile files and Helm charts can be added from within the Solution Explorer. For simple project, it still can be too complex to work with Helm chats, define deployments and services. Defining a Dockerfile can be avoided as well. With .NET projects, all the information needed to create a docker image can be found in the project file. This is where the Project Tye comes into play – deploy Microservices to Kubernetes with minimal configuration. In this article I’m showing an example creating a .NET Core web application and API service, let it run locally with tye, and deploy it to an Kubernetes cluster. Continue reading Project Tye – easier development with .NET for Kubernetes
In a previous version of a Professional C# book I’ve written a complete chapter on how to create Windows Services … Continue reading Creating a Windows Service with .NET Core 3.0