Tuesday, May 17, 2016

.NET Console application on Linux - Hello World !

I'm working on a demo to show .NET ( C# ) code on Linux. As you all know, with the new cross-plat .NET execution context DNX that also run on Linux - this should be a breeze. So - let's see what it takes to make .NET run on your Linux machine.

First of all - you need to install the .NET version manager (DNVM) on your machine, which is really simple to do:



I've put up a script on GitHub that will do all of this for you: https://github.com/jochenvw/arm_sandbox/blob/master/ubuntu-aspnetcore/ubuntu_aspnetcore.sh

Also, in this script I create a main.cs file with the 'Hello World' console command.


Indeed - this is C# in Nano on Ubuntu. Pretty cool huh? I've found Nano syntax highlighting for C# - which is probably very similair to JAVA highlighting.

Anyway - after that - you just verify that you've got a DNX installed - do a package restore with the DNX utitility tool (dnu), do a 'dnu build' and then a 'dnx run' to run your application:



I'm making this setup script work unattended with the Azure ARM CustomScript extensions so that you can one-click-deploy a Linux box with DNX installed and this application up-and-running. Then I'll make a pull request for the previously mentioned quickstart repostiory so it's even more easy to get started!

Sunday, May 15, 2016

Quick way to get started with Azure ARM templates

For those who don't fully grasp the power of 'infrastructure as code', there's this awesome github repo out there that allows you to one-click-deploy ARM templates for a whole range of setups. Check it out here: https://github.com/Azure/azure-quickstart-templates .

Go inside one of the folders to see the JSON sources and possible scripts:


For instance - want to spin up a Linux box on Azure with Mesos on it ? No problem:


By the way - these are the templates that drive the website https://azure.microsoft.com/en-us/documentation/templates/


Got any of your own templates you want to contribute? That too is no problem - just fork and send a pull-request.

Monday, April 11, 2016

Thursday, January 21, 2016

Git Kraken: new cool Git client for all platforms

Go get your beta invite here: http://www.gitkraken.com/. That's what I did and I was sent a download + access code by AxoSoft to check out their new GIT client.

It worked really well, just out of the box. Wat sets this client apart from the other ones is the sexy looking branch graph of the repository. This is very useful for me, since it allows me to see which developer is working on what on which branch. 



Sunday, November 15, 2015

Learning NServiceBus - great read!

Last weekend, I finished the book 'Learning NServiceBus' that I got while attending a session on NServiceBus, by Dennis van der Stelt



For anyone interested in learning about message based architectures - this is a great read. Especially - obviously - if you want to work with NServicebus. And to @dvdstel - thank you for the book and the interesting session.

Monday, October 26, 2015

David Fowler - ASP.NET 5 Deconstructed

Super interesting talk by David Fowler on the new changes in vNext. Check it out if you want to get an idea how the request lifetime in vNext is different from the 'current stack' 4.5.1!