What is the best way to push database changes to silverlight ui using net.tcp communications? Sql Notifications? query notifications, clr triggers? or just poll the database every so many seconds?? And would net.tcp be the solution?
best way to push database changes using net.tcp communicationa and silverlight
438 Views Asked by alpha At
1
There are 1 best solutions below
Related Questions in DATABASE
- When dealing with databases, does adding a different table when we can use a simple hash a good thing?
- How to not load all database records in my TListbox in Firemonkey Delphi XE8
- microsoft odbc driver manager data source name not found and no default driver specified
- Cloud Connection with Java Window application
- Automatic background scan if user edit column?
- Jmeter JDBC Connection Configuration Parametrization of Database URL for accessing SQL Database
- How to grant privileges to current user
- MySQL: Insert a new row at a specific primary key, or alternately, bump all subsequent rows down?
- Inserting and returning autoidentity in SQLite3
- Architecture: Multiple Mongo databases+connections vs multiple collections with Express
- SQL - Adding a flag based on results within a query - best practice?
- Android database query not returning any results
- Developing a search and tag heavy website
- Oracle stored procedure wrapping compile error with inline comments
- Problems communicating with mysql in php
Related Questions in SILVERLIGHT
- How to Integrate Snapdeal affiliate api in asp.net application
- How to convert a List<string> to an IEnumerable<ServiceReference.datatable> C# Silverlight WCF RIA Services LINQ to SQL
- Silverlight doesn't have a Uri.IsLoopback property
- Silverlight Nested Custom Controls results in StackOverflowException
- Bootstrap dropdown menu hiding behind Silverlight application embedded using iframe
- Binding BitmapImage to Image on ListBox doesn't work
- Could not load type 'Telerik.Windows.Documents.Packaging.DeflaterOutputStream'
- Insert a blank row into a Datagrid with dynamic columns
- String to Double Conversion (Comma to dot issue)
- Embedded resource image is adding a white dot to my image
- do you have any solution to reduce the build time?
- Style vs inline property setting in silverlight with a custom control
- How Does the Silverlight Client Talk to the Server in a 3 Tier Lightswitch Application?
- Problems to retrieve Image from SQL Server in Silverlight
- Bind DataGrid to List<Dictionary<string,string>>
Related Questions in NET.TCP
- Host WCF service with net.tcp binding in IIS in Azure
- MONO WCF Self-Hosted Service Pair getting Connection reset by peer when using net.tcp
- best way to push database changes using net.tcp communicationa and silverlight
- Unable to access over a network using WCF
- net.tcp hosted in IIS7.5 on windows 7 virtual machine using .NET 4.0
- I can't access wcf service using net.tcp://<servicename>
- Error while adding service reference to client WCF
- Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding. Registered base address schemes are [http]
- There was no endpoint listening at net.tcp://url that could accept the message. This is often caused by an incorrect address or SOAP action
- Can I use net.TCP along with GZip technology in WCF
- Host multiple services in same Application using IIS 7.5
- How to configure net.tcp binding for client in WCF
- Port Sharing Enabled Issue with a WCF Net Tcp Service (windows host)
- WCF net.tcp communication error
- WCF Transport Windows Authentication with NET.TCP only works locally
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
See my answer to a very similar question here. Basically, it all depends on what your needs are. The simplest way would be to just poll the database. That may meet your needs if timing and/or performance and/or complexity aren't critical. But if you need a more scalable solution, then you probably want to use something like a SqlDependency object.
Once you know what data has changed, then yes, you would presumably send out notifications to the clients over a Net.TCP or HttpPollingDuplex binding.
And once the client has received its notification, then you'll need to implement a translation layer between the notification and the model and/or view model that's sitting behind the UI. There's no special magic here, just some careful coding to make sure that everything stays in sync.
Once the model/viewmodel is updated, you'll finally get to the point where XAML databinding will show its value, but unfortunately, that's only the last part of the solution.