PinnedRavindra DevraniJWT Authentication and role based authorization in .net 6/7JWT8 min read·Mar 16, 2023--1--1
PinnedRavindra DevraniCatch exceptions globally in .net core apisThere are to ways of catching exception in .net core, one is using try/catch and other one is catching them globally. Although there is…3 min read·Mar 19, 2023----
PinnedRavindra DevraniOutput Caching in .net 7Output Caching middleware has introduced in .net 7 , that is used to enable caching in your application. It can be used in any .net core…10 min read·Jul 29, 2023----
Ravindra DevraniImage upload/CRUD operations in .net core APIsIn this article, we will learn how to upload/update/delete/read images in .net core APIs. I hate to give long and unnecessary intros, So…6 min read·Apr 17, 2024--1--1
Ravindra DevraniSeparating the DI setup from program.cs fileLet’s take a look at the program.cs file below.3 min read·Apr 4, 2024----
Ravindra DevraniPrivate constructor and it’s use cases in c#In C#, a private constructor is a constructor method declared with the private access modifier (or without mentioning any modifier). If a…2 min read·Feb 21, 2024----
Ravindra DevraniGeneric Delegates (Action, unc, Predicate)In C#In C#, delegates are used to refer to methods with a specific signature. Generic delegates extend this concept by allowing you to create…2 min read·Feb 11, 2024----
Ravindra DevraniDelegates, anonymous method and lambda expression in c#Delegates in C# are essentially type-safe function pointers.3 min read·Feb 10, 2024----
Ravindra DevraniAbstract class in c#In c#, Abstract class is a class that can not be instantiated on its own2 min read·Feb 8, 2024----
Ravindra DevraniPolymorphism in c#Polymorphism is one of the core concept of object oriented programming. Word polymorphism = poly (many) + morphism (forms). As it’s name…2 min read·Feb 5, 2024----