Azure
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 Read more…
Automation
Improving Code Quality with Sonar, GitHub and Azure DevOps CI
In my previous post I walked through the set up of a dotnet core project in Sonar Cloud, showing how, with a few settings in your csproj file and a couple of dotnet tools, you can create a code coverage Read more…
Automation
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 Read more…
Api
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 Read more…
Api
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 Read more…
Api
C# 8.0 nullable reference types in Web Api validation
Whilst we may look forward to the new ‘syntatical sugar’ we get with updates in the C# language versions, I think one of the most pertinent new features in C#8.0 is the option to enable nullable checks on your code. Read more…
Coding
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 Read more…
Coding
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 Read more…
Cloud
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 Read more…