So I've been working with an internal customer on leveraging Azure Active Directory B2C. I noticed that the demo code is a bit dated so I thought I would put together some updated guidance. It's been a while since I worked with UWP apps so I thought I would reboot that as well and get … Continue reading AAD B2C with UWP WinUI 3 SDK
C#
Unit Test Service Fabric Actors when Actors call other Actors
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
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