Dotnet

How To Secure and Authenticate AWS Lambda Function URLs Paid Members Public
This article is sponsored by AWS and is part of my AWS Series. In a previous blog post, Function URLs - Quick and Easy way to Invoke AWS Lambda Functions over HTTP, we learned how to expose and invoke Lambda functions over an HTTP endpoint. We enabled the Function URL

Function URLs - Quick and Easy way to Invoke AWS Lambda Functions over HTTP Paid Members Public
A Function URL is a dedicated endpoint for your Lambda function. Learn how to enable Function URLs and build an API using .NET Lambda Function.

Why You Should Avoid Command Handlers Calling Other Commands? Paid Members Public
One of the patterns that I keep coming back to when building ASP NET Applications is the Command Query Separation (CQS) pattern. Fundamentally, the pattern separates the code to read (Query) and the write (Command) to the data store. By separating the Commands and Queries, the code is more focused

Generating PDF: .Net Core and Azure Web Application Paid Members Public
Using NReco library to generate PDF files on Azure Web App running .Net Core.

Query Object Pattern and Entity Framework - Making Readable Queries Paid Members Public
Using a Query Object to contain large query criteria and iterating over the query to make it more readable.

Protect Yourself Against Line Ending Issues when Using Environment.Newline to Split Text Paid Members Public
The invisible character that at times take a lot of your time!

Web Application Occasionally Throwing 'Could not Load File or Assembly or one of its Dependencies' Exception Paid Members Public
We were facing a strange 'could not load DLL issue', when building and running multiple host projects in Visual Studio (VS 2015), side by side. We had 2 host projects - an NServiceBus worker role project (a console application) and a Web application and a few other projects, a couple

Could Not Load Assembly msshrtmi.dll? Paid Members Public
While migrating a few Azure Cloud Services to Web Jobs, we started facing the error, Could not load assembly ... /msshrtmi.dll,for just one of the projects. The error provides the exact path from where it is trying to load the DLL and is the same path from which the