Loading…

Data Driven Testing using XUnit in Visual Studio 2017

XUnit, like a lot of other testing frameworks, allows for creating test cases, or theories in XUnit terms, based on test data rather than static tests alone. With the CodeConverter.NET tests, I decided to generate the test cases based on input files and output files. The input files contain C# code and the output files […]

Generating GitHub Pages from Test Output

Getting Started with GitHub Pages GitHub Pages allow you to generate a website for yourself, an organization or a project based on markdown files stored in a repository. Pages is based on Jekyll and comes with a couple standard themes. Jekyll creates static pages so there is no need to update a database or anything. […]

CodeConverter.NET SDK: Now open-source!

I spent a lot of time on planes and in airports the last few weeks so I put together a present. After posting about CodeConverter.NET and the View as PowerShell Chrome Extension, I had some feedback that it would be great if the code for this was open-source. After some clean up, I’ve published the […]

MongoDB for the .NET Developer

Recently, I’ve been using MongoDB every day. Before this, I was used SQL server almost exclusively. I decided to use MongoDB over SQL for my most recent project and it has a bit of a learning curve. Here are a couple MongoDB concepts that took me a little bit to understand and get working within .NET. […]

Accessing the Kudu API for a Azure Functions App

Azure Functions is a new feature of Azure that lets you easily create “serverless” snippets of code that integrate different systems. Functions can be triggered in numerous ways and all you need to do is write the integration code between the inputs and outputs. They allow for binding to HTTP Endpoints, triggering on DocumentDB changes or […]

PowerShell Decompiled: How do loops work?

In my quest to figure out why handles.ps1 was running very slowly when looping over the 3.4 million handles on my system, I started to realize that the loop structure itself was a lot slower than a language like C#. I know that PowerShell is compiled to an executable lambda statement when it meets particular criteria […]