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
.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
Microsoft has announced in an impressive blog post on the .NET DevBlogs that they have started an enterprise-wide migration to migrate backend servic
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
Beginning with C# 3, variables that are declared at method scope can have an implicit "type" var. An implicitly typed local variable is st
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
The Microsoft Defender API - or Azure Security Center API - is an interface to obtain security-related information from its M365 or Azure tenant. At
Attention: the following configuration is recommended only for testing or very trusted applications, since username and password could be intercepte
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
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
Writing XML files asynchronously is a useful technique for improving the performance and scalability of your application. By using an asynchronous ap