Personal Blog
Exception handling is an essential part of building robust and reliable applications. ASP.NET Core provides developers with various approaches to handle exceptions, each with its own advantages and use cases. In this blog, we discussed how to use the app.UseExceptionHandler middleware, global exception handling, and exception filters to handle exceptions in ASP.NET Core. We also…
Unlock the full potential of arrays and objects in JavaScript with the spread and rest operators. Learn how to merge arrays, add properties to objects, and pass separate arguments in function calls with ease. Stay ahead of the game in modern JavaScript development with a comprehensive understanding of the spread and rest operator.
The pipes and filters pattern is a powerful tool for breaking down complex data processing tasks into simple, reusable components. It can help you write maintainable and reusable code that is easy to understand and modify. In this blog post, we have seen how to use the pipes and filters pattern to validate incoming data…
Dynamic objects in C# are objects that can have properties and methods added to them at runtime, as opposed to traditional objects which have a fixed set of properties and methods defined at compile time. There are a few different ways to create dynamic objects in C#, including the dynamic keyword and the ExpandoObject class.…
Asynchronous programming is a powerful tool for building responsive, scalable applications in C#. By using asynchronous techniques, you can avoid blocking the main thread of your application and ensure that your code runs efficiently and smoothly, even in the face of long-running or resource-intensive tasks. In this blog post, we’ll take a closer look at…
Blazor lets you build web UI components with C# dotnet. These components can be used in browser via web assembly or server side via ASP.NET Core. Tailwind CSS is utility-based CSS framework. Unlike bootstrap Tailwind doesn’t come with its own components, it has thousands of micro-CSS classes which can be used to build our UI…
Recently, I got chance to work with Redis and realized that redis is not just a cache solution it can serve as your primary database. Traditional databases store their data on disk, even though most databases have an embedded cache on RAM to optimize query performances. Most of the time we end up using some…