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 11, 20242Dec 11, 20242
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 22, 2024Nov 22, 2024
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 inCodeXSQL SERVER: Table scan, clustered index scan, index seek, RID lookup, Key lookupInitially, it was not intended to be an article. I was tinkering around sql and documenting few things, then I thought, it could turnout to…Jan 11Jan 11
Published inCodeXCreating and installing a CLI tool with .netIn this tutorial we are going to learn:Dec 19, 2024Dec 19, 2024
Published inCodeXDotnet Core API CRUD with dapper and postgresql💻Source Code: https://github.com/rd003/PostgressDapperDemoNov 10, 2024Nov 10, 2024
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 2, 2024Nov 2, 2024
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 22, 2024Sep 22, 2024
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 9, 2024Sep 9, 2024
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 3, 2024Sep 3, 2024