Deploying a Web Application to Kubernetes – Basics

Introduction I have previously written few posts on Kubernetes basics. There we covered some building blocks and how to get started with it. Here is the high level information about the core Kubernetes resources: you can read more details about these from the following earlier posts: We have done some demos in those posts. However, … Read more

Kubernetes Basics – Services

Introduction In previous two posts on Kubernestes basics, we covered some fundamental concepts, a high level overview and then started working with Kubernetes cluster and Pods. We learned that Kubernetes is all about running containerized apps. A Kubernetes cluster consists of masters and nodes which we can manage through an API using kubectl command line … Read more

Kubernetes Basics – Pods

Introduction In previous post about Kubernetes basics, we learned that a kubernetes cluster is made of masters and nodes. Masters contains the cluster control plane and nodes are where we run our applications (containers). We also learned about workload objects in kubernetes such as Pods, services and deployments. Today, we will learn more about pods, … Read more

Event Logs in .NET Core Worker Application

Introduction Logging is essential for software development practices, but it’s often underestimated until the program crashes. Logging serves numerous purposes including root cause analysis, bug analysis, and even performance reviews for the application. There are great many libraries and approaches about how to incorporate Logging in your application. But sometimes we just need very basic … Read more

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

TokenBased Security, OAUTH, OIDC, IdentityServer – Part 4

Introduction In previous post of this series, we setup IdentityServer with some test users and clients configurations. We then used postman tool to get the access token with couple of different flows. In this post, we will move forward and add a resource API to our solution. This will be simple .NET Core WebAPI application. … Read more

Token Based Security, OAuth , OIDC and IdentityServer4 – Part 3

Client Credentials and Resource Owner Password Flow Introduction In the previous post in this series, we discussed token based security, OAuth and OIDC. We also configured IdentityServer4 with some configurations. In this post, we will continue configuring IdentityServer4 and will also learn some of the client/server communication following OIDC flows. If you are new to … Read more

AWS Application Deployment Basics – .NET Core Apps

Introduction In previous two posts in this series, we have setup a VPC with public and private subnets, launched EC2 instances. Setup PostgreSQL database and deploy a Nodejs application which we served via NGINX reverse proxy mechanism. We have the following architecture in place: If you are new to these topics, you can first check … 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