Hack Yourself First Hoodie

Security workshop: Hack Yourself First

My employer Betabit hosted a Hack Yourself First workshop by Troy Hunt on Monday 5th and Tuesday 6th of June. Because we are always looking to improve, this was a great opportunity to tune up our security skills. We had a great time, got terrified and most of all: we learned a lot. You think you …

Read More “Security workshop: Hack Yourself First”

Scott Hanselman @ Build 2017

Build 2017

Earlier this year two colleagues and I attended Microsoft Build for the first time. In short: it was amazing. For those looking for more info: here’s a short recap on what we saw and did while we were there. Keynotes Yes, I’ve watched Build keynotes of earlier editions online. And yes, it felt big and …

Read More “Build 2017”

IE shows binding in select instead of value using AngularJS

Part of the system we are developing uses AngularJS. Because we had an increase in the use of our system, and more diverse configurations were using our system, we got some new bugs filed. One of these bugs was about a select list showing the binding in stead of the actual value for several options. Since …

Read More “IE shows binding in select instead of value using AngularJS”

.NET Core: not your daddy’s dotnet

We held a 2.5 hour presentation about .NET Core at the Betabit office in Rotterdam on March 29th. Where ‘we’ means my colleague Oscar van Tol and myself. We ended up having way too much content for the evening. We decided to host a hands-on workshop for those interested. At that workshop we will not only …

Read More “.NET Core: not your daddy’s dotnet”

Deployments overview

Creating Service Bus authorization rules with ARM errors out

Intro In my current project we use Azure Resource Manager (ARM) templates to help with deployments across multiple subscriptions and environments. One of the elements of the ARM template is adding a couple of Shared Access Policies to enable Read and Write on the queues we have in place. The policies have been defined on …

Read More “Creating Service Bus authorization rules with ARM errors out”

Unable to attach remote debugger after Visual Studio 2015 Update 2

As the title states: I was unable to attach the remote debugger (for instance to an Azure Web App) after installing Visual Studio 2015 Update 2. I got an error with something about invalid memory access or something like that. The solution is simple: install Remote Tools for Visual Studio 2015 Update 2. Go to …

Read More “Unable to attach remote debugger after Visual Studio 2015 Update 2”

Unable to find specific NuGet packages after update

After updating Visual Studio 2015 (there was an update for GitHub Extensions, one for the NuGet Package Manager and, of course, there was Visual Studio 2015 Update 2) I tried to add the WindowsAzure.Storage NuGet package to a project I started about a month ago. I opened NuGet Package Manager, went to the Browse tab and …

Read More “Unable to find specific NuGet packages after update”

Exception with EF code first migrations

Just ran into an exception when running both update-database and add-migration in the Package Manager Console for an EF Code First project. The Exception read: The type initializer for ‘System.Data.Entity.Migrations.DbMigrationsConfiguration`1’ threw an exception. The cause? An invalid config file for the project I was trying to run the tools for. So: if you run into …

Read More “Exception with EF code first migrations”

Running Visual Studio as an administrator causes ‘Save changes to devenv.sln’ when double clicking solutions

After making sure my Visual Studio always ran as an administrator by following my own post HowTo: Have Visual Studio always run as administrator on Windows 8, I got a message if I wanted to save changes to devenv.sln each and every time I double clicked a Solution. Since the problem kept occuring after installing …

Read More “Running Visual Studio as an administrator causes ‘Save changes to devenv.sln’ when double clicking solutions”

Scheduled build launches an hour early on TFS 2013 (after installing Update 3 or 4)

There’s new information in this issue. Please read the updates at the bottom of the article. We use our own TFS server and were using TFS 2013 Update 2 up until last Tuesday. We have several build definitions for my current project, and most of them are scheduled at a specific time, because we have …

Read More “Scheduled build launches an hour early on TFS 2013 (after installing Update 3 or 4)”

Error saving Galileo Wiring App in Visual Studio

Last week I received my Intel Galileo board (from windowsondevices.com) and I started playing with developing for it yesterday. I created a first test project, but it didn’t run. Visual Studio couldn’t find the Arduino header file, which was probably due to a missing NuGet package (the Galileo C++ SDK). I tried to save the …

Read More “Error saving Galileo Wiring App in Visual Studio”

Fixing the Remote Desktop Connection to a Virtual Machine in Microsoft Azure

A few minutes before my second session at the Dutch Techdays started I tried connecting to my Virtual Machine in Microsoft Azure through remote desktop. It didn’t connect… The RDP client tried to connect to the Virtual Machine, but nothing happened. So I rebooted the VM and tried connecting again, confident that this would solve …

Read More “Fixing the Remote Desktop Connection to a Virtual Machine in Microsoft Azure”

Techdays 2014 The Netherlands

As I wrote earlier I presented at the 2014 Dutch Techdays. The session content is now available online. Find it here (Dutch): Session information + PDF of my presentation My presentation on SlideShare My session on Channel 9

Error comparing historic versions of a TFS source controlled file

When working with Visual Studio 2012 on our current project, the error ‘These files are not text files and cannot be opened in the comparison window.’ shows up every now and again. I’ve tried several things to solve this problem. Here’s the one that works: Close Visual Studio Navigate to your version of the ‘c:\users\{username}\AppData\Local\Temp\’ …

Read More “Error comparing historic versions of a TFS source controlled file”

Getting Bootstrap to work on Windows Phone 8

There are a couple of websites I manage that use Twitter Bootstrap*. These websites are fully responsive and work well on all devices. Or actually, almost all devices. The wrapping of columns in a container on a Windows Phone doesn’t work the way you’d want it out of the box. Windows Phone interprets device-width as …

Read More “Getting Bootstrap to work on Windows Phone 8”