This is a migrated thread and some comments may be shown as answers.

Data binding /web service or local db

1 Answer 51 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Doug
Top achievements
Rank 1
Doug asked on 06 Nov 2013, 03:34 PM
For those of you with experience with mobile apps and using dynamic data, what is the best practices approach to data binding.  Take a stock ticker, for example, there will be data changing constantly.  Is it better to query the new data via a web api, or web service, or download a snapshot of the data and use local sqlLite to render screens.  Thanks in advance?

1 Answer, 1 is accepted

Sort by
0
Ignacio
Top achievements
Rank 1
answered on 15 Nov 2013, 08:04 PM
I would say that if you want the chart to be continuously changing your best approach would be to use SignalR, as it will give you a persistent connection between your browser and your server and allow you to call javascript methods (like adding points to the chart) from your server into your browser. It was built specifically for dealing with scenarios like what you are describing. 
Tags
General Discussion
Asked by
Doug
Top achievements
Rank 1
Answers by
Ignacio
Top achievements
Rank 1
Share this question
or