Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MVC pattern with silverlight

Posted on 2010-09-02
6
Medium Priority
?
562 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

722 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