Web applications

Last updated:

Minify JavaScript, CSS and compress images

Minify JavaScript and CSS the easy and fast way, with YUI Compressor and UglifyJS on the Linux, macOS and Windows command line.

Codebase

Last updated:

Add (custom) headers to MailMessage class

The System.Net.Mail Namespace leaves out the required Message-ID header in email. Here is how you can add this important header to your email, to make sure email arrives.

Umbraco

Last updated:

Configure SQLServer sessionState for Umbraco

Configure Umbraco for SQLServer sessionState storage and prepare Umbraco for high performance web garden or web farm, and load balancing environments. This post explains it all.

Web applications

Last updated:

Optimize images for the web in bulk

Lossless compress and optimize hundreds of PNG images for the web in bulk, using OptiPNG on the Windows command line.

Windows Server

Last updated:

Create your own CDN using IIS Outbound Rules

Use IIS Outbound Rules and URL Rewrite Module to create a custom created Content Delivery Network (CDN) for static content ofloading and speed-up your website.

PHP logo by Colin Viebrock

Codebase

Last updated:

Connect to MS SQL Server with PHP 5.3+

As of PHP 5.3.2 you have to use the SQLSRV API functions to connect to an Microsoft SQL Server database from PHP. For example, use sqlsrv_connect() to create a connection resource and open a connection. Learn how to connect to a Microsoft SQL Server database using PHP 5.3+ and SQLSRV.

Useful

Last updated:

Redirect HTTP to HTTPS

In this post I provide you various HTTP to HTTPS redirection methods, for Windows Server IIS and Linux Apache. Use these examples to your advantage to secure the traffic between your visitors and your website.

Web applications

Last updated:

Create your own PHP based Origin Pull CDN

The advantage of having your website content hosted on a Content Delivery Network (CDN) is having your content distributed and stored across the Globe. Utilizing the network of the Content Delivery Network provider.

Windows Server

Last updated:

Start all stopped application pools in IIS 6.0

Learn how to start all stopped application pools with VBScript and ADSI in IIS 6.0, by querying the Metabase for AppPool objects and their state.