Monthly Archives: November 2013

Windows Phone IP over USB Transport (IpOverUsbSvc) is not running. Retry after starting Windows Phone IP over USB Transport (IpOverUsbSvc) from the services management console.

If you encounter the below error message while developing app for Windows Phone. Error Message: “Windows Phone IP over USB Transport (IpOverUsbSvc) is not running. Retry after starting Windows Phone IP over USB Transport (IpOverUsbSvc) from the services management console.” … Continue reading

Posted in Visual Studio, Windows Phone | Tagged , , , | 44 Comments

Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.

You may encounter “Unexpected character encountered while parsing value: <. Path '', line 0, position 0." when trying to parse Json result that are downloaded from the WebClient method if the data is compressed in GZip. This is because WebClient … Continue reading

Posted in C#, Json, Windows Phone | Tagged , , , , , , , , | Leave a comment

Visual Studio PasteJson.JsonPackage did not load correctly

To resolve the above issue, head over to C:\Users\<your users name>\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache and delete all the files in the folder. Thereafter it should fix the problem. However at the moment the issue seem to be constantly occurring.

Posted in Visual Studio | Tagged , , , | 22 Comments

ASP.NET Web API Multiple parameters binding

The above is the default POST request which only accept one value and the value must be passed in from the body of the POST request as suggested from the parameter [FromBody]. In order to accept parameter directly from the … Continue reading

Posted in Uncategorized | Tagged , | 1 Comment

Creating ASP.NET Web API in Azure Project

When porting ASP.NET Web API to Azure Project, you may encounter error 404 when trying to call the restful api. To solve this problem, add a Global Application Class (Global.asax) in your Azure Project. Lastly replace the Application_Start method in … Continue reading

Posted in Azure | Tagged , , , , | Leave a comment

Are you missing an assembly reference? Why, yes I am. So kind of you to ask.

Are you missing an assembly reference? Why, yes I am. So kind of you to ask..

Posted in Uncategorized | Tagged , , , | Leave a comment

Using Google API – URL shortener C#

This post aim to walkthrough the steps required to set up Google URL Shortener in C# To get started, visit Google API Console Head over to Services and toggle URL Shortener API to ON. Once URL Shortner API is turned … Continue reading

Posted in Google | Tagged , , , | 23 Comments

Calculate distance between two Locations with Latitude and Longitude C#

Given that you have two set of Latitude and Longitude values, how do you calculate the distance between them? For Windows Phone the below method is highly recommended since it used built-in library. However if you need the deploy the … Continue reading

Posted in Windows Phone, winrt | Tagged , , , , , , , | 4 Comments