Occasionally I come across a really useful tool, or some sort of feature/framework/idea that I think hey, that would be great to remember for future Web site development. So, here is a list of some of these that I would like to share: Nuget: A must if if you are developing in .NET. Nuget ensures …
Category Archive: Programming
Mar 28
Yet another custom binary protocol library implementation
Recently I have been involved in a project that required a custom binary protocol specification be written for interaction between some custom hardware and a central processing server. Before you wonder why re-invent the wheel I did look into protoBuf but although perfect for what I was doing, implementing this on the custom hardware would …
Feb 10
Calling .NET MVC 3 action method via jQuery ajax and handling serverside redirect
Recently I developed a .NET MVC 3 application where jQuery would be a core part of the design and it was accepted that we did not have to worry any special optimization for phone or mobile devices or disabling of javascript. During development of this application I wanted to make use of page redirects while …
Oct 05
ViewModel composition and using Partial views with Partials
Slightly confused by the title of this topic? I can see why. Even I didn’t know what to give the name to the problem a recent problem I encountered and I ended up resolving it. Instead I’ll try and state the problem in my definition below: Please note. There might be better ways of doing …
Jun 29
Calling Delphi 6 DLL from c#.NET and blasted rounding issues
Recently I had the need to call a Delphi DLL from a .NET application. The delphi DLL would be performing a number of floating point arithmetic operations and returning results in as a string. In order to debug the delphi DLL another delphi application was written that uses this same interface and outputs the results. …
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 …