Category Archives: Software

Information related to software

IronPython Documentation

December 4, 2024

The information below is aimed at IronPython 2.7.3. This is the version used for scripting in SoftPro Select. The obvious question is why don’t we update? The obvious answer is – why?

IronPython 2.7.x CLR Library Methods/Properties

December 4, 2024

I was curious about the methods exposed when you do an import clr command. The source code for ClrModule.cs is here. Methods marked as “Advanced” are highly specialized and will not be covered. Methods AddReference(string[] references) : void Add DLL to internal list of assemblies useable by code. Adds a reference to a .NET assembly. Parameters can be… Read More »

Azure Pipeline Conditions

October 31, 2024

Typical task condition statements look like this PowerShell task: Below are example condition statements. Note that you cannot use macro variable format such as $(Build.SourceBranch). Case is ignored on the variable names. Other useful conditions are available from Microsoft. Template Parameter Conditions (From Microsoft documents) Parameter expansion happens before conditions are considered. Therefore, when you declare a parameter… Read More »

Using PowerShell in Azure

October 31, 2024

Let’s start by saying the PowerShell is one of the most opaque and crappy languages that was ever created. I’m glad some people like it – but as far as me, it sucks. Adding PowerShell to Azure YAML Build Script Adding PowerShell scripts is easy. The example below shows how to create a script with embedded PowerShell code.… Read More »

Add Build Output Messages to Azure DevOps

September 11, 2024

Azure has a tool that is used in many DevOps YAML scripts. It has many capabilities – to the point of wondering why they crammed so many unrelated functions into one construct. All of this information is from a Microsoft Azure DevOps Services page: Logging commands. Check it out because I will not list these options: Show percentage… Read More »

SQL Cheatsheet

August 15, 2024

Multiple “Order By” Clause Separate the order by clauses with commas. Use “CASE” to Convert Non-String to String Value In this example, we want do display the SettlementType value (an integer) as a human readable value in a column named “Settlement”. Resulting SQL view. Update Row Value The basic command is: For instance: