Mar 13, 2021Using Github actions to automate CI/CD and deploy angular 11 apps to firebaseIf you have built an angular app, where would you deploy it? I have tried a number of cloud providers which you can achieve the same results, such as aws lambda, azure web app, netlify and google firebase, etc. I am writing a series of articles to demonstrate how to…Github Actions3 min read
Oct 25, 2020Create a markdown blog post and automatically converted code blocks to gist for publishing in MediumI started blogging with medium a while ago and I find their code block format is not ideal. After a few searches and clicks in google, I soon find out tech blogs are using gist as a great tool to embed code blocks into medium blog post. Then I started…Medium5 min read
Sep 12, 2020Create a dotnet core Cosnole app template with autofac dependency injectionsEvery time I create a new project, I have to go through exactly same steps to setup some open source libraries that I always use for any projects. For example I often use autofac as my dependency inject container and register a bunch of services and preconfigure them the same…Dotnet Core2 min read
Sep 5, 2020Nuget package triage for your .net solutions & integrated to CI/CD pipelinesDo you often work on a .net solution with many projects? Do you ever find Newtonsoft.Json is installed with different versions across the whole solution? And do you find some nuget packages are 5 years old that never have been updated or even been no longer maintained and unpublished? Or…Nuget5 min read
Aug 10, 2020Create a dotnet core API boilerplate template with most popular open source librariesEvery time I create a new project, I have to go through exactly same steps to setup some open source libraries that I always use for any projects. Here is my list of most popular github c# libraries for a web API app. Autofac Swagger Serilog AutoMapper Newtonsoft.Json nunit &…Dotnet Core2 min read
Aug 6, 2020Create Redis cluster + Docker + .Net Core 3.1 API for distributed cachingI am creating a template project to help you speed up development with redis distributed caching. This post will explain this in detail how you started with a 1-master + 3-slaves cluster and consume it using ServiceStack.Redis client in a .net core 3.1 web API. Part 1. Setup redis in docker I am using Bitnami’s docker…Redis5 min read
Jul 15, 2020Gitlab CI/CD pipelines to build and deploy .net core 3.1 app to AWS Lambda as serverlessGitlab is awesome and extremely helpful for dev ops and process automation. I am using gitlab for both personal and work projects. I am going to show you how you can enable build & deploy pipeline fairly easily in gitlab. Part 1. Create a sample project First let’s create a sample web api app and make…AWS Lambda5 min read
Jul 9, 2020Build a .net core 3.1 web api & deploy as serverless app to AWS LambdaThese days trading crypto currency is in hot water, I started trading tiny bit of bitcoins at coinbase, their platform is super easy to use and they provide really nice api for users to build their own trading apps etc. I am creating a deadly simple bitcoin price querying api…Net Core3 min read
Jul 8, 2020Create a web personal profile page with Hugo blog + Netlify for freeHugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again. Netlify is a tool to run sites globally and changes deploy automatically from your git repos. To achieve the goal of this article, you will need to…Hugo5 min read
Jul 7, 2020Create a COVID-19 dashboard with Angular 9 + Serverless + AWS LambdaServerless computing is a cloud computing model in which a cloud provider automatically manages the provisioning and allocation of compute resources. …Angular 96 min read