# Wednesday, July 23, 2014

I just came across a good looking overview of the ASP.NET MVC 5 application lifecycle. I thought I’d share it so here you go.

Grz, Kris.

Wednesday, July 23, 2014 2:46:37 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 

Thanks to a colleague I got to know about this free eBook: http://read.humanjavascript.com/ch00-foreword.html.

It’s not the typical dry to read tech book and doesn’t get you started with javascript. On the contrary it reads in a nice way and talks about what the author was confronted with and how he dealt with it. Something extra to read while sitting outside in the evening sun (when there is any in Belgium).

Grz, Kris.

Wednesday, July 23, 2014 8:14:38 AM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, July 01, 2014

At work I mostly make use of the combination of TFS and Visual Studio. I also fiddle around with Git from time to time. As with the latest Visual Studio there’ also Git integration.

What I did was fork zencoding on github.

When opening our project on Github we need the url to clone. You can find that in the right lower corner:


For me that’s https://github.com/KvdM/zencoding.git.

Ok, so now let’s open our IDE of choice: Visual Studio2013. Follow these steps:

  1. Click in the Team Explorer pane on the button Connect to Team Projects.
  2. In the Local Git Repositories part click on the Clone link.
  3. Remember that url we just copied? Well in the textbox that just appeared we paste it.
  4. Click on the Clone button


And then we get, after a quick download of the good stuff, the following to see:


Double click on the zencoding name and then the following appears:


It felt a bit weird to see two .sln files but it turned out to be I had to double click the second one to get the code.

Code! Finally code! Ok let’s try to make a new test method. I put one in the Lorem.cs file:


Now open up the Team Explorer pane again and click on Changes:


Fill in some comment and click the Commit button:


That’s the good message we see now:


Either we sync from here but it’s more general to go to Team Explorer again and click on the Unsynced commits:


Press the Sync button:


Fill in the credentials:


And… I have to fill it in again?? Doing that results in the following:


An error occurred. Detailed message: An error was raised by libgit2. Category = Net (Error).
Response status code does not indicate success: 401 (Authorization Required).

What? Checking credentials again, typo perhaps, …?

Well it turned out to be that I had two factor authentication turned on. A good thing. However I didn’t see an input field where I could enter the numbers for that extra authentication step (which improves security so be sure to turn it on if you haven’t already).

I asked around and got a good tip from Phil Haack. When you have two factor authentication on you should be able to login via an authentication token. You can generate this on the site of Github. Open Settings > Applications (https://github.com/settings/applications) and generate a token.

Copy paste that particular token in a safe place as you’re going to be needing it soon.

Going back to Team Explorer in Visual Studio we click the Sync button again. The credentials screen shows again and instead of filling in a username we paste in the token we just generated. Leave the password input field blank. Click the OK button and yes, finally we succeeded in synching to Github:


And in Github we can see the changes that came through:



Another tip I got was that you might also need to fill in x-oauth-basic for the password part. Also read out some more documentation here: https://help.github.com/articles/git-automation-with-oauth-tokens.

Be sure to check out Git in Visual Studio. It’s awesome and I’m sure we’ll see more effort in better tooling in the future as well. Of course TFS will stay in there as well as it’s also a great system.

Grz, Kris.

Tuesday, July 01, 2014 11:57:29 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, June 12, 2014

On June 25th and 26th there’s going to be another dotnetconf. It’s a virtual conference so you can watch it online and get a good overview of what’s hot right now and in the future.

The following sessions will be provided to you:

Day 1 - June 25th, 2014

9:00 AM (PDT) - 4:00 PM (GMT) - State of .NET (Keynote)
9:15 AM (PDT) - 4:15 PM (GMT) - .NET Runtime
10:15 AM (PDT) - 5:15 PM (GMT) - C# 6.0 & Roslyn
11:15 AM (PDT) - 6:15 PM (GMT) - Universal Windows Apps
12:00 PM (PDT) - 7:00 PM (GMT) - Developing native iOS, Android, and Windows apps with Xamarin
1:00 PM (PDT) - 8:00 PM (GMT) - Fun Session
2:00 PM (PDT) - 9:00 PM (GMT) - Kinect
3:00 PM (PDT) - 10:00 PM (GMT) - XAML
3:30 PM (PDT) - 10:30 PM (GMT) - .NET Native
4:00 PM (PDT) - 11:00 PM (GMT) - WPF
5:00 PM (PDT) - 12:00 AM (GMT) - .NET Micro Framework and IoT

Day 2 - June 26th, 2014

9:00 AM (PDT) - 4:00 PM (GMT) - State of ASP.NET (Keynote)
9:30 AM (PDT) - 4:30 PM (GMT) - Web Forms
10:00 AM (PDT) - 5:00 PM (GMT) - MVC 6
10:30 AM (PDT) - 5:30 PM (GMT) - Web API
11:00 AM (PDT) - 6:00 PM (GMT) - Entity Framework
12:00 PM (PDT) - 7:00 PM (GMT) - Azure Websites
1:00 PM (PDT) - 8:00 PM (GMT) - Deployment
2:00 PM (PDT) - 9:00 PM (GMT) - ASP.NET Identity & Security
3:00 PM (PDT) - 10:00 PM (GMT) - Dependency Injection and Testability in .NET
4:00 PM (PDT) - 11:00 PM (GMT) - SignalR
4:30 PM (PDT) - 11:30 PM (GMT) - ASP.NET vNext 101


Grz, Kris.

Thursday, June 12, 2014 8:27:48 AM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Friday, May 30, 2014

Sometimes you simply want to test out something without opening a new text editor, put basic things together just to make it work. Or you don’t want to create another new project3456 in Visual Studio. Well I got some good news if you also find yourself in that position. You can go to these websites to find yourself quickly checking something out, pass on that code to others and easily show it in a forum.


javascript and CSS



Of course there are many others out there but these are already a great place to start fiddling around Smile.

Grz, Kris.

Friday, May 30, 2014 7:19:44 AM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Sunday, April 06, 2014

Last week was Microsoft’s //Build/ 2014 edition. I couldn’t be there in person but luckily for most of us around the globe the sessions got recorded and put online on Channel 9. There’s more than these but this is some handpicking done by me, and to keep a nice (short)list for myself to keep track of what I want to see from it.

First of all start with the Keynotes. I watched already the second one with Scott Guthrie which was mostly about Azure, web and Rosslyn.


Web development


Azure Web Sites


Visual Studio (Online)

Grz, Kris.

Sunday, April 06, 2014 10:08:05 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, April 01, 2014

That time of the year again where you hope you get that email that states yes you made it again. This year it was earlier than usual so it made my day Smile.

I got renewed as an MVP for the next year for ASP.NET/IIS.

Congratulations to all the others who also got their renewal or did become an MVP for the first time.

Grz, Kris.

Tuesday, April 01, 2014 7:24:39 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Sunday, March 30, 2014

Well, yesterday’s Saturday was different from others. I got up at 5:30 and after breakfast, cleaning up and a shower I drove 120 km to Genk at the Microsoft Innovation Center to deliver a presentation for GWAB, also known as the Global Windows Azure Bootcamp.

The talk itself that I did was about a cool Microsoft technology: Visual Studio Online.

Kris van der Mast speaking about Visual Studio Online at GWAB Belgium

I had a blast and an attentive audience who loved to ask questions, mainly in person after the talk Smile.

The venue, MIC office Genk was set at the old mines over there. A beautiful place I for sure want to explore more in the future:


I was lucky that I could get the first slot as after I finished and answered questions I had to hurry to my second appointment 80-90 km further at the Jubelpark in Brussels to meet up with other Ingress players coming from Belgium, Netherlands, France, Germany and even Italy. All for the Recursion event that Google’s Niantic organized. We had great weather, I saw many people in real life for the first time or met up with Ingress buddies.

From the 3 clusters to conquer our faction, the Enlightened, only won 1 unfortunately. On the other hand we gave the other faction a good fight as they were with 150+ and we were more like 85. At the first cluster it was 4 against 12 so the team I was in was rather overwhelmed. The other 2 clusters we were the winning party. The nice team I was in was me and 3 people who came especially from Bonn Germany to play.

At the end of the day the Antwerp Ingress team gathered for a small restaurant after a great day of fun and then I decided to take the car back to Essen, another 100 km worth of driving Smile.


Jubelpark Brussels


Group picture


The Enlightened preparing for the games began


My colleage Inge from ae also joined our forces to help to save humanity.


Me, with the sunglasses, talking with with one of the opposing parties after the games.

In case you’re wondering what Ingress is, take a look at the video that triggered my interest in November 2012: http://www.ingress.com/

Ah for the record: I walked more than 21000 steps.

Grz, Kris.

Sunday, March 30, 2014 4:42:12 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, March 25, 2014

If you’re interested in the Visual Studio 2013 launch demo apps then be sure to take a look here. There are six as we speak and each comes with an interesting showcase and quick architecture overview like this one for example:

Simplified Architecture

Grz, Kris.

Tuesday, March 25, 2014 8:30:47 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, March 19, 2014

If you’re interested to update your knowledge of simply get started with Web API then there are a bunch of decent books already out there. I noticed however that Glenn Block and others at Microsoft released a book as well and, at the moment, provide for free over at http://chimera.labs.oreilly.com/books/1234000001708.

To get a grasp of what’s in there:

Table of Contents

Grz, Kris.

Books | Free | Microsoft | Oreilly
Wednesday, March 19, 2014 8:17:43 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |