Securing a REST API with a Secret and an Action Filter
A simple way to secure a private REST API is to insist that all incoming requests include a secret key in the HTTP header. This is surprisingly easy to do using a .Net Core...
A simple way to secure a private REST API is to insist that all incoming requests include a secret key in the HTTP header. This is surprisingly easy to do using a .Net Core...
Note: This class has been updated. Here’s a generic class that abstracts async HttpClient calls in .NET Core. It can be used, for example, to make calls from a desktop application or web site...
I often want to get (and less frequently set) the value of a class property using a string containing the property name rather than a standard dot reference. So instead of this: I want...
ASP.NET Developer, Writer, Chess Enthusiast I am an experienced developer using Microsoft and open source technologies, including: Languages : C#, javascript, CSS, HTML, Razor, WPF, XAML, VB Frameworks: .NET, .Net Core, Classic ASP, Angular, MVC, Razor,...