So let us start with basics What is AngularJs? AngularJS is a Javascript framework which helps in building web applications. AngularJS is distributed as a JavaScript file, and can be…
How to view Intermediate Language in C# using Ildasm.Exe
ILDASM (IL Disassembler) and ILASM (IL Assembler) – In this article, we will discuss What is Assembly and How to view Intermediate Language in C# using ildasm.exe. ldasm.exe (IL Disassembler).NET Framework (current…
How To Install Sitecore PowerShell console into Sitecore CMS
The module provides a command line (CLI) and scripting environment (ISE) for automating tasks. SPE works with the Sitecore process rather than the HTTP Context and it is capable of making…
Managing Node.js Versions with NVM(Node Version Manager)
Managing Node.js Versions with NVM is pretty easy and simple.Node Version Manager (NVM) is a clean and neat little bash script which allows you to manage multiple versions of Node.js…
Detect If Internet Connection Exists with JavaScript
There are times when the user might be browsing and loose the internet connectivity all of a sudden or user might be doing an offline browsing which comes basically from HTML…
Scope of variables in JavaScript
What is the scope of variables in Javascript? Scope in javascript refers to the variables and the functions which are accessible and in what context it will be executed. There are…
How to rebuild sitecore search indexes?
You might come upon certain situations where you need to rebuild Sitecore search indexes instantly for ex: when you deploy huge contents into the live production environment if the indexes are…
Javascript URLEncode
Let us take a look at what would be the best approach for Encoding URL using Javascript. There are basically 3 Javascript URLEncode methods available. Types of Javascript URLEncode escape()…
How to install Sitecore Rocks for Visual Studio
Sitecore Rocks integrates directly with Microsoft Visual Studio 2010, 2012, 2013 and 2015 and gives developers a fast, streamlined development experience by letting them use the tools that they are…
How To Install and Configure Sitecore
Sitecore is an CMS( Content Management System) platform developed using Microsoft .NET and also is a customer experience management company that provides web content management and multichannel marketing automation software,…
Javascript code to disable mouse right click
You could use Javascript code to disable mouse right click on the webpage. This article demonstrates two methods to disable the context menu with the right click of a mouse…
Using Solr or Lucene in Sitecore
Sitecore supports both Lucene and Solr search engines. As a developer, there is always a confusion of Using Solr or Lucene in Sitecore during development. However, these are the 2…
Publish items in Sitecore programmatically using API
In Some scenarios if you would like to publish items in Sitecore programmatically using API from Master DB to web or pub Database then we can use the Sitecore Publishing…
Create items programmatically based on template in sitecore
How do you insert an item into Sitecore programmatically based on the template? Sitecore is famous because of it provides a lot of Apis from which you can create, edit,…
How do I escape a single quote in SQL Server
A single quote can be escaped by doubling them up in MSSQL server. There are many ways to escape a single quote in SQL server. Let us look at the…
How to Delete Duplicate Rows in sql
There are many ways to identify and delete duplicate rows in SQL. The best way to achieve this would be by using the ROW_NUMBER over Partition by column list. This…
How to find nth highest salary using SQL query
This is a common SQL question which will be asked in most of the interviews and also if you are working related to the financial application then most of them…
How to Send email in .NET through Gmail
It is easy to send email in .net through Gmail using the System.Net.Mail namespace. The below example will help you to send a simple plain mail using Gmail SMTP method.…
How to remove all content items of language in sitecore using powershell script
The Sitecore PowerShell Extensions module (SPE) provides a robust environment for automating tasks within Sitecore. We can use PowerShell to remove all content items of language in Sitecore without writing any C# code…
How to detect if document has loaded using Javascript or Jquery
A page can’t be manipulated safely until the document is “ready.” You might come across various scenarios where you need to call some function or perform some tasks only after…
How to Include Null Values in JSON Output in MSSQL
One of the top features of MSSQL server 2016 is built in support of JSON. The data from the MSSQL can be exported to JSON by adding the FOR JSON…
How to Format Query Results as JSON in MSSQL
One of the top features of MSSQL server 2016 is built in support of JSON. Yes, now we can format query results as JSON in MSSQL 2016 version onwards. The…
How to add root node to JSON output in MSSQL?
MSSQL 2016 has a new feature where you can return the data as JSON output format and also add root node to JSON output in MSSQL. Checkout MSSQL Built-In JSON…
How to upgrade Node.js via NPM
There are many utilities which require the latest version of Node.js to run properly until you upgrade to latest version of node.js you will not be able to download those…
How to get query string values using JavaScript?
Here is a very simple method to get query string values using javascript. Below code snippet can be used to fetch the query string value in the URL when the…
How to redirect page using Javascript or Jquery
Redirect Page using Javascript There are multiple ways in JS to redirect page using javascript. The best way is to use window.location.href as it preserves the history when you hit…
Enums in Csharp Programming Language
What is Enums in C#? enum (C# Reference) The enum keyword is used to declare an enumeration, a distinct type that consists of a set of named constants called the…
How to find size of table in MSSQL?
Everyone would have come across a scenario where there is a need to find the Size of the table in MSSQL. There are multiple ways to find size of table…
How to check if string contains another substring
The easiest way to check if the string contains another substring is by using indexOf() Javascript method. The indexOf() method returns the position of the first occurrence of the specified…
What’s the difference between String and string
Most of the new developers will have this question and confusion if they need to use as string or String. To answer in simple, there is no difference between String…
Get absolute URL using Javascript
Below is the simple method to get absolute URL using javascript. This code can be run on the Browser Console directly. Open the developer tools and navigate to console tab…
How to configure Git proxy?
If you are working in a corporate company all the internet requests usually go through the corporate firewall. The Git will simply throw one of these errors “Request timeout” or…