Skip to main content

Recently Updated Pages

EF: Dynamic DBContext

.NET

This library contains a slightly different dbcontext implementation than our typical three-layer ...

Updated 7 months ago by glwhite

Type Registry Helper

Object Management Stack

TypeRegistryHelper

Updated 7 months ago by glwhite

Mocking a DBContext for Testing

.NET

The easiest means to mock a data context for testing, is to use an in-memory database. An in-mem...

Updated 7 months ago by glwhite

EF: Data Contexts - DbContexts

.NET

When working in EF, you will come across the need to create a DbContext type. MS has a base clas...

Updated 7 months ago by glwhite

EF: Logging

.NET

Here's some notes on how we implement logging in EF. We've currently implemented it in our dynam...

Updated 7 months ago by glwhite

Moving MSSQL Databases

SQL Server

Here are steps to move SQL Server databases from one volume to another. WARNING: These steps ass...

Updated 8 months ago by glwhite

How to Stop Cell HotSpot Throttling

HowTo

Here's a simple thing to do, to get around hotspot throttling when tethered to a phone. What's h...

Updated 9 months ago by glwhite

App Local Storage Service

Angular Component Book

This service allows an app to store data in the browser's localstore. The local store is treated...

Updated 9 months ago by glwhite

OGA.PostGres.Lib Usage

HowTo

Here’s notes on how to create and manage databases with OGA.PostGres.Lib. This applies to use ca...

Updated 10 months ago by glwhite

RMQ Scenarios

Other

Change Events A service that needs to publish change events for a domain. An example of this wo...

Updated 10 months ago by glwhite

RabbitMQ Cloud Service RPC Conventions

Other

Here’s a list of conventions followed by cloud services for inter-service RPC communication. RPC...

Updated 10 months ago by glwhite

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 10 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 10 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 10 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 10 months ago by glwhite

Unit Testing Conventions

.NET

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

Updated 11 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 11 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 11 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 11 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 11 months ago by glwhite