All Articles

Remove specific class from all elements - jQuery
October 23, 2017 · 1 min read

This a short article about how can we remove a specific class from all elements that do have the class easily using jQuery.

Sitefinity Rookie Guide : Get Users in a Custom Role
October 21, 2017 · 1 min read

To get users in a custom role, make sure to use the Role manager with Default Provider in Sitefinity.

Git branch not showing in Visual Studio Team Explorer
October 11, 2017 · 2 min read

If you are having trouble to see the newly created (remote) git branches in the Visual Studio Team Explorer, try the workaround provided in this article.

Hunting security bugs in an old web application
October 09, 2017 · 4 min read

In this post, I am sharing one of my security bug hunting experience in an older ASP.NET web form project.

Get/Set hidden field value using jQuery
October 01, 2017 · 1 min read

This article explains how to set and get hidden field value using jQuery.

Redirect HTTPS requests to HTTP using IIS Rewrite rule in Web.Config
September 28, 2017 · 1 min read

Use the provided rewrite rule to redirect HTTPS requests to HTTP.

Redirect HTTP to HTTPS using Web.Config in IIS
September 25, 2017 · 1 min read

Use IIS Rewrite rule to redirect all HTTP request to HTTPS.

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#.