Unable to place tray back into De’Longhi Magnifica

dellonghi coffee machine

This article describes out to resolve the problem where you’re unable to place the tracy back into the De’Longhi coffee machine. read more

7 Tips To Deal With Large Scale Code Refactoring

image of jigsaw pieces

A few weeks back I noticed that a part of the code that I’d been working on for over a year seemed to be growing in size and needed to be addressed in order to avoid future headaches and pain. The code is by no means monolithic but of a significant size to be a thing in it’s own right and not a quick 15 minute fix. I could see that action was needed in order to support future maintainability and scalability. Here’s 7 tips for refactoring… read more

There were build errors. Would you like to continue and run the last successful build?

There Were Build Errors. Would You Like To Continue And Run The Last Successful Build? read more

Moq – Getting the Value Of a Mocked Method Parameter

moq logo

There’s scenarios where we don’t care about the Moq “It.IsAny<>” parameter value being passed into a mocked method but we need to get the value on the way out. For example, take the scenario below. I’m using SQLite to form integration tests and I need to get a handle on the generated ParentWidget.Id to tie back to my Widget FK. read more

Hiding Controller And Schemas from Swagger/OpenAPI documentation

Swagger

Had a scenario where I need to hide some of the API’s controller endpoints from Swagger along with their respective schemas that aren’t yet ready for public consumption. I still wanted them to be available for Postman/Newman tests as part of the CI/CD. Manged to achieve this using the following Swashbuckle filter and MVC convention:- read more