Andy Blog

Full-stack developer

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 ...

ASP.NET Core Tutorial (2) release

Release via cli ASP.NET Core project is actually console application. Our project always contains a Program.cs file just like a console app. modify program.cs, add IIS or Kestrel integrat...

ASP.NET Core Tutorial (1) WebApi

download source code here Create project via Cli Install .net core sdk, .net core runtime at https://www.microsoft.com/net/learn/get-started/windows or https://www.microsoft.com/net/downl...

Team foundation server tutorial (1) - Introduction

Introduction Version control systems are software that help us track changes we make in our code over time. As we edit to our code, we tell the version control system to take a snapshot of our file...

Best practices for designing RESTful API

Naming convention Avoid camel caps because urls are not case sentitive. e.g. api.service.com/helloWorld/userId/x api.service.com/helloworld/userid/x are forwarded to same address. The norm...

AngularJS v1 tutorial (1) - introduction

Download source Project configuration Create an empty project folder Install via npm Create package.json npm init Edit package.json { "name": "test", "version": "1.0.0", "description"...