Working With Strings in windows-rs

The windows-rs crate is an incredible addition to the Rust ecosystem and provides bindings for the entire Win32 SDK for Rust developers. It is also lead by some incredibly engaged and telanted developers such as Kenny Kerr and Rafael Rivera. This post discusses the various string types which are used in the crate and how you can interact with them. These ultimately originate in the Win32 C++ SDKs and may be familiar to those who have developed Windows applications in C++ in the past; but maybe not to those approaching it with Rust for the first time. [Read More]

Unit Testing Powershell Cmdlets in C#

So you’re venturing into PowerShell cmdlet development in C# are you? Good for you! But how will you unit test those little buggers? Some people write their unit tests in PowerShell using Pester which seems less ideal to me. At that point, you are left in an awkward position when it comes to mocking because all your mockable interfaces will be in C#, so it’ll be too late to replace them. [Read More]

Coverage Reporting for C# Projects

Upon beginning my journey into C# development, I started to suspect that coverage reporting was reserved for paid products only. Only Visual Studio Enterprise (the most expensive version) and the paid JetBrains Rider IDE have coverage reporting built in. Rider users must purchase the dotCover addon to obtain this functionality. However, upon further investigation, I was happy to find that there are several incredible open source tools which can capture code coverage for C# projects. [Read More]

Setting Up VS Code for C# Development

Oh hello there, I haven’t seen you in a while! :) So while Python is still my main language at work, I have continued to search for a new language that I would use for hobby projects. I’ve been back on Windows for several years and done a lot of PowerShell since then. Some recent openings in our IoT department were requesting C# skills which I got really excited about for some reason, and off I went to see what all the fuss was about. [Read More]

Python API Framework Benchmarks

With the multitude of awesome Python web frameworks out there today, I thought it would be a fun exercise to perform my own benchmarking against them and several popular WSGI servers. Disclaimer: I’m aware that this test doesn’t offer multiple real-life use-cases and may not be a great representation of real-world performance. However, I still thought it would be fun to share the results. Test Environment Two servers were created in AWS with the following details: [Read More]