# Monday, 20 January 2014

Recently we upgraded to Visual Studio 2013 at my client. This morning my colleague came over and had a small problem. Some of the .svc services gave 404 errors. As I had another solution open of which I knew the in project .svc services simply worked I sat down with him. Some searching on the internet, trying out http activation, reregistering WCF, … it didn’t work out.

The difference between both solutions was that the one I was looking at was Webforms while the other one was MVC4 based. Aha! I used Nuget to include routedebugger. A super handy package for, well, debugging MVC routes. However since the .svc files themselves were put into a /Services subfolder I had to make it up like this:

routes.IgnoreRoute("Services/{resource}.svc/{*pathInfo}");

Put this at pretty much of the top of all the route configuration so that it gets picked up early.

The funny part was that the .svc was working pretty fine, even the wsdl could get obtained. However when we wanted to make a REST call to a specific method it gave 404 mistakes. Turned out to be that the default {controller}/{action}/{id} that ships with every template caught it. Making a more specific rule near the top of the configuration dealt with it and it all started out working smoothly again.

After testing it locally with IIS Express we also tested it out on Cassini due to the fact that the servers are still not up to IIS 8 at the moment and that also worked out fine.

Grz, Kris.  

ASP.NET MVC | MVC | WCF
Monday, 20 January 2014 18:52:16 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, 16 January 2014

Angular.js, a powerful javascript based framework, is not only becoming increasingly more popular but now also has its own conference: ng-conf. If you, like myself, couldn’t go in person there’s nothing to worry about. The videos are being posted on Youtube. You can watch them here: https://www.youtube.com/user/ngconfvideos?feature=watch.

For .NET minded people there’s also an online effort being done at http://henriquat.re/.

Grz, Kris.

Thursday, 16 January 2014 20:11:37 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Sunday, 08 December 2013

A bit more than a year ago I watched some short Youtube movie. I remember I was for a short vacation at the Belgian coast and reading some things online and my eye caught an announcement of something new. A GPS enabled strategy game that needed to be played with a smartphone. Curious I went to the website mentioned and the mentioned video was the following:

I asked for a code and three weeks later I obtained it and was able to go explore the world around me from a different point of view. It has been a rush to get to level 8 which is still the highest score one can obtain at this moment. It’s been loads of fun and cold as I started out in winter and sometimes played for 6.5 hours while it was freezing and the landscape was covered with snow. Due to this game I got into contact with a bunch of other people, both from my alliance the Enlightened and also people from the other alliance the Resistance.

In the beginning there was only one so called portal in Essen, the place where I live, and I requested for a bunch of others which came alive a couple of months later. Basically putting my small village on the Intel map. At that moment I was the only player in town and not much happened. On the evening before leaving to the USA for a week to go to the MVP summit at Microsoft my alliance partners in Antwerp noticed a notorious Resistance player coming over and in the evening he and some player from also quite a distance of Essen came to destruct everything I built up. I fought them off for like an hour but then had to turn home again to further pack my bag for a long travel. They picked the moment well though. I would be gone for a week and in the mean time a new local Resistance fighter stood up and took his first baby steps towards glory. After a while I got to meet him. Turned out to be one of my old school buddies. Essen has never been the same ever since and portals changed on a high pace from one faction to the other on a daily basis.

In the mean time I also played my part in creating the first leven 8 portal in Belgium constructed by Belgians. A week after I got married a bunch of people from over Belgium came together in Domein Rivierenhof. A place that had a load of portals available within walking distance. One of the few at that time. We succeeded in our effort and had a great time. And it has been as such ever since.

During the year the tools got better. Especially the agent which lacked a lot of functionality in the beginning has become way better over time to play with. Also new items have been introduced and new global play to get people together or share an effort to accomplish local and global missions. Also the new badge system where one can get a badge in different categories keeps the game alive.

Alive? Yes, quite some people, also 3 in Essen from my faction, have given up once they reached level 8 and didn’t see an upgrade path anymore for the future. Too bad. I admit that due to work, family life, being high level I also lowered my activities but I still like to play it where I can. I’ve played mostly in Belgium but also the Netherlands, Madrid Spain, Lebanon and the USA (Belle Vue Washington state). Where ever I come I notice that I start looking for art, special buildings, … to see if there are portals to hack or to request new ones. It for sure gave me more interest into such things and got me into places where I never came before even though I used to work close to these places in the past but never really cared to visit. Besides that the community that started up by players and occasional get togethers keep it a fun game to play.

Grz, Kris.

Sunday, 08 December 2013 11:45:55 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, 28 October 2013

An interesting tour through the Microsoft data centers.

Grz, Kris.

Monday, 28 October 2013 17:42:09 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, 14 October 2013

Do you like posters? Do you like ASP.NET Web API? If both questions get answered by yes then check this one out: ASP.NET Web API Poster.

Oh yeah, if you don’t like colors check out the grayscale one: ASP.NET Web API Poster (Grayscale).

Grz, Kris.

Monday, 14 October 2013 18:36:35 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Friday, 27 September 2013

Did you ever get lost in the myriad of SDKs and Microsoft Nuget packages? If you did then let me tell you a secret: you’re not alone. Luckily Microsoft listens very carefully to feedback from their users and community and has put a couple of pages together with some handy overviews:

Grz, Kris.

MSDN | Nuget | SDK
Friday, 27 September 2013 13:11:23 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, 26 September 2013

Since several years javascript has become increasingly more popular. Because of that a slew of frameworks and libraries became available and usually there starts the journey for developers to spend their, usually free, time to learn it all. The choice is so overwhelming nowadays that it becomes hard to focus and choose those frameworks in which one wants to excel.

Luckily there’s such an initiative as TodoMVC which gives a slew of code samples for the same application, a todo list, built with different javascript frameworks. A very interesting approach and one to keep in the back of your mind the next time you want to start a new SPA (Single Page Application).

TodoMVC

Grz, Kris.

Thursday, 26 September 2013 13:49:53 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, 25 September 2013

It’s great to see that an awesome platform like Windows Azure is gaining more and more traction along the way. Recently it was announced that Oracle is partnering with Microsoft. This enables users to run Oracle software on Windows Azure with the following benefits:

  • Effective immediately, customers can run supported Oracle software on Windows Server Hyper-V and in Windows Azure.
  • Effective immediately, Oracle provides license mobility for customers who want to run Oracle software on Windows Azure.
  • Windows Azure images with popular configurations of Oracle software including Java, Oracle Database, Oracle WebLogic Server, and Oracle Linux are now available in preview in the Windows Azure image gallery.
  • Microsoft now offers fully licensed and supported Java in Windows Azure.

Taken from http://www.oracle.com/technetwork/topics/cloud/faq-1963009.html.

Especially the last sentence will be of interest to my friends and colleagues in the Java space.

OracleOnWindowsAzure

Grz, Kris.

Wednesday, 25 September 2013 09:16:03 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, 16 September 2013

You want to know more about ASP.NET MVC (4) and Web API? Well tomorrow you can do just that. Simply join the Microsoft Virtual Academy broadcast and enjoy the ride of these awesome technologies.

This will be covered during the course:

  • Overview of MVC
    • What is MVC?
    • How is MVC different from Web Forms?
    • Why use MVC?
  • Developing ASP.NET MVC 4 Controllers and Models
    • Creating Controllers
    • Adding Actions
    • Creating MVC Models
    • Working with Code First
  • Developing ASP.NET MVC 4 Views
    • Razor Syntax
    • HTML Helpers
    • Partial Views
  • Integrating JavaScript and MVC
    • Using AJAX
    • Using jQuery
  • Implementing Web APIs
    • Developing Web API Controllers
    • Calling HTTP Services from Client-Side Code
  • Deploying ASP.NET MVC Site Walkthrough
    • Creating a site on Windows Azure Web Sites
    • Deploying an ASP.NET MVC Application with Visual Studio Web Deploy
  • What’s Next and Resources
    • Sneak peak at Visual Studio 2013 (Preview) and ASP.NET MVC 5 tooling
    • A look at real-time communications with SignalR
    • Resources for keeping up with new ASP.NET releases

Simply register here: http://www.microsoftvirtualacademy.com/liveevents/developing-asp-net-mvc4-web-applications-jump-start#fbid=r4qO—FJ7Ye.

For more information about these technologies also be sure to read about them here:

Grz, Kris.

Monday, 16 September 2013 08:13:55 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Saturday, 14 September 2013

Last evening 5 colleagues from ae and me went out for an adventure: to run 9 km in het Rivierenhof without the comfort of lights except the headlights all 5700 runners were wearing. It was raining, muddy, slippery from time to time but it was awesome fun! As I only started training somewhere in August after having not been running for a couple of years I was glad that I was able to tackle this run down in 54:40 Smile.

To give you an impression of how the start looked like (I’m somewhere one of those shiny lights as well):

7-000-lopers-trotseren-slechte-weer-op-night-run-id4879835-1000x800-n

Picture originally shared on the GVA website.

I look forward to doing it again next year as well together with my awesome colleagues.

Update: the other pictures came online and these are my colleagues:

ae colleagues at Antwerp Night Run 2013

And me: at around 7km, still going well:

Kris van der Mast Night Run 2013 Antwerpen

Grz, Kris.

Saturday, 14 September 2013 21:13:22 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  |