Writing beautiful, optimized and better .NET code with NDepends static analysis

Introduction Over the years I’ve been in various discussions regarding benefits of clean architecture, best practices, techniques such as code reviews, unit tests etc. and I think on some degree most of us are aligned on the reasons behind it. Having a clean architecture or code-base not only makes your development team happier, but it … Read more

AWS Cognito and Web Applications – Protecting and Accessing APIs (JavaScript and .NET Core)

Introduction A typical web application consists of a frontend (HTML, JavaScript, CSS), a backend (e.g. REST API) and database for persistence. Frontend typically communicate over REST calls to the backend for services. Token based authentication is a very common way to manage authentication and authorization information back and forth in the web applications. Applications need … Read more

Migrate On-Prem Web app (.NET Core, Angular and Postgres) – to AWS Serverless

Introduction I’ve previously written about various AWS services and how using serverless offerings results in great development experience, reduce management overhead and applications can benefit from various out-of-the-box features such as high-availability, performance and cost optimization. Today, we will see a simple workflow to port an existing .NET core application which was designed to run … Read more

AWS CloudWatch Basics (.NET and NodeJS Applications)

Introduction AWS CloudWatch is Amazon’s monitoring service which provides logging and alarm functionalities and used with almost every AWS service available. Monitoring helps us drive to improvements of the experience for our stakeholders and architecture. CloudWatch monitors AWS resources using matrices, alarms and alerts. Using the matrices, you can have alarms fire (e.g. CPU utilization … Read more

.NET on AWS – Data Persistence using RDS

Introduction In previous Post on this topic, we started by publishing a .NET Core API to AWS Lambda function. Today, we will extend the API and add more functionality to it (database operations) and then redeploy it to AWS Lambda and see how it goes. Database Setup We’ll be using Postgres database (AWS RDS Service) … Read more

.NET On AWS – Basics

Introduction .NET platform can be used to build variety of different applications. You may be developing .NET applications for on-prem or azure cloud solutions. But you may not know that AWS is supporting and investing in .NET development for more than a decade. In this post, we will learn the basics of .NET development and … Read more

Traversing Galaxies through Enumerable, Enumerator and Yield Return (C#)

Introduction What’s going on, you may be wondering by reading title of this post. Well it is that I am a little bit excited by this morning news of James Web Telescope reaching the L2 orbit. Or it may be that I am binge watching “Lost in Space” series on Netflix. But don’t worry, we … Read more

AWS DynamoDB Basics

Introduction AWS DynamoDB is a fully managed NoSQL database service all managed by AWS. As per the official website “Amazon DynamoDB is a fully managed, serverless, key-value NoSQL database designed to run high-performance applications at any scale. DynamoDB offers built-in security, continuous backups, automated multi-region replication, in-memory caching, and data export tools”. In this post, … Read more

AWS IoT Basics – Persisting IoT Data to DynamoDB

Introduction AWS IoT is a managed cloud platform that lets connected devices – cars, light bulbs, sensor grids, and more – easily and securely interact with cloud applications and other devices. These devices generates data and we can use AWS IoT services to collect this data. Once data is collected, a typical requirement is to … Read more