Solved

MVC pattern with silverlight

Posted on 2010-09-02
6
547 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

760 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now