Azure Application Insights CI/CD Enrichment

As part of getting the API “match fit” prior to deployment I explored the various options for logging, auditing and telemetry to provide feedback in relation to production diagnosis and application usage (API focus here). This is part 1 which covers the enrichment of the deployment pipelines using the Azure Application Insights. read more

Postman Testing – Chaining Requests From one Request to Another

postman logo

The Issue

I’d like to run a full suite of Postman tests are part of a CD pipeline into pre-production to indicate any issues and stopping the deployment of the API further. I’d built up 200+ Postman tests to cover standard CRUD operations on a number of resources. The tests were checking the POST responses for certain eleements returned in the body, 200 responses etc. Similar for PUTS, PATCHES and GETS. However, it would be nice to create a resource then reference this resource across all API operations for that resource. read more

0808 Vodafone. 0808 000 0122 – Stop Vodafone Marketing Calls.

I received a call today from 08080000122 claiming to be from Vodafone. Sounded a bit dodgy to be honest and very sales/marketing. I carried out the usual whocalledme lookup and that number does relate to Vodafone. More specifically their marketing arm. So I’m guessing they’ll try and flog me some awesome device that I don’t need. Here’s out to stop the 0808 000 0122 marketing calls and other associated Vodafone markerting… read more

Dave Greenfield – The Stranglers Keyboard Player Dave Greenfield – 29th March 1949 – 3rd May 2020

The Stranglers keyboard player Dave Greenfield sadly passed on the 3rd May 1990. This is my tribute to Dave Greenfield. read more

Entity Framework Core: A second operation started on this context before a previous operation completed

Working with EF Core across multiple controller services I was receiving the following Entity Framework Core: A second operation started on this context before a previous operation completed. The link for StackOverflow talks about ensuring your dbContext is correctly injected into the ServiceCollection which mine was. A bit of headscratching I was thinking that my foreach loop look fine there was nothing too crazy/costly happening. Then I realised the objects I was looping over hadn’t terminated with a ToList() or similar. Once I added the ToList() the context returned the scope and happy days!