Click here to Skip to main content
15,894,106 members
Articles / Programming Languages / C#

Visualizing Live and Historic Stock Data Using Silverlight

Rate me:
Please Sign up or sign in to vote.
4.89/5 (12 votes)
19 Jan 2011CPOL13 min read 81.1K   2.9K   56  
The article aims to present a generic approach of fetching and visualizing live and historical stock data in Silverlight.
Json.NET

http://james.newtonking.com/projects/json-net.aspx
http://www.codeplex.com/json/


Description:

Json.NET makes working with JSON formatted data in .NET simple. Quickly read and write JSON using LINQ to JSON or serialize your .NET objects with a single method call using the JsonSerializer.

-Flexible JSON serializer to convert .NET objects to JSON and back again 
-LINQ to JSON for reading and writing JSON 
-Writes indented, easy to read JSON 
-Convert JSON to and from XML 
-Supports Silverlight and the Compact Framework



Versions:

Json.NET comes in different versions for the various .NET frameworks.

-DotNet:
  .NET latest (3.5 SP1)

-DotNet20:
  .NET 2.0

-Silverlight:
  Silverlight 3.0

-Compact:
  Compact Framework 3.5



Instructions:

 1. Extract Newtonsoft.Json.dll and Newtonsoft.Json.xml from the archive's /bin directory into your own applications.
 2. Add a reference to Newtonsoft.Json.dll within Visual Studio.NET to your project.



License:

Copyright (c) 2007 James Newton-King

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United Kingdom United Kingdom
I am a WPF, Silverlight and Windows Phone developer. Visit my blog or follow me on Twitter @GergelyOrosz.

Comments and Discussions