Holding on to that wire since 1976

Holding on to that wire since 1976

The random technical notes of a web developer

14 posts Latest first
Native backup of all databases in a Microsoft SQL database server

A T-SQL script to backup all non-system databases in a SQL Server instance in one go, with timestamped filenames.

SQL ServerT-SQLDatabaseBackup
1 min read
How to copy a working AWS CloudFront configuration and then update it

Using the AWS CLI to export a CloudFront distribution configuration, process it, and deploy it to another account or update an existing distribution.

AWSCloudFrontCLIDevOps
2 min read
SSL conversion of .pfx to .pem format

How to convert a Windows SSL certificate from .pfx format to .pem format for use with AWS services using OpenSSL.

SSLAWSOpenSSLSecurity
1 min read
Importing IIS logs into MS SQL

Two approaches for importing IIS web server logs into Microsoft SQL Server for analysis — using native BULK INSERT or Microsoft's Log Parser utility.

IISSQL ServerT-SQLLog Analysis
1 min read
Reinstall NuGet Packages without Updating

How to force a reinstall of NuGet packages in a .NET project without upgrading them to newer versions — useful when retargeting to a newer .NET Framework.

NuGet.NETVisual StudioC#
1 min read
Less bundling and minification in a C# ASP.NET MVC application

Setting up Less CSS preprocessing with bundling and minification in an ASP.NET MVC project using BundleTransformer.

ASP.NET MVCC#LessCSSNuGet
2 min read
Enable Remote Connections to SQL Server 2008

Step-by-step guide to configuring SQL Server 2008 Express on Windows 7 to accept remote connections through Windows Firewall.

SQL ServerWindowsFirewallNetworking
1 min read
Log4Net email logging

Configuring Log4Net to send email alerts when errors occur in a specific class — useful for Umbraco and other .NET applications.

Log4NetUmbracoC#.NETLogging
1 min read
Secure Umbraco Back-office logins

Forcing HTTPS for Umbraco CMS back-office logins using the umbracoUseSSL setting and an IIS URL Rewrite rule.

UmbracoIISHTTPSSecurityCMS
1 min read
Using Amazon SES to send email from Umbraco

Configuring AWS SES as the email provider for Umbraco forms and notifications, without managing your own SMTP server.

UmbracoAWSSESEmailCMS
1 min read
Redirecting a directory to HTTPS in IIS

Using an IIS URL Rewrite rule in web.config to force HTTPS for a specific directory and all its subpages.

IISHTTPSSecurityURL Rewrite
1 min read
301 Redirects in Umbraco

Configuring permanent 301 redirects in Umbraco CMS — both within the same site and cross-domain — using UrlRewriting.config.

UmbracoIISRedirectsSEOCMS
1 min read
Domain rewrites in IIS web.config

Using IIS URL Rewrite rules to consolidate multiple domain variants to a single canonical domain, preventing duplicate content SEO penalties.

IISSEOURL RewriteDomains
1 min read
Configuring FreeBSD as authoritative and caching name server

Setting up BIND on FreeBSD to function as both an authoritative DNS server for local development zones and a caching resolver, enabling .local domain testing across multiple devices.

FreeBSDDNSBINDNetworkingDevOps
3 min read