Andy Blog

Full-stack developer

Create Angular v2+ project (7) - Angular life cycle

Introduction Each component has a lifecycle managed by Angular. Generally, Angular creates a component and its children, set up data and listens to changes, renders it and children. Then, keep che...

Create Angular v2+ project (6) - service

Create singleton service There are two ways to make a service a singleton in Angular: Declare that the service should be provided in the application root. This is the preferred way and wil...

Create Angular v2+ project (5) - rxjs & observable

Introduction Asynchronous programming is an important technique to create web applications. It allows units of work to run separately from the primary application thread and makes main application ...

Create Angular v2+ project (4) - router

Introduction The Angular Router enables navigation from one view to another view when user perform some tasks. Also, it can pass optional parameters along to the target view component. There are b...

Create Angular v2+ project (3) - forms

Introduction Angular Forms provide a framework support for two-way data binding, change tracking, validation and error handling. There are two approaches to build forms in Angular. template-dr...

Create Angular v2+ project (2) - typescript

Introduction check version New features Pick vs Partial Partial and Pick are mapped types. They are used to create a new type using part of original type. e.g. interface PartialTask { id: stri...

Create Angular v2+ project (1) - introduction

Introduction Angular is a framework for building client applications in HTML and either JavaScript or a language like TypeScript that compiles to JavaScript. The framework consists of several libr...

C# Delegate and Event Tutorial

Introduction A delegate is a type that represents references to methods with a particular parameter list and return type. When you instantiate a delegate, you can associate its instance with any me...

ExpressVPN tutorial

Introduction ExpressVPN is a virtual private network service. The software is marketed as a privacy and security tool that encrypts users’ web traffic and masks their IP addresses. It has released ...

ASP.NET Core Tutorial (3) TagHelper

Introduction Tag Helper is server-side code to create and render HTML elements in Razor files. It is introduced in MVC 6. It is an alternative of HTML helper in MVC 5. There are many built-in Tag ...