• Handling Exceptions in ASP.NET Core: A Guide to app.UseExceptionHandler

    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…

    Read more

  • Custom Error Responses in a .NET Core Web API with RFC Specification

    Custom error responses in a .NET Core Web API provide better information to users and developers, making the application more efficient and user-friendly.

    Read more

  • Spread and Rest Operators in JavaScript

    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.

    Read more

  • Pipes and Filters Design Pattern: A Practical Approach

    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…

    Read more

  • Dynamic objects in C#

    Dynamic objects in C#

    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.…

    Read more

  • Asynchronous programming in C#

    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…

    Read more

  • How to do polymorphic  serialization/deserialization in C# System.Text.Json

    In this blog post, you’ll see how to serialize and deserialize a hierarchy of objects polymorphically to have a cleaner json.

    Read more

  • Build Blazor apps with Tailwind CSS

    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…

    Read more

  • How to use Redis as your primary database

    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…

    Read more

  • Understanding SOLID Principles: Interface Segregation & Dependency Injection

    This blogpost talks about interface segregation and dependency injection in solid principles

    Read more

Advertisements
Advertisements