Oodle Json serialization Error converting value “j”

If you are using the Oodle .NET API library – OodleRestApi then you may have encountered an exception that looks like this: First Exception: Error converting value “j” to type ‘Love2Trade.OodleRestApi.Json.OodleResult+ImageData+ImageSizeData’. Newtonsoft.Json.JsonSerializationException: Error converting value “j” to type ‘Love2Trade.OodleRestApi.Json.OodleResult+ImageData+ImageSizeData’. —> System.Exception: Could not cast or convert from System.String to Love2Trade.OodleRestApi.Json.OodleResult+ImageData+ImageSizeData. at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value, Type initialType, [...]

Oodle .NET API library – OodleRestApi

So I recently started to focus my effort to switch over from the legacy xml interface with oodle to their new REST-based web service for love2trade.com since it promises to be 20 times faster!   I spent several hours trying to put this library together which should help others as well. Many thanks for Steve [...]

Simple Regex to Remove Html tags

This is one of the simplest regex to remove html tags from some html text. I know its not the best but i’d argue that it’s one of the simplest. ;)

Formatting .NET DateTime to display Day suffix (st, nd ,rd , th)

I find it intersting that the MS did not have this by default as part of the Standard DateTime Format Strings for .NET. So I did my own thing..

Backing-up www.love2trade.com SQLServer DB 2005 from ASP.NET

Hi guys, This is the code you would use to trigger a full sql 2005 backup to a .BK file from a ASPX page, i use that on www.Love2Trade.com 

Get notified when your website throws an exception.

I used this code below in my website www.love2trade.com. This will send an email whenever an exception is thrown in your asp.net website, there is a 15 minutes throttle on the frequency of emails. In Application Start Class In Global.asax Hope some will find this useful.-Ash

Finding Distance between two points using longitude and latitude

This is a method that calulates a distance between two points. Let me know if you have a more acurate formula.

Follow

Get every new post delivered to your Inbox.