Kusto query language by example
Posted on Sunday, 12 June 2022
This post will explore some Kusto query language (KQL) syntax through examples. If you are not familiar with KQL you can read Kusto Query Language (KQL) overview from Microsoft's documentation website. I'll be using this demo log workspace, which is free and should be available to anyone. You'll need to create an account to access it though which is also free to do.
Code coverage Visual Studio extensions
Posted on Thursday, 2 June 2022
In this post I'll mention two Visual Studio extensions that gives you a nice visual representation of test coverage, NCrunch (Paid) and Fine Code Coverage (Free).
Selenium web driver + dotnet 6 example
Posted on Sunday, 1 May 2022
There are times that I need to look up how to implement form interaction with selenium web driver for dotnet, so I decided to put a simple example for myself to look up as a basic reference. The following selenium ui test enters information into a simple contact form and clicks submit and then confirms the URL is correct. In order to run this you have to run this site locally. The source code for this is available here.
Intro to .NET6 Minimal APIs
Posted on Monday, 4 April 2022
Minimal APIs was introduced with the release of .NET6 as a alternative approach for building API's compared to the MVC/Controller approach that .NET developers are probably used too.
Sociable unit tests with BDDfy
Posted on Wednesday, 7 July 2021
In this blog post, I will be covering two things, one is sociable unit tests and the second is using a BDD (behavior-driven development) framework called BDDfy to pardon the pun, BDDfy your unit tests. The idea is that combined together you should have fewer unit tests that are easier to follow, maintain and give you the same level of test coverage compared with lots of low level unit tests.
ASP.NET API string localization
Posted on Saturday, 20 February 2021
In this blog post I'll briefly go over an example of adding localized strings to a ASP.NET application. In general, localization is the process in which we add support for applications for a specific region or market place. Localization is not only text but may also includes graphics, layout, currency, dates, phone numbers and addresses to name a few.
Sending an email with Send Grid
Posted on Monday, 15 February 2021
There are a few ways you can send emails these days in C#/.NET. In this blog post I'll quickly go over sending an email using SendGrid. I'll just be covering the basics to show you how easy it is to get you going, but bear in mind there are alot of features that you can use which you should check using the SendGrid website.
Chinese New Year 2021 (Year of the Ox)
Posted on Friday, 12 February 2021
Happy new year! as the year of the Rat comes to an end it's now time for the year of the Ox. In this blog post I'll go over what Chinese New Year is and some of the traditions I have experienced during festival.