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, 20245Dec 11, 20245
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 inCodeXSingleAsync() vs SingleOrDefaultAync() vs FirstAsync() vs FirstOrDefaultAsync() vs FindAync()I don’t think there is any need of introduction. Let’s jump to the code section. We coders understand with code more. Let’s understand the…Feb 15Feb 15
Published inCodeXDatabase first approach with DotNet CoreI have used database first approach in the .NET Framework 4.X. But It is the first time I am trying to use Db First approach in the .NET…Feb 11Feb 11
Published inCodeXWhat makes your query Non-SARGableA query is SARGable (Search ARGument able) if a database engine can take advantage of index.Jan 29Jan 29
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