In order to be able to effectively unit test Azure Service Fabric Actors we use a NuGet package called "ServiceFabric.Mocks”. It’s truly fantastic. As the name implies it allows you to Mock all Service Fabric services, not just Actors but the Actor model has unique structure that makes it exceptionally helpful in testing. The way … Continue reading Unit Test Service Fabric Actors when Actors call other Actors
C#
ZXing QR Code Display in Xamarin.Forms
You can find my source code here. So Xamarin and I have this love-hate relationship. I love it because it makes it super productive for a C# developer to build iOS and Android apps with one codebase but on the other hand, when using third party libraries its an absolute confusing mess. It’s really a … Continue reading ZXing QR Code Display in Xamarin.Forms
Setting up Swagger in ASP.NET Core
Swagger is one of my favorite tools when building a WebAPI. It’s good to see support quickly coming to ASP.NET Core from the folks at Swashbuckle. For those of you that might be unfamiliar, Swashbuckle is a framework that enables swagger generation in ASP.NET (and now ASP.NET Core). It’s only in pre-release, so if you … Continue reading Setting up Swagger in ASP.NET Core
File Upload Handler built using Azure Service Fabric
I’ve been experimenting with different scenarios on Service Fabric and one came to mind immediately. Uploading large, multi-part files. I got a working prototype working in short order. I still need to fully vet it to ensure that it scales but it “works on my machine”. 😊 You can go get my code from GitHub. … Continue reading File Upload Handler built using Azure Service Fabric
Code Drop: TripleA for Windows 10
Over the weekend I spent a little bit of time working on an open source game that I’ve discussed in a pervious post. It’s called TripleA (Axis And Allies, hence three A’s). I’ve been working on a Universal Windows Platform version of this extremely flexible and powerful turn-based strategy game framework. I’ve finished implementing the … Continue reading Code Drop: TripleA for Windows 10
Playing with WPF Custom Panels
I just dug up a whole bunch of custom panels that I wrote, complete with a nifty demo application I built way back in 2010 (when WPF was all the rage). It’s pretty fun stuff actually. I posted all the code on GitHub here. Diagonal Panel This one is pretty basic, it’s essentially a slightly … Continue reading Playing with WPF Custom Panels
Hidden XAML Feature: Dependency Properties on Converters
Over the years I’ve written my fair share of BooleanToVisibilityConverter classes. The are so drop dead to implement if you are bootstrapping a small project or proof-of-concept it almost doesn’t make sense to add a nugget package just to bring in a standard BooleanToVisibilityConverter. However, after using the UWP Toolkit’s implementation, I might just change … Continue reading Hidden XAML Feature: Dependency Properties on Converters
TripleA for UWP: Cross-Platform Turn-Based Strategy Game
I started a new open source project where I am going to be experimenting with creating a UWP client application that takes full advantage of the Windows stack in a cross-form factor way. I will be doing custom tailoring of the game experience for Mobile, Desktop, Xbox One, and HoloLens experiences. The open source project … Continue reading TripleA for UWP: Cross-Platform Turn-Based Strategy Game
My go-to for Modern Icons for Windows 10 apps
When building UWP apps you need to have those nice Font Icons from the Segoe MDL 2 font family. I found this sweet little web site that provides a nice cheat sheet for all these icons. When you are hard coding CommandBar button or Hamburger menu item icons in XAML you can copy and past … Continue reading My go-to for Modern Icons for Windows 10 apps
Raspberry Pi 2 and Windows IoT Core: Getting Started with Blinky
I finally busted out my Raspberry Pi 2. It’s been sitting on a shelf for far, far too long. I purchased an Azure IoT starter kit many moons ago thinking I would have the time to tinker with it but up until this point, embarrassingly, I haven’t found the time. But today, that all changed. … Continue reading Raspberry Pi 2 and Windows IoT Core: Getting Started with Blinky