Browse by Tags
All Tags »
Performance »
C# (
RSS)
Please update your bookmarks, because the new url of this blog is http://khason.net/ (you have not update RSS feeds, it will be done automatically). Why I did it? Why I decided to go to “stand-alone”… Well. there are some reasons. Generally, I do not want to explain all those here, but trust me, there are some. The main reason is, that there is no responsible person in charge for this blog platform in Microsoft Israel. This why, if your blog is popular and you have a respect to your blog visitors...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/the-new-version-of-wpf-performance-profiling-tool-is-available-for-download/ ] Finally, after a long time of silence, the new version of WPF Performance Profiling Tool is available for download for x32 and x64 OSs. So, what’s new there? Ton of UI improvements for Visual Profiler New search function to quick find elements in visual tree Hot path (critical path) of CPU usage aside...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/developers-academy-3-vote-your-choice/ ] If you're "in" WPF and/or Silverlight development and want to learn more about high performance programming in WPF or your ability to develop once for WPF and Silverlight, you're invited to vote for my session in Dev Academy 3 and attend it: High performance programming with WPF in .NET framework 3.5 SP1 .NET 3.5 SP1 (Arrowhead...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/wpf-datagrid-ctp-is-here-it%e2%80%99s-also-open-source/ ] Huge amount of people asked me about DataGrid control in WPF. There are some 3rd parties providing this control for free and not, However, I always adviced them to wait until Microsoft will release it with (or after) Arrowhead . So here comes the King. Some boys and girls from MS WPF dev team have OS initiative and released WPF...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/net-35-sp1-is-rtm-and-available-for-download/ ] For all those who asked, .NET 3.5 SP1 is final and available for download. What’s inside? ASP.NET Dynamic data Core improvements for CLR A lot of performance improvements in WPF ClickOnce enhancements ADO.NET with Data Services and Entity Framework LINQ2SQL and Data Provider for SQL Server 2008, that was released last week WCF with easier...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/hlsl-pixel-shader-effects-tutorial/ ] Recently, I already wrote about PixelShader effects , introduced in .NET framework 3.5 SP1 (WPF). However it looks like for most people this syntax is still hard to understand. Today we’ll try to lean it more. In order to do this, I wrote small program, that helps you to write and debug pixel shader effects quickly. This how it looks like Hit Open...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/silverlight-accessibility-and-ceo-support-for-beta-2/ ] Yesterday, beta 2 of Silverlight was officially announced in TechEd Orlando. There are a lot of interesting changes. One of most significant changes, I want to notice and accessibility support in Silverlight. See yourself (if you do not know what this image about, see this post ) What should you do in order this to happen? Absolutely...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/just-released-parallel-extensions-%e2%80%93-june-ctp/ ] Today, Parallel Programming team released 2nd CTP for Parallel Extensions to .NET Framework 3.5. Major features in this CTP are declarative parallelist (LINQ-to-Object, LINQ-to-XML), parallel tasks and imperative data and, the most important (for me) – user mode work stealing scheduler. It makes very efficient use of parallel hardware...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/brightness-and-contrast-manipulation-in-wpf-35-sp1/ ] While being in flight, I had to learn new features, introduced in .NET 3.5 SP1. So, let’s start from image manipulation. I want to perform contrast and brightness manipulation in GPU over displayed image. In order to begin, you should download and install .NET 3.5 SP1 and Visual Studio 2008 SP1 . Meanwhile (it’s about 500 MB of download...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/how-to-addrangeremoverange-in-silverlight-observablecollectiont/ ] Someone in Silverlight forum asked for interesting question: “Is there any way that I can add/remove items in bulk from an ObservableCollection object?”. The “formal” answer is: “No, AddRange RemoveRange operators are supported for List<T> only collections, thus each time you want to add or remove items from ObservableCollection...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/performance-appliance-of-rendertargetbitmap/ ] Challenge : draw complicated Path and animate anything over it Problem : high CPU while animating object So, we got another challenge – draw Path object with thousand of points and animate another object over the Path by having least possible impact on CPU. What’s the problem? First of all, let’s create out XAML <Path Name="path"...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/webcam-control-with-wpf-or-how-to-create-high-framerate-player-with-directshow-by-using-interopbitmap-in-wpf-application/ ] Did you ever see, that MediaElement “eats” about 30% of CPU while playing movie in WPF? Did you thought, that you can display live camera capture in WPF with 60 fps full screen (I have really high resolution 1920x1200) and 2% of CPU? You did not? Let...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/parallel-programming-well-it%e2%80%99s-all-about-cpu-affinity-or-how-to-set-processor-affinity-in-wpf/ ] Parallel computing is very cool technology, that makes you able to leverage tasks between processors in your system. Today it’s already impossible to buy single processor computer – when you’ll buy new PC, you’ll probably get dual core CPU at least. Today we’ll...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/how-to-disconnect-ui-and-data-in-wpf-cachedobservablecollection-and-some-updates-regarding-threadsafeobservablecollection/ ] Sometimes, we want to "freeze" current displayed collection, while the original collection keep being updates. How to do it? There are some ways to get such functionality. One is to use CollectionView DeferRefresh method and release (dispose) it after...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/wpf-for-developers-from-dev-academy-2-recordings/ ] If you was unable to attend Developers Academy 2 and still want to see sessions there, you are more, then welcome to do it. Here link to the recording of my session . And here is the presentation . The quality of the recording is awful, as well as whole hosting site quality. It seemed like " Gisha Hadasha " has no QA and particle...
More Posts
Next page »