Category: Architecture

Global Exception Handling in .NET 6

Exception handling is one of the most critical areas in modern web application development. If exceptions are not handled properly, the whole app can be terminated, causing severe issues for users and developers. In this article, I will discuss different methods of global exception handling in .NET apps. Error handling with try-catch blocks Try-catch blocks

Distributed Locking

What is distributed locking? With loosely coupled distributed systems, several instances of a microservice might be accessing the same shared resource. For example, several instances of a microservice might attempt to write to the same database. We have two kinds of locks: Optimistic: instead of blocking a potentially invalid process, the process continues, in the
SiteLock