DCSIMG
September 2009 - Posts - Essential XAML

September 2009 - Posts

3
Comments

WPF Performance Sweets – ContentControl (Part 2) by Tomer Shamam

Part 1 Yesterday I went back to my customer, tried to figure out if the whole concept of using data as the content of a ContentControl instead of holding a logical tree, is truly contribute to the whole system, and guess what? It is not! Well it figured out that setting the content property with non-visual element only postponed the tree-traversal. We figured this out by trying to measure the total elapsed time between setting the content property to null and up until the view completely disappeared...
תגים:, , ,
6
Comments

WPF Performance Sweets – ContentControl.Content = null by Tomer Shamam

Part 2 Background Yesterday I came back from my customers’ place. He had performance issues with his WPF composite application. Each time he navigates away from a page, he pays about 1400ms! – Playing around we’d found that each time a page was changed, the composite framework he uses replaces the old page with the new page by simply updating the ContentControl.Content (placeholder) with the new page. This operation solely took about 800ms! placeholder.Content = newPage; In this post I would like...
תגים:, , ,
13
Comments

UI Virtualization vs. Data Virtualization (Part 1) by Tomer Shamam

Part 2 Being an LOB, composite applications infrastructure junky lately, I’ve been working around with several data-binding models and mechanisms to bind the data with the view, in a very efficient way of course. Sometime it was easy, and sometime it was not! I have had to find several workarounds to overcome both architectural and performance issues. In this post I would like to concentrate on Data Virtualization, and to compare it with UI Virtualization, which are very similar, yet different aspects...
0
Comments

Tweet Me! first Spike by Tomer Shamam

I’ve published the Tweet Me! project and uploaded the spike for the Tweet Me! application. The project page: http://tweetme.codeplex.com/ The download page: http://tweetme.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=32384 Please leave comments if you have any suggestions or wishes. Enjoy!
1
Comments

<howto>Know that you're in design time mode</howto> by Tomer Shamam

When you write markup extensions, or any other control that may work differently at runtime then design time, you may want to check if you’re in design time to pick the correct logic. In WPF, you can call the DesignerProperties.GetIsInDesignMode   attached property. In Silverlight, you may use the HtmlPage.IsEnabled property. This will work from both Blend and Cider designers. Example: if ( DesignerProperties .GetIsInDesignMode(textBox) {    return "In Design Time Mode" ;...
2
Comments

Best Twitter Application for very fast Tweeting! by Tomer Shamam

Last weekend I’ve tried to find a very simple twitter application for sending messages very quickly over the twitter network,  so I’ve googled something like: “Best Twitter Application for very fast Tweeting” And not surprisingly I’ve got tons of twitter applications, but neither was simple to use nor suited to my needs. So I’ve decided to create another twitter application, were “very fast tweeting” is its main goal. So far I’ve created a new open source project in CodePlex , not yet published...
Powered by Community Server (Commercial Edition), by Telligent Systems