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...
LINQ Distinct-Method using Lambda Expression 2018-08-21 05:33 UTC .NET .NET Core C# Entity Framework LINQ If you've ever wanted to filter a collection for a distinct result you probably know about the extension-method .Distinct in LINQ. It can be useful on simple...
API-Versioning in ASP.NET 2018-08-10 13:02 UTC .NET .NET Core ASP.NET ASP.NET Core C# Projects Routing The ASP.NET Route Versions-library was created after I was inspired by a discussion with a colleague and reading the great article Your API versioning is wrong...