AWS ECS Fargate – Deploy and Run Multi-Container Web Application (.NET Core, Angular, Postgres)

Introduction With AWS Fargate, we can run applications without managing servers. Fargate is a serverless compute engine for containers. In previous post, we covered basics of AWS Fargate and took a step by step approach to deploy and run a .NET Core Web API application on AWS Fargate Service. We used AWS Fargate web console … Read more

.NET on AWS – Persisting Application Data to S3 (Part-2)

Introduction In previous post, we discussed AWS S3 service and its various use cases. We then setup an AWS S3 bucket with configurations and access for our web application data storage requirements. We created a .NET6 WebAPI project and some basic wiring/configuration to allow our application to access S3. However, we still have to write … Read more

Real-Time Web using SignalR (.NET6, Browser-Client and NodeJS)

Introduction ASP.NET Core SignalR is an open-source library that simplifies adding real-time web functionality to applications. It enables server-side code to push content to clients instantly. Maps, Dashboards, Chat systems, Collaborate apps and different type of push notifications etc. are few of the good candidates for real-time functionality / SignalR. In this post, we’ll see … Read more

Using Reflection in C# – Part 2

Introduction In part-1 of this series, we started our journey with reflection basics. We learned that Reflection is the process by which a software can observe and modify its own structure and behavior. For that to happen, we need helper objects to dynamically create instance of a type, bind the type to an existing object … Read more

Using Reflection in C#

Introduction Reflection is a process or mechanism by which a software can observe and alter its own structure and behavior at run-time. It is a powerful capability offered by different programming languages / frameworks and it helps us building extendable systems, plugins and dynamic behaviors which are not easy to implement in a typical strongly-typed … Read more

Manage Hierarchies with Composite Pattern

Introduction The composite design pattern generalize a hierarchical structure. It helps deal with tree structure of information. This make things easier for clients due to uniform way to work with individual items and for collections. Lets start by stating that composite is not composition (composition is another useful software design approach. Decorator pattern utilizes composition). … Read more

Build a simple Chat Room using Mediator Pattern (C#)

Introduction I’ve previously written about Mediator pattern and how it encapsulates object’s interaction and communication. This pattern promotes loose coupling between software components. It acts as a communication hub and it facilitates one-to-many, many-to-one and many-to-many communications. We than saw an example of Vehicles Control Center where vehicles position is communicated to control center. We … Read more