01 Jun

Explore Enumeration classes in .NET

Introduction Enums in C# have long been the go-to choice for defining a fixed set of related constants. However, they come with limitations that can hinder flexibility and extensibility in certain scenarios. In this blog post, we will explore a powerful alternative in .NET: Enumeration Classes. We’ll delve into what enumeration classes are, how they […]

read more »
01 Jun

Demystifying CORS in .NET 6.0 Minimal APIs

Introduction: Cross-Origin Resource Sharing, commonly known as CORS, plays a pivotal role in contemporary web development by empowering servers to regulate the domains permitted to access their resources. This blog post delves into the management of CORS in .NET 6.0 Minimal APIs, exploring the simplicity and adaptability it introduces. Understanding Minimal APIs: In .NET 6.0, […]

read more »
01 Jun

Handling Exception with ‘When’ clause in Catch block

Introduction: C# 6.0 introduced several language enhancements to make code more expressive and developer friendly. One notable addition was the introduction of the ‘When’ clause in catch blocks, providing developers with a powerful tool for more refined exception handling. Exception Handling Basics: In C#, exception handling is typically done using try, catch, and optionally, finally […]

read more »
01 Jun

Understanding the Declaration Pattern in C#

In the realm of C# programming, developers often encounter scenarios where they need to check and extract information from objects in a concise and readable manner. The declaration pattern in C# provides an elegant solution to this problem. This blog post will explore the declaration pattern, its syntax, and how it can be applied to […]

read more »
04 Feb

Exploring Channels in .NET

Channels in .NET are a fundamental addition to the asynchronous programming model. They provide a way to pass data between producers and consumers in a thread-safe manner, enhancing performance and scalability in applications. Channels are based on the System.Threading.Channels namespace and offer a flexible and efficient means of communication. Creating a Channel Let’s begin by […]

read more »
ASP.NET Core razor components
18 Apr

ASP.NET Core razor components

ASP.NET Core razor components In this article we are going to discuss on creating effective and reusable asp.net core razor components. Requesting you to review my previous articles on Blazor Blazor Overview Blazor Project Structure Components are the building blocks of a blazor application. Razor components can be nested, reused, and if implemented properly, can […]

read more »