PinnedPublished inCodeXSecuring The .NET 9 App: Signup, Login, JWT, Refresh Tokens, and Role Based Access with PostgreSQLREST APIs are stateless, so server does not store any information about the client. So we can not authorize the rest application in a…Dec 111Dec 111
PinnedHandle exceptions globally in .net with IExceptionHandler and IProblemDetailServiceProblem details is a standard way to communicate error details in HttpResponse, defined in rfc 7807. Standard ProblemDetails Properties:Nov 22Nov 22
PinnedOutput 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
Published inCodeXCreating and installing a CLI tool with .netIn this tutorial we are going to learn:3d ago3d ago
Published inCodeXDotnet Core API CRUD with dapper and postgresql💻Source Code: https://github.com/rd003/PostgressDapperDemoNov 10Nov 10
Unit 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…Nov 2Nov 2
Published inCodeXSet 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
Published inCodeXIntegration 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
Published inCodeXUnit 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
Published inCodeXContainerizing 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