String.Empty, string.Empty and “” in C#

28 Dec 2018 | Kolappan N | C#
All the three above mentioned codes have the same value in C sharp, the value of an empty string. What is the difference between them and what must be used? Let us discuss These values are identical such that, String.Empty == string.Empty == “” will return true. Equating various empty...

Edge Switching To Chromium Is Not Bad, It Is Actually Good

07 Dec 2018 | Kolappan N | Opinion Microsoft Microsoft Edge Windows
Microsoft recently announced that they are going to replace their browser’s rendering engine with Open Source Chromium engine. This news has received some mixed reaction. But there is a lot of good news and here are some of it. Better built-in browser One thing we all can agree is that...

Key takeaways from Linkedin site speedup meet

06 Oct 2018 | Kolappan N | SEO Web Technologies
I attended an event of website performance organized LinkedIn, India conducted on 06, October 2018. It was an extremely useful event and I would like to share some key things that I learned. Linkedin site speed meetup banner image 1. Analyze and record everything The first thing is to record...

Constants and static readonly variables, A Comparison

10 Aug 2018 | Kolappan N | C#
There are two ways to create a immutable variables in c#. One is by using static read-only functionality and the other is by using constants. Today we are going to see which approach is better. The main difference between the two is that the static read-only variables are initialized in...

NOLOCK is not bad

07 Aug 2018 | Kolappan N | SQL Database Best Practices
All over the internet when someone asks about using NOLOCK they are flooded with responses that say not to use it, never to use it, etc… But NOLOCK is not as bad as it is made to be. It is infact really good when used under right circumstances. NOLOCK can...

Best practices for writing SQL stored procedures

18 Jun 2018 | Kolappan N | SQL Database Best Practices
Below are some of the best practices / code conventions for writing SQL stored procedures. 1. One function per stored procedure Always make sure that a stored procedure does only one task. If you are having a stored procedure doing multiple tasks split them. Reason: This makes the code modular,...

Securing your data in Web.config

05 Jun 2018 | Kolappan N | .Net C#
Why use Web.config instead of say database? There are some advantages for storing data in web.config files. There are some things for instance database connection string that cannot be stored in a database. Storing data inside the code as Constants or Enums mean that it will be difficult to change...