Recently Updated Pages
Consuming NET Core Background Service with DI
To properly consumes a background service from a controller or another service, it must be regist...
Consuming Services Inside Startup
During Startup.ConfigureServices During application startup, the Startup.ConfigureServices metho...
C# Disposed in Derived Types
People make lots of references to Microsoft articles about how to properly handle Dispose in deri...
Layout Service
The layout service provides the means to display and swap in outer-frames of an app. This servic...
Strongly Typed Constant Parameters
You will eventually run into the need for a function to accept a restricted set of value for a pa...
PostGreSQL .NET DateTime Usage
.NET EF Core 6 made a breaking change to how DateTime is stored in PostGreSQL. This article expl...
PostgreSQL Permissions
Here are three major points you need to understand about object ownership: Only a superuser ...
Return Multiple Values from Async Method
Async method cannot have Ref or an Out parameters. So, we cannot pass back data from them through...
Create PFX Cert File (for IIS)
Windows IIS requires a pfx file when importing an SSL certificate. This can be created from a cr...
HowTo Retrieve Key and Cert from PFX
Here’s a good article on how to export SSL certificates, extract the key and certificate, and imp...
Six Ways to Multi-Thread
Six ways to initiate tasks on another thread in .NET
Kali in VMWare
Here are some things for installing Kali in a VMWare VM. Adapted from here: https://www.kali.org...
NET Core Error Responses
Here’s a decent mechanism for returning useful errors from a WEB API. Aside: We have a standing ...
Dotnet Dev on Linux
To create a new project at the current folder: dotnet new console --framework net6.0 --use-progr...
Process Logging Behavior
Here’s my current conventions for logging in application processes. Logging features, here are i...
Linux Disk Usage
Linux has a few means to analyze a disk for space usage. One way, is a package called, ncdu. It...
Jenkins References
Jenkins Tutorial — Part 5 — When Conditions Conditionals in a Declarative Pipeline Jenkinsfile ...
Regex Notes
Good site for testing Regex matching strings: https://regex101.com/r/iY5hU9/1
NET Core Func Variables
Here are some use cases for a Func. Func as Method Callback If you want to have a lambda that y...
Raspberry PI Notes
Here’s some references and notes for PI service and IO stuff. NET Core and GPIO on the Raspberry...