Building and Deploying a SignalR Chat Application – Part 2

Introduction In previous post we discussed the frontend component of SignalR chat application. Today our focus will be on the backend side of the application. Previous posts can be accessed from the following links All the source code is available from GitHub repository (signalrchat branch). you can also check the deployed application on https://signalrchat.awsclouddemos.com/ Recap Following picture from … Read more

Building and Deploying a SignalR Chat Application – Part 1

Introduction In previous post on topic of Real-Time Web using SignalR we discussed how this library simplifies adding real-time web functionality to applications. Today, we will continue forward from our previous learning and start setup a very simple chat application. Furthermore, to cover topics on frontend, backend and deployment, following structure is planned: So, lets … 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

Amazon LightSail – Virtual Cloud Server

Introduction Amazon Lightsail, launched in 2016 is essentially a virtual private server (VPS) that offers you everything needed to deploy an application or website, in a cost effective and easy-to-understand manner. It is a basic service but extremely convenient. It is designed for customers, developers, small business or startups to get quickly started in the … Read more

Migrating ASP .NET Core 3.1 Web Application to ASP .NET Core 6

Introduction .NET 6 unifies the .NET platform for future. It also introduced plenty of exciting new features along the way. It has achieved the ONE .NET Vision of Microsoft and also opens up new horizons for existing .NET developers. Improved performance, C# 10 features, hot-reload etc. are few of the reasons you would want to … Read more

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