MrSumit

MrSumit MrSumit

Niner since 2014

Comments

  • Level up your API with Hypermedia

    Hi Amy,

    That was a superb presentation and demo. I got to learn lot of things on HATEOAS by watching this seminar.

    I want to learn how to actually implement HATEOAS. 

    So can you please provide me the link for the GITHUB where the source code can be available that was shown in the demo.

    Thanks,

    Sumit Tuladhar

  • Part 11: Working with JSON Data

    Hi Bob,

    I tried to implement you code on my Windows Store Apps.I have used Newtonsoft.Json namespace in my application. I was able to parse json data into JArray. But i was not able to call the method item.GetObject() as you have shown in the video.

    Here is my code that i have written.How can i Implement item.GetObject inside foreach loop so that i can bind the object in the ListviewItem.

    Uri dataUri = new Uri("ms-appx:///Assets/team.txt");
                StorageFile file = await StorageFile.GetFileFromApplicationUriAsync(dataUri);
                string Value = await FileIO.ReadTextAsync(file);
                JArray array = JArray.Parse(Value);

                foreach (var item in array)
                {
                     
                    string name = item.ToString();
                }