Solved

MVC pattern with silverlight

Posted on 2010-09-02
6
555 Views
Last Modified: 2013-11-12
I want to create a silverlight application with the mvc model.  Now whats so specific about this is that I want each view to see the exact same thing, so when a user changes something on one viewer, all the viewers change.  I am currently unsure on how to set it up but that is the only requirement I have.  I am also hosting it in IIS7.0 and have silverlight 3.  
0
Comment
Question by:htn5ca
  • 3
  • 3
6 Comments
 
LVL 4

Expert Comment

by:codenhack
ID: 33594098
Hi,
I am not sure as to why do you want to go ahead with MVC model when the recommended way of developing Silverlight application is using MVVM Pattern.
Anyways you can achive your goal by using databinding. Using databinding you could bind one control to another or to a collection or to an XML. ALso i would suggest you to use Silverlight 4 as it has command support.
If you have any more query please let me know.
0
 

Author Comment

by:htn5ca
ID: 33599187
Ok I didn't know about the MVVM pattern.  So can I achieve what I originally wanted with this? (ie: whatever brower is open will have the same set of data from the silverlight service).

if so could you post some examples or links?  thank you very much
0
 
LVL 4

Expert Comment

by:codenhack
ID: 33599280
So what i understand is:
User is browsing your application and and he goes to some page or something. Then he opens a new explorer and browses your application then you want the user to see the same page/data which he sees on the other window.
Let me know if i am correct....
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:htn5ca
ID: 33599443
Yes exactly.  Or kind of the same scenario if two users open the same page, and one of them changes data, the other user should experience the same data change.  
0
 
LVL 4

Accepted Solution

by:
codenhack earned 500 total points
ID: 33599543
I guess this will give you a head start on what you want to do
http://www.codeproject.com/KB/silverlight/NotifySilverlightAppFrmDB.aspx 
0
 

Author Closing Comment

by:htn5ca
ID: 33601095
perfect! i'd give you a 1000000 points if i had them
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question