Blog Posts

Health Check Ping with EF Core and MSSQL

Health Check Ping with EF Core and MSSQL

Sometimes it is quite useful to be able to send a query to the MSSQL server independently of its schema; for example to check if the server is princi

Why you should no longer use var in C#

Why you should no longer use var in C#

Beginning with C# 3, variables that are declared at method scope can have an implicit "type" var. An implicitly typed local variable is st

Embed Code into your blog - and also on Medium

Embed Code into your blog - and also on Medium

There are several ways to integrate source code including code highlighting into blogs, but GitHub Gists are by far the most convenient and best main

Requesting Microsoft Defender HTTP API with .NET and Refit

Requesting Microsoft Defender HTTP API with .NET and Refit

The Microsoft Defender API - or Azure Security Center API - is an interface to obtain security-related information from its M365 or Azure tenant. At

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.