Posted By: ajoy krishnamoorthy | Feb 27th @ 10:17 AM | 51,333 Views | 16 Comments

In this 4 part series, Bob Brumfield and Erwin van der Valk from patterns and practices shows you how to build a modular application using the recently released Composite Application Guidance for WPF and Silverlight - February 2009 (also known as Prism V2).  

Part 4. Decoupled Communication:

This webcast demonstrates how to communicate between the different modules.

What is Prism v2? Watch this video.

Bob Brumfield and Erwin van der Valk are both Software Development Engineers at Microsoft patterns & practices and have both worked on the Prism V2 project.

Rating:
2
0

Hi there, im watching video by video in this series and WOW this is good stuff, prism really rocks!!!

However, im wondering if anyone have a good solution to the following problem / enhancement:

When the user clicks on the search button i want to change the cursor to waiting / time glass and when the search is actually finished, make sure that the cursor is changed back to the default "arrow".  This problem i guess also could be extended to a bigger challenge, how to show to the user of progress of a operation, e.g a download progress with procentage indicator.

Considering best practices, to always indicate the end user of progress or in this case to prevent the user to click multiple times when a search is ongoing i guess it can not only be me wondering of these things, or what?

Dont we need a reference to the window to set the cursor in such a case?

Any solution or start of discussion appreciated!!!

Niclas

How would you use Prism in a Silverlight application with multiple pages where there's the need to navigate between them?

Hi, great videos! Really help me to begin to understand the basic concepts of Prism.

 

Of course in Silverlight 3 we don't need to use that Title property of the SearchViewModel for binding the search command parameter with the TextBox text. We can now use element to element binding directly. Cool!

@RockyLiu

 

So , using the command parameter is not needing for this example? If I understand correctly, we can now bind the text of the TextBox to the property in the ViewModel and we just use the value of the property in the handler of the command. Is that right?

 

 

 

I also have a question for those more familiar with Prism than me:

 

How can I bind a command to the TextChanged event of a TextBox? (instead of the Click of a Button, which is illustrated in the video)

Thanks.

yeah that is what i was looking for and i think it should be at prominnet place i was looking around but after no results i turn on to my work of insurance services and i would see if you can present at some common palce.

Thanks for Prims videos i was in trouble to solve that problem and when i see them they become easy for me,  thanks for doing nice job, now i can feel relax and back to work of insurance service, i would return here to read you more. as you have done a great job.

I really enjoyed the videos.  This will replace some home-grown stuff I have written for Silverlight.  I was interested in downloading the sample application from the video.  Is this code available?

Microsoft Communities