Use GitHub Actions to build and deploy with a private runner to deploy to IIS Project: ASPX Website on GitHub. Goal: Complete CI / CD using GitHub Actions to build and using self-hosted running to deploy to on-prem IIS server.
Category: Programming
Add WP Bootstrap Navwalker To You WordPress Theme
Why Add Bootstrap Navwalker? The main reason for adding this addition to your WordPress Theme is best said by its author [Git Link] “A custom WordPress Nav Walker Class to fully implement the Bootstrap 4 navigation style in a custom theme using the WordPress built in menu manager.” By implementing this code, you will be […]
TLS 1.2 with Classic ASP
Looking at Twillio docs Using Twilio with Classic ASP and VBScript we implanted Twillio SMS API We encountered the following error message: The TLS versions on the server appreared to be causing the error TLS 1.0, TLS 1.1 and TLS 2.0 We used https://www.ssllabs.com/ssltest to get the current TLS Configuration. The results showed TLS 1.0 […]
Classic ASP Function to Set Dynamic Image (1 of 2)
I reviewed some recent client Classic ASP code and found a 4 level deep branching of an IF statement. Reading the code, its intent is to look at the object type and return an icon representing the type. I try to stay away from IF statements altogether but using a SINGLE if statement is something I do […]
Adding Custom Properties to Objects in Classic ASP
I the last blog post Converting Recordset into Objects in Classic ASP we created a public function initialize(rs) which takes in a single row from the database and creates a single class object account. Our goal is to add a new property named fullname where we combine firstname and lastname We will update the public function initialize(rs) as follows: […]
Converting Recordset into Objects in Classic ASP
Now that you know how to create a Class and Objects in Classic ASP, we will look at Converting Recordset into Objects in Classic ASP. Lets create a Class account which has several properties. I usually use the database table account and copy the model so the Class matches the database model Class account public […]
How to create a Class and Objects in Classic ASP
Creating Objects in programming is one the best ways to have code that is easily maintainable. With new Classic ASP clients, I have found creating Classes and Objects is a very good way to begin refactoring legacy code. Class trip public arrive_date public depart_date End Class Here we have created a Class trip with 2 properties […]
Isotope Sorting Ascending / Descending
We worked on a project where we had a media library. We decided to use Isotope to filter/sort through a list of all the media items available. We wanted to the user to be able to sort through the items in both Ascending / Descending order. Below is how we accomplished that. By default, Isotope sorts ascendingly: […]
Deleting Custom Fields in WordPress
While working on a project you may have had custom fields that are left behind and that are no longer in use for the current theme these unused custom fields remain in your database. I came across this exact scenario when I was upgrading a section of a website that was outdated and needed to […]