Solved

MVC pattern with silverlight

Posted on 2010-09-02
6
556 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

789 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