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

.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

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

Extending functionality using Decorator Pattern (C#)

Introduction The decorator pattern is a structural design pattern which allows you to dynamically add functionality to classes without modifying the target class. It does this by creating a wrapper around the original class, which gives you an extension point to inject in new behavior. It allows you to maintain a strong separation of concerns … Read more