data binding

Data Binding in angular

Data binding deals with how to bind your data from component to HTML DOM elements (Templates). We can easily interact with application without worrying about how to insert your data. We can make connections in two different ways one way and two-way binding. Before moving to this topic, let’s create a component in Angular 8. […]

What is TypeScript Data Type – Any

TypeScript has type-checking and compile-time checks. However, we do not always have prior knowledge about the type of some variables, especially when there are user-entered values from third party libraries. In such cases, we need a provision that can deal with dynamic content. The Any type comes in handy here.Example: Any Copy The above code will […]

What is TypeScript – Union

TypeScript allows us to use more than one data type for a variable or a function parameter. This is called union type.Syntax: (type1 | type2 | type3 | .. | typeN) Consider the following example of union type.Example: Union Copy In the above example, variable code is of union type, denoted using (string | number). So, you can assign […]

Top 10 VS Code extensions for 2021

Visual Studio Code is one of the most widely used code editors in the developer community. One of the reasons for VS Code’s popularity is its many extensions that speed up the development process. In this guide, we’ll explore the 10 VS Code extensions every web developer should know in 2021. These tools are designed to improve the […]

TypeScript – String

String is another primitive data type that is used to store text data. String values are surrounded by single quotation marks or double quotation marks.Example: TypeScript String Type Variable Copy Template String Since TypeScript version 1.4, TypeScript has included support for ES6 Template strings. Template strings are used to embed expressions into strings.Example: Template String Pre-ES6 Copy […]

TypeScript Data Type

Just like JavaScript, TypeScript supports number data type. All numbers are stored as floating point numbers. These numbers can be Decimal (base 10), Hexadecimal (base 16) or Octal (base 8).Example: TypeScript Number Type Variables Copy In the above example, let first:number = 1; stores a positive integer as a number. let second: number = 0x37CF; stores a hexadecimal as a […]

TypeScript – Variable

TypeScript follows the same rules as JavaScript for variable declarations. Variables can be declared using: var, let, and const. var Variables in TypeScript can be declared using var keyword, same as in JavaScript. The scoping rules remains the same as in JavaScript. let To solve problems with var declarations, ES6 introduced two new types of variable declarations in JavaScript, using […]

Learn TypeScript in 5 minutes – A tutorial for beginners

TypeScript is a typed superset of JavaScript, aimed at making the language more scalable and reliable. It’s open-source and has been maintained by Microsoft since they created it in 2012. However, TypeScript got its initial breakthrough as the core programming language in Angular 2. It’s been continuing to grow ever since, also in the React […]

learn angular

Learn Angular in this free 33-part course by Angular-expert

According to the Stack Overflow developer survey 2018, Angular is one of the most popular frameworks/libraries among professional developers. So learning it increases your chances of getting a job as a web developer significantly. That’s why we’ve teamed up with one of the most renowned experts on the framework, and created a free Angular course at Scrimba. In this […]

Top 10 .NET Core Libraries Every Web Developer Should Know

Open-source libraries significantly reduce developers’ work and allow them to create and manage their applications easily. In this article, I’ll describe some of the most useful .NET Core libraries that every developer needs to know: Swashbuckle Polly AutoMapper SaasKit Diagnostics.HealthChecks MailKit CacheManager Dapper Ocelot NLog Swashbuckle Swashbuckle is a library that generates beautiful API documentation, including […]