Converting PowerShell to C# through intent instead of an abstract syntax tree alone

I recently added support to the CodeConverter.net SDK to convert PowerShell to C#. This was a very similar process to converting C# to PowerShell. The implementation walks the PowerShell AST, produces a common AST and then is fed into the C# code writer to output C# code. The limitation of straight AST translation AST translation [...]

By | March 21st, 2017|Programmer|0 Comments

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 [...]

By | March 12th, 2017|Programmer|0 Comments

CodeConverter.NET: Simplified Site, NuGet Package and More

The last couple of days I’ve been busy working on CodeConverter.NET. Here are some updates. Simplified Site When I first conceived of CodeConverter.NET, I thought of making it a community curated site where not only automated conversions would happen but also users could add conversions or improve automated ones. I realized that this was a [...]

By | March 6th, 2017|Programmer|0 Comments

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. [...]

By | March 4th, 2017|Programmer|0 Comments

Elephant Nature Park in Chiang Mai, Thailand

Nestled between a lush mountain range about an hour and a half north of Chiang Mai resides a 250-acre sanctuary for elephants and many of their smaller friends at the Elephant Nature Park. Several weeks before heading to Thailand we reserved a spot on a tour to the park. We were surprised to find the [...]

By | March 3rd, 2017|Programmer, Travel|0 Comments

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 [...]

By | March 2nd, 2017|Programmer|0 Comments

Visual Studio 2015 – No executable found matching command dotnet-projectmodel-server

Recently, I installed Visual Studio 2017 RC. This also installed the latest version of .NET Core. This also meant I started to run into the error "No executable found matching command dotnet-projectmodel-server" when opening .NET Core projects in Visual Studio 2015. To work around this, you need to specify a SDK version in your global.json file [...]

By | February 25th, 2017|Programmer|0 Comments

Wat Phra That Doi Suthep Monk Trail

We have been visiting Thailand for the last week. We spent a couple days in Bangkok and explored some temples around the area. We then hopped down to Phuket and took in some sunshine and lounged on the beach. Finally, we’ve arrived in Chiang Mai. It’s a historic and holy city speckled with temples connected [...]

By | February 22nd, 2017|Programmer, Travel|0 Comments