A simple example of registration. See the article in TheNewStack.io
Clone the project, and just make sure the JSonServices can see the base directory of wherever you have the project.
Edit line 14 of TweetServices/JSonServives.cs which mentions
const string BASEDIRECTORY = "/Users/eastmad/Projects/TheNewStack/HolidayCabins";