Blog Posts

Configure Azure Active Directory for UserName-Password Login

Configure Azure Active Directory for UserName-Password Login

Attention: the following configuration is recommended only for testing or very trusted applications, since username and password could be intercepte

Parse HTML with .NET and the HtmlAgilityPack

Parse HTML with .NET and the HtmlAgilityPack

Parsing HTML with .NET can be a useful skill for any developer working on web applications or data analysis projects. One tool that can be particular

Use ASP.NET Core Options with an instance

Use ASP.NET Core Options with an instance

ASP.NET Core provides a built-in mechanism for configuring an application's options using the Options pattern. This pattern allows you to define a cl

Write XML Files asynchronously with .NET

Write XML Files asynchronously with .NET

Writing XML files asynchronously is a useful technique for improving the performance and scalability of your application. By using an asynchronous ap

Write Json Files asynchronously with .NET

Write Json Files asynchronously with .NET

Writing JSON files asynchronously is a useful technique for improving the performance and scalability of your application. By using an asynchronous a

ActivityPub Protocol

ActivityPub Protocol

ActivityPub is an open, decentralized social networking protocol that allows users to share content and interact with each other across the internet.

List local Windows Administator names with PowerShell

List local Windows Administator names with PowerShell

To list the local administator accounts, you can just use the group membership command Get-LocalGroupMember -Group "Administrators" Object

List local Windows Administator names with .NET

List local Windows Administator names with .NET

First, you need to install the NuGet Package System.DirectoryServices.AccountManagement Now you can open a context and get all members of the built-i

Enrich Token Claims with ASP.NET Core

Enrich Token Claims with ASP.NET Core

Often you have the requirement that you need or want to add additional claims to a token - either the, ID token or the access token. This is especial

Create Azure Active Directory App Registration with Azure CLI

Create Azure Active Directory App Registration with Azure CLI

There are now an insane number of ways to register applications in Azure Active Directory - but many ways are no longer supported or have been discon