PinnedRavindra DevraniJWT Authentication and role based authorization in .net 6/7JWTMar 16, 20231Mar 16, 20231
PinnedRavindra DevraniinCodeXCatch 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…Mar 19, 2023Mar 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…Jul 29, 2023Jul 29, 2023
Ravindra DevraniUnit of work with generic repository in .NET with EF CoreThe Unit of Work Pattern is all about coordinated changes to the database. It groups multiple operations, such as inserts, updates, and…4d ago4d ago
Ravindra DevraniinCodeXSet bearer token automatically to each request in the postmanWhen we work with postman to test the endpoints, and those endpoints are authorized, each time (until it expires) we need to pass the…Sep 22Sep 22
Ravindra DevraniinCodeXIntegration Testing With Authentication In AspNetCoreIntegration testing is a software testing technique, where individual units of a program are integrated together and tested as a group for…Sep 9Sep 9
Ravindra DevraniinCodeXUnit Testing in .NET Core with n-substituteAs the name suggesting , Unit testing is a software testing where smallest units of the application such as methods are tested in the…Sep 3Sep 3
Ravindra DevraniinCodeXContainerizing A .NET App With Postgres Using Docker ComposeIn this tutorial, we are going to containerize the .NET Web API application with docker and postgres. I am assuming you are familiar with…Aug 211Aug 211
Ravindra DevraniContainerize Your .NET Application with SQL Server Using Docker ComposeIn this tutorial, we are going to containerize the .NET Web API application with docker. I am assuming you are familiar with docker. At…Aug 19Aug 19
Ravindra DevraniinCodeXASP.NET Core API CRUD With PostgresWhen we create an application with .NET, we tend to use the Microsoft tech stack: Visual Studio IDE, Microsoft SQL Server, Windows…Aug 15Aug 15