Solved

MVC pattern with silverlight

Posted on 2010-09-02
6
552 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Not showing JavaScript in the list 5 37
Run time Error 4 34
use of unassigned local variable 'id' 6 21
How can my static class become undefined?? 8 13
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 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

20 Experts available now in Live!

Get 1:1 Help Now