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

52 total results found

Development

angular
programming

Angular Dev

angular
programming

Spawning Processes into Interactive Sessions

.NET

Starting a Windows process using .NET is normally an easy thing.You call Process.Start() with a little setup, and the process runs. But, that starts a process in the same Windows session as the thread that calls Process.Start(). This, of course, doesn’t work...

windows
programming
dotnet
.net

When Two Referenced Assemblies Have Overlapping Namespace

.NET

You will come across a problem at some point, where you will use a class, that exists in two libraries that your project references. This problem is identified by the CS0433 compiler error, “The type exists in both…”. To workaround this, without updating one...

debugging
programming
.net
dotnet

C# Equality Operator Overloading

.NET

Here’s a good example for how to implement operator for equality (==, !=, .Equals()). This is taken from the Version3 type in OGA.SharedKernel.Lib. NOTE: These overrides include method signatures for older and newer NET Framework versions. Equal / Not Equal...

.net
programming
dotnet

Net Deep Copy/Cloning

.NET

Below are some references for different methods of accomplishing deep copies of object types. NOTE: You will need to evaluate which technique is better for your use case, as there is no single solution for all. This is because of several factors: Time-co...

programming
.net
dotnet

DotNet Startup Remote Debugging Hook

HowTo

When performing remote debugging of an application or service, it may be necessary to see what is happening during early startup. Adapted from this article: I Wish I Knew About Debugger.Launch Earlier Normally. By the time you have started the remote process...

dotnet
.net
programming
debugging
deployment
remote-debug

DotNet Assembly Searching

.NET

Here are notes about the Assembly Helper classes that are part of OGA.SharedKernel.Lib and OGA.Common.Lib. Use Cases There are several use cases for searching loaded and referenced assemblies for classes and types.Here are some examples: Identify top-le...

programming
.net
dotnet

Windows .SSH Config File Syntax

HowTo

Here are use cases that require editing the SSH config file in your Windows user profile. References Syntax reference for the SSH config file is here: https://www.ssh.com/academy/ssh/config Tutorial for creating them: https://betterprogramming.pub/a-step-by...

SSH
programming
git

Angular: Sorting Arrays

Angular Dev HowTos

Here’s a simple technique for sorting an array of objects. It accepts a simple function that returns a 1 or -1 result. // The questions property is an array of objects with a display order property. // We want them to be ordered ascending. // NOTE: The sor...

programming
angular

How to Override Styles of Third-Party Components

Angular Dev HowTos

This is a quick how to, for overriding the styles used inside third party angular components. For example: The Clarity angular library includes a datagrid (clr-datagrid), which has an obligatory margin at its top and bottom, which creates too much whitespace ...

angular
programming

How to Set Properties of a Web Component

Angular Dev HowTos

Attribute binding can get complex. Here’s a running list of examples of how to do it. To set properties on a Web Component use the Angular [property] binding syntax. To listen to events use the Angular (event) binding syntax. <!-- - status - attribute sty...

programming
angular

How to Override Property Type In Derived Interfaces

Angular Dev HowTos

Sometimes, an interface is created that the wrong datatype for a property.This can be because the interface is from a third-party or because you are composing a more specific interface type and need to swap out more generic properties of the base type. Taken ...

programming
angular

Jenkins Notes and Links

Jenkins

Here are links to Jenkins references. Jenkins User Manual: Jenkins User Handbook Dealing with the Jenkins System Account: Jenkins: Home Profile

deployment
infrastructure
.net
dotnet
programming
angular
angular
Jenkins
Linux

NVM - Node.js Version Manager

Angular Dev

When maintaining Angular apps and other Javascript-based libraries, you will come across the need to have a specific version of Node.js running on your development host.Node Version Manager, is a Windows based package, that will swap in desired versions of Nod...

angular
programming

VSCode CORS

Angular Dev

When debugging webUI projects in VSCode, it can be necessary to disable any CORS checking, so that VSCode can serve your app, while your backend API calls point elswhere. Aside: For more information on how to debug Angular applications in VSCode, see this: De...

angular
debugging
programming
VSCode

VSCode for GoLang

GoLang Development

From this page: https://learn.microsoft.com/en-us/azure/developer/go/configure-visual-studio-code 1. Install Go Install Go from the official page. This installs the compiler, the Standard Library, and many tools to perform various common tasks during Go deve...

debugging
programming
GoLang
VSCode

Angular: Add Query Parameters without Router

Angular Dev

Sometimes it is necessary to add query parameters to a REST API url without going through the Angular router logic, such as when doing paginated lists on large tables. To make this easy to do, just use the HttpParams module. Import it with: import { HttpPar...

angular
programming
.net

Angular Dynamic Routing

Angular Dev

Here’s a technique for implementing dynamic routing, where we want a common page or component to serve multiple route paths. If you’re interested in passing query parameters through Angular routes, see this: Angular: Add Query Parameters without Router Imple...

angular
programming

Angular: Get Button Name

Angular Dev

When building navigation, or handling button clicks, it’s sometimes necessary to retrieve the name of a button (or other control) from the click event. This is done by drilling into the MouseEvent that is passed into the handler. Basically, we get the target ...

angular
programming

Angular Context Menu

Angular Dev

Here’s some notes on context menus in Angular. This article was used as basis: Context Menus Made Easy with Angular CDK The above article reference included a working StackBlitz, downloaded, here: angular-yd6ay3.zip It uses the overlay functionality from An...

angular
programming
web-dev

Typescript This

Angular Dev

Taken from an older version of the Typescript handbook, as the latest does not include this, but is still relevant. This Learning how to use this in JavaScript is something of a rite of passage. Since TypeScript is a superset of JavaScript, TypeScript develo...

angular
TypeScript
programming