Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

287 total results found

Moving MSSQL Databases

SQL Server

Here are steps to move SQL Server databases from one volume to another. WARNING: These steps assume that you can take the SQL engine offline as needed for this activity. General Notes This page is broken up into separate moves, one for each type of database...

EF: Dynamic DBContext

.NET

This library contains a slightly different dbcontext implementation than our typical three-layer dbcontext library. We've created a library that fits the following use cases: Provides an Entity Framework DbContext. Works with these backends: MSSQL Pos...

EF: Logging

.NET

Here's some notes on how we implement logging in EF. We've currently implemented it in our dynamic domain dbcontext, DynamicDbContext. To make it work, we just have to create an instance of DbContextLoggingConfig, and pass it to our top-level dbcontext const...

programming
logging
dotnet
.net

Windows File Explorer - Spawn New Window

System Administration

Recent versions of Windows OS changed the behavior of how the Start Menu spawns applications. Specifically: If an app is already open, clicking its Start Menu entry will pull the open app to foreground, instead of opening a new window. For things like File E...

deployment
windows
Administration

VS Library - csproj Contents

.NET

Here are some standard things for the csproj file of a .NET library project. The top Property Group should list the following things: <PropertyGroup> <TargetFramework>net6.0</TargetFramework> <PackageId>OGA.NugetRepoClient.Lib</PackageId> <P...

dotnet
.net
programming

.NET 5 Global Using Error

.NET

If you have a project that is targeting a .NET 5, and you see the following error, follow this page: The error indicates that your csproj file likely has a statement that only works in .NET6 (C# v10) and later. Open your csproj file and look for a statemen...

dotnet
.net
programming

Bambu P2S Videos to Watch

Printing

https://www.youtube.com/watch?v=XaU5Da310ws https://www.youtube.com/watch?v=l5MKDG0MO5s  

Bambu P2S Mods

Printing

Modifications to print for the P2S and AMS2: https://makerworld.com/en/models/1286770-ams-2-pro-saver-snag-cutter-v1-2#profileId-1316062 https://makerworld.com/en/models/1254274-ptfe-tube-cutter-the-bowden-puck?from=search#profileId-1277307 https://makerwor...

Debian 13: Use Private NTP Server

System Administration

Status For hosts in isolated VLANS, we provide access to a local NTP server, via firewall rules. The local NTP server is at: 192.168.1.12. See this page for the local NTP server: Local GPS NTP Time Server The main router includes a floating firewall rule t...

Royal TS: Using SSH Keys

System Administration

This is a workaround for using SSH keys in Royal TS. Background Royal TS does not provide an easy means to specify the username for an SSH key connection. So, when connecting to a linux host with an SSH key, the host will prompt you for the username. This ...

Debian VM Template

System Administration

Purpose These instructions are for standing up a Debian 13.4 VM to be used as a template in an isolated manufacturing network. It will be prepopulated with packages we anticipate needing: NGINX SubVersion net-tools Docker nano python sqlite NOTE:...

debian
deployment
infrastructure
Linux
Administration

VMWare Export OVA

System Administration

Here are instructions for how to export an OVA from a VSphere host. Locate your credentials for the ESXi host. Identify the inventory name of the VM that you want to export. Download the VMWare-ovftool. A copy is here: "\\192.168.1.211\Programs\VMWare\OVF ...

NET5 Unit Test CSPROJ Content

.NET Template Project Structures

<PropertyGroup> <TargetFramework>net5.0</TargetFramework> <!-- NoWarn below suppresses NETSDK1138 project-wide --> <!-- This suppresses the IDE warning that NET5.0 is out of support. --> <NoWarn>$(NoWarn);NETSDK1138</NoWarn> <!-- N...

NET6 Unit Test CSPROJ Content

.NET Template Project Structures

<PropertyGroup> <TargetFramework>net6.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> <IsPackable>false</IsPackable> <IsTestProject>true</IsTestProject> <!-- NoWarn below suppresses CS...

NET7 Unit Test CSPROJ Content

.NET Template Project Structures

<PropertyGroup> <TargetFramework>net7.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> <IsPackable>false</IsPackable> <IsTestProject>true</IsTestProject> <!-- NoWarn below suppresses CS...

NET5 CSPROJ Content

.NET Template Project Structures

<PropertyGroup> <TargetFramework>net5.0</TargetFramework> <!-- NoWarn below suppresses NETSDK1138 project-wide --> <!-- This suppresses the IDE warning that NET5.0 is out of support. --> <NoWarn>$(NoWarn);NETSDK1138</NoWarn> <Package...

NET6 CSPROJ Content

.NET Template Project Structures

<PropertyGroup> <TargetFramework>net6.0</TargetFramework> <PackageId>OGA.HBD.Lib</PackageId> <Product>OGA HBD Library</Product> <Description>OGA Host Bootstrap Document Library</Description> <AssemblyName>OGA.HBD.Lib</AssemblyName> ...

NET7 CSPROJ Content

.NET Template Project Structures

<PropertyGroup> <TargetFramework>net7.0</TargetFramework> <PackageId>OGA.HBD.Lib</PackageId> <Product>OGA HBD Library</Product> <Description>OGA Host Bootstrap Document Library</Description> <AssemblyName>OGA.HBD.Lib</AssemblyName> ...

GitHub Personal Access Tokens

HowTo

These expire annually. We use a couple for testing and automated access. Creation To create a new token, open the GitHub page. Click on your profile in the upper right. Scroll down and click Settings. Scroll down to the bottom of the left-hand menu, an...

Sorting a List Collection of Type

.NET

You will come across the need to sort a list of types, at some point. This method will do In-Place Sorting: list.Sort((a, b) => a.SomeProperty.CompareTo(b.SomeProperty)); Example: var people = new List<Person> { new Person { Name = "Alice", Age = 30 ...

programming
dotnet
.net