2931

Virtual Networks

Virtual Network(VNet): The Virtual Network is an isolated private network that supports connectivity between resources via private IP addresses. Subnet: This is a private address space within a Virtual Network, where supported Azure resources are deployed to. A virtual network has one or more subnets. Resources that require network connectivity must reside in a subnet. […]

Read More
1497

Array

Array :  An array is a fixed-size collection of the same type of elements. We know that variable can store single value but it does not support to store multiple values. So, C# introduced an array to overcome the problem. Array is a reference type and it uses a namespace System.Array. Array is a fixed-size […]

Read More
1789

Replace all commas in a string using angular

Today, I was trying to replace commas in a string using TypeScript. I know the replace method will help us to do it. In C#, you usually use a replace method like below which will replace all commas in a string. var str = “A,B,C,D”; Console.WriteLine(str.ToString().Replace(“,”,””)); Output: ABCD But, when I tried a replace method using TypeScript then I have […]

Read More
712

Create angular application using visual studio code and angular CLI

To start with creating a new angular application You need Node.js and Angular CLI installed on your machine. Step 1: Install Node.js You can download Node.js from nodejs.org website or Click here to navigate to site. You will land on the below page. The latest LTS version is 10.13.0 which includes NPM. Based on your […]

Read More
679

NPM command cheat sheet

In this article, you will learn various NPM commands with a detailed description of each command. 1. npm install Install all package mentioned in ‘package.json’ npm install –save: Install a package and update the installed version and package name in package.json npm install –save-dev: Install a package as devDependency npm install –save-exact: Install with exact […]

Read More
758

Why Angular is so popular?

Nowadays, most enterprises are choosing AngularJS technology for building applications. This article will make you know the reasons for the popularity of AngularJS technology. What is AngularJS? AngularJS is an open-source, front-end JavaScript framework developed by Google for developing client-side applications. AngularJS simplified the client-side development with its highly recommendable feature. It excels at building dynamic, single-page web apps (SPAs) […]

Read More
1963

How to replace multiple characters in a string?

There are various ways by which we can achieve string replacement in the current string. Let’s start a discussion on the different ways of replacement of multiple characters in a string. 1. String.Replace Method: The string.Replace method returns a new string in which all occurrences of a specified character or string in the current string are replaced […]

Read More
826

How to check a string is empty or null?

We always face a situation where we have to check whether the string is empty(non-null) or null. Most of the time we fail to check null or empty string as we consider them as same terms but actually, these both terms are different. Let’s see the different ways to check null or empty string. string industry=””; […]

Read More
1031

What is static class?

Static Class: A static class is a collection of unrelated methods like utility/helper classes. Hence, it is not related to the real-world object. you can not create an object of it. If the “Static” modifier is used to define a static class along with class name which makes class non-instantiable. If the static modifier is used […]

Read More
1025

What is partial classes and methods?

Partial classes: This feature enables you to split the definition of a class over multiple physical source files with a .cs extension. Each source file contains a section of the type or method definition, and all source files are combined as a single file when the application is compiled. The partial modifier can be applied to a […]

Read More