• C# - Cloud Computing - Coding - Python - Redis

    Remote Caching in Scaled-Out Cloud Applications: A Case Study with Redis, C# and Python

    A few weeks ago, we were discussing a problem with my team mates and a colleague raised a question about a very basic distributed remote caching problem which was about an application scaled out across multiple instances, managing how data is cached can become a significant challenge. Let me take the shortcut and directly jump into the problem. Consider a scenario where you have multiple instances doing the same job and you need to cache the result of a function which takes about 30 seconds. This function’s result needs to be cached to avoid redundant executions across different instances. The…

  • Angular - Coding - Frontend - Web Development

    Using SignalR with Angular

    In a previous blog post, we discussed how to create real-time web applications using SignalR and React. If you have already gone through that, you would know the magic of SignalR in pushing instant updates, allowing users to receive data in real-time. In this post, we’re going to apply the same concept but with Angular. Setting Up the Server with SignalR Just as a quick refresher, SignalR provides an easy method to communicate between the server and the client in real-time. We start by installing the appropriate NuGet package: The hub, as described before, acts as the communication centre. Here’s…

  • Azure - Cloud Computing

    On Azure Functions and Serverless

    There’s no shortage of tools and technologies to make developers’ lives easier In the world of cloud computing, and one such offering comes from Microsoft which is Azure Functions. Here, we’ll unravel the magic behind Azure Functions and explore why it’s becoming a favourite for certain architectures. At its core, Azure Functions is a serverless compute service. “Serverless” might sound misleading, as there definitely are servers involved; however, the idea is that the responsibility of server management, scaling, and infrastructure concerns are taken away from the developer. This allows us to focus on writing and deploying our code. Azure Functions…

  • C# - Coding - Databases - MongoDB

    MongoDB through C# – Using the Official Library

    MongoDB is a popular NoSQL database, which means it doesn’t use tables like traditional databases. Instead, it saves data as ‘documents’, which are like flexible data entries. If you’re using C# and want to work with MongoDB, there’s an official library made just for that. In this post, we’ll check out this library, see some basic MongoDB info, and walk through some C# code examples for common tasks. In MongoDB, data is saved in collections as documents. Think of collections like folders on your computer, and documents like files in those folders. But here, each document can have different data…

  • Azure - C#

    Azure Blob Storage and C# Integration

    Azure Blob Storage is one of Microsoft Azure’s storage solutions. Think of it as a massive cupboard in the cloud where you can keep a lot of stuff, from pictures and videos to logs and backups. In this article, we’ll explore what Azure Blob Storage is, when you might want to use it, and how to play with it using C#. Azure Blob Storage is a place in the Azure cloud where you can save large amounts of unstructured data, which means it doesn’t have a specific format or structure. It’s like having a big box where you can throw…