Calling .NET types from PowerShell is not always as straightforward as it
seems. Here’s how I was able to use the
PasswordHasher
to generate a hash compatible with ASP.NET Core Identity’s AspNetUsers table.
ASP.NET Core has built-in, customizable health check middleware. A utility can
periodically probe the health endpoint to determine the health of the web app,
which is useful if your web app is load-balanced or hosted in Kubernetes.
This post is about implementing a custom health check that you can configure to
track any Event Counter.