All Stories

Redirect WWW to Non-WWW using Web.Config in IIS
September 19, 2017 · 1 min read

Use IIS rewrite rule to redirect (301) all www requests to non-www.

Determine Total Number of Open/Active Connections in MS SQL Server
September 16, 2017 · 2 min read

This article contains a SQL query which can be used to determine the total number of open/active connections in MS SQL Server. Also explains, how to solve the error "Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached."

Check if string is Arabic - C#
September 06, 2017 · 2 min read

In one simple line of code, we can check whether the given string is Arabic or not, in C#.

Xamarin development - problems and solutions
September 02, 2017 · 4 min read

Here I am listing the problems that I faced during mobile app development using Xamarin (Now focused on Xamarin Forms) and the solutions that worked for me.

Best Umbraco Packages
August 24, 2017 · 4 min read

My personal favorite list of packages I use when I build a Umbraco website.

Set selected option by value via jQuery
August 19, 2017 · 1 min read

This article describes how to set the selected option in a select by its value via jQuery.

Umbraco Get Current Page in Partial View
August 18, 2017 · 1 min read

This article describes how to get the CurrentPage of Umbraco in a partial view.

Event tracking with Google Analytics
August 17, 2017 · 1 min read

When you want to get metrics related to user interactions on various parts of your website Google Analytics (ga)  event tracking can be helpful and is easy to integrate as well.

Inserting Rewrite rule in Release Config
August 12, 2017 · 2 min read

Adding rewrite rule in release config is handy so that it will not affect during Debug mode.

Redirect non-www urls to www urls
August 12, 2017 · 2 min read

When considering SEO, either you have to stick with www versioned url or non-www URLs. Having both accessible for a domain is a bad practice.