Andre

Author's details

Name: Andre wilson
Date registered: November 1, 2011

Latest posts

  1. Helpful tools in Web UI Development — April 18, 2016
  2. Yet another custom binary protocol library implementation — March 28, 2016
  3. Calling .NET MVC 3 action method via jQuery ajax and handling serverside redirect — February 10, 2013
  4. ViewModel composition and using Partial views with Partials — October 5, 2012
  5. The video referee and it’s place in sport — September 22, 2012

Most commented posts

  1. Rugby in New Zealand – Is it going the way of the Titanic? — 3 comments

Author's posts listings

Jun 16

Thread safe logging to file using Java

In an attempt to create a simple logging class for a Java socket server application I was writing I wanted to make sure that the class captured all log events from the various threads sending messages to it. I didn’t want to have the situation where some messages were lost because the class could not …

Continue reading »

Showing Enums in a dropdownlist on our ASP.NET MVC view

A little while ago I posted a discussion on a method to decorate Enums with attributes to provide some flexibility with how they are displayed. Background This came about in a project I worked on where we wanted to show user friendly names of an enumeration on a Web UI page, but the same Enum …

Continue reading »

Mar 25

That stupid give way rule has finally gone

give-way-left

Finally, New Zealand has woken up, bitten the bullet and changed the give way to right rule to what the rest of the world came to realise many years ago. After making the decision in parliament last year the rule changed this morning at 5am. For those unsure of what the rule change is, here’s …

Continue reading »

Mar 18

Why as sportsman are we so thick and find it hard to adapt

So we had our first rugby competition game yesterday and lost 14-11. The game itself was pretty uneventful. One try apiece a couple of penalties. However some things I found so frustrating was how hard it is for players to respond to what is being said. The game started as it meant to go on …

Continue reading »

Mar 18

Posting content from memory stream using HttpWebRequest c#

So I needed to upload a zipped file that I was creating in memory and send it to an MVC action on my server. I read plenty of examples and perhaps I could have gone down the route of saving the stream to a file on disk and then using the .net WebClient UploadFile method. …

Continue reading »

Feb 14

Getting friendly names from an Enum when decorated with multiple attribute

It came about in MVC project I was working on that we wanted to output friendly names for a large number of enumerations we were working on directly into a selectable dropdown list. We would have an enum on a ViewModel object and that would be automatically put into a combo box with the selected …

Continue reading »

Older posts «

» Newer posts