Creating Sonar Cloud Project from VS Solution

If you are using Sonar Cloud for your automated CI quality gate within Azure DevOps, you might find that creating a new Sonar Project from within Sonar doesn’t work as Sonar does not have the permission to read/write your code in order to find the Azure DevOps project, and pushes […]

Improving Code Quality with SonarCloud

I’ve mentioned in a previous post how recent versions of C#8, along with some reputable code analysers have helped developers improve the quality of their code. One of those analysers is from Sonar, a well known code quality company offering IDE, Cloud and on-premise integration with your code. I have […]

Web Api Versioning with Swagger

Lots has been written about using Swagger to provide a useful api documentation api and even more about versioning your web apis. Bringing the two together with as little code as possible is now a common ‘boilerplate’ requirement so I wanted to break down the various parts and options available […]

Testing Web Apis with Specflow

Following on from my previous post on using Nullable reference types to aid validation with Web Apis where I mentioned the idea of forming model requirements early on in your design to allow developers to set which properties can be a nullable reference type, I was reminded of the importance […]

Creating mock test data for MongoDb

When consulting for large firms, where the existence of copious amounts of test data is established, it makes it very easy to realise the potential of any prototype or greenfield work very quickly. Be the focus on UI or the need for extensive e2e test coverage, having access to streams […]

Testing MongoDb Queries

Using nuget packages to help facade the complexities of some resource dependency can no doubt speed up development, but often it can create a bit of a headache when it comes to unit testing. Anything that uses a lot of static classes, extension methods or a fluent api approach can […]

Logging to Splunk Docker instance

In my previous post, we set up a Splunk Docker container and configured it to collect http posted events to its HEC and pushed an example log event through postman. However, in order for this to work, we had to disabled the SSL Verification checks in Postman. Switching off such […]