Token Based Security: Angular Applications – Part 2

Introduction In previous post, on the topic of Token Based Security, we created an API endpoint and protect it (using Authorize attribute) with IdentityServer. Then we setup a simple Angular application with an AuthService to use oidc-client library. We also created few angular components and at the end of previous post, we created two buttons … Read more

Token Based Security: Angular Applications

Introduction I have written few posts on token based security, its importance, OAUTH, OIDC and IdentityServer. You can check previous post if you are new to these topics. Today, I will write about how to secure angular application with these technologies. We will see how to wire Angular application with IdentityServer. Angular application is a … Read more

AWS Applications Deployment Basics – Part 2 (Setup NGINX)

Introduction In the previous post of this series “AWS Application Deployment Basics”, we setup a PostgreSQL database and then we connect to it via a Nodejs application. However, the Nodejs application is running on the same machine and database access is local for it. It is a totally valid setup and because it is on … Read more

AWS Applications Deployment Basics – Part 1 (VPC and PostgreSQL Setup)

Introduction In this series about deploying applications in AWS, I will discuss different methods and steps required to run different applications in AWS. We will be covering different moving parts in AWS as needed to run typical applications. This series will be arranged in different parts to discuss different services, topics and/or technologies needed for … Read more

Node Dependency Management (Part2)

Introduction In my previous post about Nodejs – Dependency Management, we looked at basics of what is Nodejs module. How can we use module.exports and require to work with dependencies. How folder dependencies work and why they are useful. We all look at how Nodejs lookup system works to look for dependencies and some basics … Read more

Structure JavaScript Code

Introduction Modern JavaScript frameworks like Angular, Vue etc have built-in mechanism to structure JavaScript code. When not using these frameworks, we can use simple techniques to structure our JavaScript. In this post I will show you one of them using Revealing module pattern. This pattern is very popular and there are great many resources online … Read more

Dare mighty things – ASCII

Introduction NASA’s Perseverance Mars Rover landing was a historic moment. First time, we saw those moments of a rover landing on the Mars. That event was huge for many people watching this on their screens and it will inspire us for years. Every single image we saw after this landing contains a new surprise and … Read more

Deploying .NET Core, Angular and Postgres Web Application on Ubuntu (nginx)

Introduction In this post, I will be deploying and running a .NET Core, Angular and Postgres application on an Ubuntu VM running in azure cloud. This involves different tasks in different technologies to be done and I’ve previously written few posts about these different topics. In this post, I will combine all those learning so … Read more

Building Charts using C3.js

In this post, I will show you how to build charts in your web application using C3.js reusable charting library. Introduction C3.js is D3.js (D3 = Data Driven Document) based JavaScript chart library. It is simple to use, customizable and provides a nice API. It can be used to create visualizations using SVG, HTML & … Read more

Observer Pattern using JavaScript

Introduction Observer pattern is simply a publish/subscribe relationship. Like a person of interest we have an object of interest which we call subject or publisher and then we have interested parties and these parties are called observers or subscribers. Subject have something to say and observers are there interested in that saying. When we arrange our code … Read more