C# Nullable Reference Types: IntelliSense Confusion 2020-02-13 16:49 UTC .NET .NET Core C# Visual Studio The feature and concept of Nullable reference types were introduced in C# 8.0 and it basically made all types non-nullable by default and ensured that these...
PowerShell LINQ with Short Aliases 2019-07-15 17:04 UTC .NET C# LINQ PowerShell Most modern applications or code today deal with some kind of filtering or querying. In C# and .NET, we have Language Integrated Query (LINQ), which we also...
HTML Encode TagHelper in ASP.NET Core 2019-06-27 14:31 UTC .NET .NET Core ASP.NET ASP.NET C# Core HTML Razor For a specific scenario recently, I wanted to display the HTML-encoded output of a TagHelper in ASP.NET Core. So I wanted to use the TagHelper, but not output...
API Rate Limit HTTP Handler with HttpClientFactory 2019-02-18 16:01 UTC .NET .NET Core C# HTTP Most APIs have a Rate Limit of some sort. For example, GitHub has a limit of 5000 requests per hour. This can be handled, as a consumer of the API, by limiting...
dotnet-guid: Generate GUIDs/UUIDs with the Command Line 2018-12-29 10:58 UTC .NET .NET Core .NET Core Global Tools Projects There have been a few projects, although not many, which I've been involved in, where generating GUIDs/UUIDs has been important. For that, I used to use...