OpsWorks + Windows: Alternate user identity execute support

A common scenario when configuring an environment is that certain elements of the scripts may need to be executed using a specific user’s credentials. If you’ve looked at the documentation for the various means of execution within Chef you might have noticed the “user”, “domain” and “password” parameters. The “powershell_script” action is particularly useful when … Continue reading OpsWorks + Windows: Alternate user identity execute support

Entity Framework + LocalDB Connection String Changes

Apparently there was a change in how you connect to SQL Server LocalDb after version v11. I ran into this when I used some old code still configured for version 11. I received this error: “A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was … Continue reading Entity Framework + LocalDB Connection String Changes

VPN doesn’t work in “Enhanced” Hyper-V Session

I started getting this message from one of my customer’s VPN client after setting up a new Hyper-V Generation 2 Virtual Machine. It connects and then immediately disconnects saying “VPN Session ended”. I took a closer look at the log and found something puzzling. It appeared that the VPN was rejecting my connection due to … Continue reading VPN doesn’t work in “Enhanced” Hyper-V Session

OpsWorks + Auto-scaling Windows Stacks

AWS has multiple ways of enabling Auto-scaling of EC2 instances. Two of which are Auto-Scaling Groups and OpsWorks. When setting up a stack in OpsWorks you’ll notice that you can add Load-based instances to scale the stack beyond the fixed instances you establish. The scale configuration that you specify on the below screen should be … Continue reading OpsWorks + Auto-scaling Windows Stacks

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

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