Seamless Solutions, Tailored Integration info@wkintegrations.com Kendal, Cumbria, UK

Blog

General Blog

Notes, fixes and how-tos from day-to-day integration and software work – Azure, Logic Apps, APIM, Bicep, BizTalk, .NET and more.

Handle the HTTP 500 Response in APIM

APIM Add Retry Policy using Policy Fragment A connection that was expected to be kept alive was closed by the server We were seeing many API responses with status code…

APIM Policy to Retrieve D365 Bearer Token

The policy below adds the "Authorization" header to the backend request. All token request parameters are added to APIM as Named values. The "D365-secret" named value points to a secret…

Remove Duplicate Rows from a SQL Table

A small reminder for myself: delete t from ( SELECT * , DupRank = ROW_NUMBER() OVER ( PARTITION BY PurchaseOrderNumber, LineNumber ORDER BY ( SELECT NULL ) ) FROM [PurchaseOrderLines]…

Deploy Azure Durable Function with Zero Downtime

Requirement To deploy a new version of an Azure Durable Function using Terraform to a Function App with zero downtime Release Pipeline The production deployment is triggered when a modification…

Remote Debug Azure Function

See: Remote debug your azure function app v2 in Visual Studio 2019 - Krish Kothapalli Blog Process: Debug > Attach to process... Key in the functions website address: pop-func-weu-d-justenoughd365import-01.azurewebsites.net:4024 Found…

Slow Visual Studio Performance

I was seeing really slow build times in my VS solution ~30 minutes. I thought this had something to do with my work's network, little did I know it was…

Connection String

Open Notepad Save the blank file as myConnection.udl Close notepad Double-click the udl file you just saved Fill it in and test it until successful Once succesful, close the udl…