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

AWS Cognito – Web Application Integration Basics

Introduction In previous post on AWS Cognito Basics – User Pools. we covered the basics of AWS Cognito and also created a User pool. Following is the recap: Recap AWS Cognito lets you add user sign-up, sign-in and access-control to your web and mobile apps quickly and easily: User pools are user directories. Signup and … 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

AWS API Gateway Basics

Introduction APIs are mechanism that facilitates two software components communicating with each other. APIs act as a front door for applications to access data, business logic or functionality from backend services. AWS API Gateway is a service that facilitates the creation, publishing, maintenance, monitoring and security of your APIs at any scale. It is a … Read more

AWS Lambda Basics – Writing Serverless Code

Introduction There are four key capabilities for a service or platform to be serverless: No server management. Flexible Scaling. High availability (fault tolerence) No idle capacity In this post, we will learn the basics of AWS Lambda and how you can use it for different use cases with ease. This will be an introduction post, … Read more