How-to: Experiment with tensorflow in an interactive notebook

I've always wanted to build something with tensorflow. I have one demo lying around with tensorflow, but never got around to develop something for real with this framework.

Although tensorflow has a lot of samples available and documentation to get you going, it's not that easy to build something real with it. To make it easier for me to experiment with it I've come up with a combination of tools that allow you to experiment with tensorflow using interactive python notebooks. <!-- more -->

Authorize access to your Play application using action builders and action functions

When you think about Scala web applications you’re probably thinking Play. This framework to me is the de facto standard for building web applications in Scala. It offers a great set of features that make it really easy to build web applications.

The framework looks very similar to Rails and ASP.NET Core. I think it has the great things of both and adds more on top of that by enabling Akka actors and a functional programming style that I find more logical to use these days.

ASP.NET Core debugging tips for Visual Studio Code

These days I run a Windows laptop with Visual Studio on it, but at home I still have a great Mac Machine purring away in my home office. I like that machine since it has a huge display (27 inches) and I find Mac OS still better to use then Windows.

From time to time I like to work on a side project on my Mac. These days I'm building a small web application to keep track of session proposals I sent out. I'm building this using ASP.NET Core and Visual Studio Code.

How to write ATDD tests with cucumber-js, protractor and typescript

ATDD (Acceptance Test Driven Development) has been around for a while now. I use it quite a lot on projects that I work on. It helps me and others translate requirements into automated tests with the minimum amount of ceremony. We can talk to users about what they want and write that down in a format that they understand and we can automate.

One of the ways in which I use ATDD is with AngularJS. There is an end-to-end testing tool for AngularJS called Protractor that supports writing ATDD tests using a testframework called cucumber-js. It works pretty well with just javascript, but since we use Typescript a lot more now I figured, why not use typescript for cucumber tests as well? <!-- more -->

Running integration tests for ASP.NET Core apps

One of the things I really disliked about the previous versions of ASP.NET is that there's no real good way to run integration tests on your web application. You basically have to set up a full webserver to run integration tests.

Of course if you use Web API 2 or MVC 5 you have the official testhost. It solves a lot of problems, but the API is a mess to work with and very inflexible.

Using WCF in combination with .NET Core SDK

At my current project we're working hard to get a new REST API running on top of ASP.NET Core. One of the things we need to do is communicate with a set of existing WCF Services in the back office of the company.

This means we need WCF clients inside our ASP.NET Core project. Something that isn't very simple as it turns out. <!-- more -->