<commit_before># Lightstreamer - Basic Stock-List Demo - Windows Phone Client

<!-- START DESCRIPTION lightstreamer-example-stocklist-client-winphone -->

This project contains a demo client showing integration between [Lightstreamer .NET PCL Client](http://www.lightstreamer.com/api/ls-pcl-client/latest/) and the Windows Phone platform.

## Live Demo

[![screenshot](screen_wp_large.png)](zune://navigate?phoneAppID=2cf8750d-ab7f-e011-986b-78e7d1fa76f8)<br>
###[![](http://demos.lightstreamer.com/site/img/play.png) View live demo](zune://navigate?phoneAppID=2cf8750d-ab7f-e011-986b-78e7d1fa76f8)<br>

## Details

This is a Windows Phone version of the [Stock-List Demos](https://github.com/Lightstreamer/Lightstreamer-example-Stocklist-client-javascript).<br>
This app uses the <b>.NET PCL API for Lightstreamer</b>, based on Silverlight, to handle the communications with Lightstreamer Server. A simple user interface is implemented to display the real-time data received from Lightstreamer Server.

In particular, this readme file details the steps required to execute the demo together with the Windows Phone emulator contained in Visual Studio.

### Dig the Code

* `App.xaml.cs` is the main application file, it contains application events handling code (application launching, closed, activated, etc.), Lightstreamer Client streaming controls (start, stop) and part of the auto-reconnection logic required when connection quality is weak.
* `MainPage.xaml.cs` is the place where all the application widgets are handled. The application, in fact, consists in a simple table containing real-time (simulated) stock quotes, whose cells are kept up-to-date by implementing the ILightstreamerListener interface.
  Several lines in this file are dedicated to the animation code used for highlighting cells in case of real-time updates, you can ignore them altogether if you feel more comfortable.
* `LightstreamerClient.cs` is a simple wrapper for LSClient public class (see Lightstreamer Silverlight API) and uses two listeners: `StocklistConnectionListener.cs` and `StocklistHandyTableListener.cs`, respectively implementing a Connection Status listener and a Real-Time Data Updates listener.

Check out the sources for further explanations.<br>
  
<i>NOTE: Not all the functionalities of the Lightstreamer Windows Phone Demo are exposed by the classes listed above. You can easily expand those functionalities using the Lightstreamer .NET PCL API as a reference.<br>
If in trouble, check out the [specific Lightstreamer forum](http://forums.lightstreamer.com/forumdisplay.php?11-Client-APIs).</i>
<commit_msg>Fix markup.<commit_after># Lightstreamer - Basic Stock-List Demo - Windows Phone Client

<!-- START DESCRIPTION lightstreamer-example-stocklist-client-winphone -->

This project contains a demo client showing integration between [Lightstreamer .NET PCL Client](http://www.lightstreamer.com/api/ls-pcl-client/latest/) and the Windows Phone platform.

## Live Demo

[![screenshot](screen_wp_large.png)](zune://navigate?phoneAppID=2cf8750d-ab7f-e011-986b-78e7d1fa76f8)<br>
### [![](http://demos.lightstreamer.com/site/img/play.png) View live demo](zune://navigate?phoneAppID=2cf8750d-ab7f-e011-986b-78e7d1fa76f8)<br>

## Details

This is a Windows Phone version of the [Stock-List Demos](https://github.com/Lightstreamer/Lightstreamer-example-Stocklist-client-javascript).<br>
This app uses the <b>.NET PCL API for Lightstreamer</b>, based on Silverlight, to handle the communications with Lightstreamer Server. A simple user interface is implemented to display the real-time data received from Lightstreamer Server.

In particular, this readme file details the steps required to execute the demo together with the Windows Phone emulator contained in Visual Studio.

### Dig the Code

* `App.xaml.cs` is the main application file, it contains application events handling code (application launching, closed, activated, etc.), Lightstreamer Client streaming controls (start, stop) and part of the auto-reconnection logic required when connection quality is weak.
* `MainPage.xaml.cs` is the place where all the application widgets are handled. The application, in fact, consists in a simple table containing real-time (simulated) stock quotes, whose cells are kept up-to-date by implementing the ILightstreamerListener interface.
  Several lines in this file are dedicated to the animation code used for highlighting cells in case of real-time updates, you can ignore them altogether if you feel more comfortable.
* `LightstreamerClient.cs` is a simple wrapper for LSClient public class (see Lightstreamer Silverlight API) and uses two listeners: `StocklistConnectionListener.cs` and `StocklistHandyTableListener.cs`, respectively implementing a Connection Status listener and a Real-Time Data Updates listener.

Check out the sources for further explanations.<br>
  
<i>NOTE: Not all the functionalities of the Lightstreamer Windows Phone Demo are exposed by the classes listed above. You can easily expand those functionalities using the Lightstreamer .NET PCL API as a reference.<br>
If in trouble, check out the [specific Lightstreamer forum](http://forums.lightstreamer.com/forumdisplay.php?11-Client-APIs).</i>

{'fraction_non_alphanumeric': 0.0797780753778458, 'fraction_numerical': 0.015305146355462025, 'mean_word_length': 5.39119804400978, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4680608', 'n_tokens_mistral': 1447, 'n_tokens_neox': 1379, 'n_words': 577}