Blog Posts

My Top Microsoft Ignite 2022 News

My Top Microsoft Ignite 2022 News

Microsoft Ignite is a classic IT conference, but it also has news for us developers regarding innovations in our ecosystem. Enclosed are the news tha

Compile Linq Expressions to increase performance

Compile Linq Expressions to increase performance

Expressions are now an absolute part of a developer's everyday life in .NET thanks to Linq. However, due to their nature, expressions are not one of

DateTime vs. DateTimeOffset - UtcNow vs. Now

DateTime vs. DateTimeOffset - UtcNow vs. Now

.NET has two principal ways for handling times: DateTime and DateTimeOffset. The big deficit of DateTime, which was also recognized early in .NET 1.0

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