1
vote
2answers
2k views

Creating controls dynamically in the code-behind or ViewModel?

Right now I'm working migrating an app I made entirely using code behind to MVVM and had a question on where I'm supposed to be creating controls dynamically. Basically I have a web service that ...
19
votes
3answers
10k views

Who should control navigation in an MVVM application?

Example #1: I have a view displayed in my MVVM application (let's use Silverlight for the purposes of the discussion) and I click on a button that should take me to a new page. Example #2: That same ...
15
votes
5answers
3k views

Are value converters more trouble than they're worth?

I'm working on a WPF application with views that require numerous value conversions. Initially, my philosophy (inspired in part by this lively debate on XAML Disciples) was that I should make the view ...
1
vote
2answers
3k views

Silverlight 5 and MVVM. Do I really need other frameworks? What is the best way for rapid development?

I've been reading and watching videos on MVVM and Silverlight.. I'm pretty new to Silverlight but not new to .NET. Interesting that I used MVVM in my WPF apps without knowing that it's MVVM. I was ...
32
votes
10answers
15k views

When does implementing MVVM not make sense

I am a big fan of various patterns and enjoy learning new ones all the time however I think with all the evangelism around popular patterns and anti-patterns sometimes this causes blind adoption. I ...
3
votes
4answers
2k views

Has the MVVM pattern been adopted widely in real world Silverlight projects?

MVVM pattern is a hot word recently and I am planning to learning and refactor my existing project into this pattern. I have no experience and foresight of the potential risk. Have you guys really ...
6
votes
3answers
616 views

What are the rules for coupling a ViewModel and a View in the MVVM pattern?

So given the Separation of Concerns, how coupled should the View and ViewModel be? For example, I want the visibility of a Control in the View to be databound (databinded?) to a flag in the ...
0
votes
2answers
384 views

What is the most pragmatic & basic UI pattern to follow for Silverlight and/or WPF

Here is the context. The apps will: consume existing (and standard) web services. app is UI intensive (UI updated frequently and lot of data to display). development team experience level is ...