Andy Blog

Full-stack developer

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

Autofac Tutorial

Introduction Workflow add autofac package via nuget create an IOC container var builder = new ContainerBuilder(); var container = builder.Build(); register ...

Command & Rollback design pattern practice

Outline Introduction Mamonto pattern Workflow Benefits Implementation steps Sample code Command pattern Workflow Benefits Impleme...

ASP.NET authentication

Form authentication ASP.NET create a windows form project web.config <authentication mode="Forms"> <forms name=".ADAuthCookie" timeout="10" ...

Asynchronous programming tutorial in Angular

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

Hangfire Tutorial (2) Job Types

Introduction There are different types of background tasks. In previous posting, we create a simple one-time-running task (namely fire-and-forget job). Here is a list of types of job. Fire-and-fo...

Hangfire Tutorial (1) Introduction

Overview Scheduling jobs in Web applications is a challenge, and we can choose from many job scheduling frameworks. Hangfire: an open-source framework that helps us to create, process and...