Skip to main content

Recently Updated Pages

EF: Derived Stored Types

.NET

If you want to create an entity type that happens to derive from another entity type, JUST TO sim...

Updated 6 months ago by glwhite

Example Derived Type

Object Management Stack

Here's a working example of a domain type that derives from the base type in this page: Base Doma...

Updated 6 months ago by glwhite

Base Domain Type

Object Management Stack

Here are notes about the base domain type, its usage, and design choices. NOTE: Some of these ar...

Updated 6 months ago by glwhite

Using Visual Studio with Git

.NET

Visual Studio brings in lots of files and folders that don't belong in a checked in repository. ...

Updated 6 months ago by glwhite

Unit Testing Conventions

.NET

Suppress Async Warning Project-Wide Since we have several calls to base classes for diagnostics ...

Updated 6 months ago by glwhite

EF - Backend vs .NET Datatypes

.NET

Here's a list of what datatypes that Entity Framework uses to store .NET datatypes in a couple di...

Updated 7 months ago by glwhite

EF - DataContext Attributes

.NET

When creating a provider-scoped data context (one for a specific backend), you need to decorate t...

Updated 7 months ago by glwhite

Unit Tests with PostgreSQL Backends

.NET

In order to easily stand up a Postgres database for unit and integration testing, we need a class...

Updated 7 months ago by glwhite

HowTo Make .Net Desktop App DPI Aware

.NET

For a better desktop UI experience, it is necessary to have access to the current screen size and...

Updated 7 months ago by glwhite

HowTo Access DI Services

.NET

NOTE: If you are looking for how to generate an instance of ServiceProvider, outside of NET Core ...

Updated 7 months ago by glwhite

Net Core DI Truths

.NET

References: NET Core DI Best Practices Here’s a list of behaviors of the NET Core DI registry: ...

Updated 7 months ago by glwhite

IServiceProvider vs IServiceScopeFactory

.NET

References: Net Core DI Truths Internet’s Claim of Anti-Patterns Contrary to what the internet ...

Updated 7 months ago by glwhite

How to Create IOptions Instance

.NET

It’s pretty standard for classes to require configuration in their constructors in the IOptions f...

Updated 7 months ago by glwhite

Overview

Object Management Stack

This is a series of pages that describe a generic object management stack. The idea being that i...

Updated 7 months ago by glwhite

Object Ids

Object Management Stack

Every object is uniquely identifiable, by a standardized UUIDv7. This datatype works across MSSQ...

Updated 7 months ago by glwhite

URIService Behind Hostname Separated NGINX Server Blocks

.NET

If you have an API service that is called by multiple server blocks of an NGINX proxy, and the se...

Updated 7 months ago by glwhite

Getting Correct Scheme, Host, Port Behind a Proxy

.NET

When running an API behind a reverse proxy, such as NGINX, the service will not, by default, see ...

Updated 7 months ago by glwhite

NGINX: Deploy SSL Certificate

System Administration

Here's quick instructions for deploying an SSL key/cert pair to an NGINX instance. NOTE: These s...

Updated 7 months ago by glwhite

How to Setup SSH Key Authentication to Linux

System Administration Ubuntu Server Setup

This how to consolidates several aspects of setting up SSH key access to a Linux server. NOTE: W...

Updated 7 months ago by glwhite

Vault as Root CA

System Administration HashiCorp Vault

Here are steps you can follow to setup a vault instance as a Root CA. NOTE: This page assumes th...

Updated 7 months ago by glwhite