Browse by Tags

All Tags » DEV (RSS)
MEF for Beginner (Import from Xaml) - part 11 this is the 11th post of the MEF for Beginner series, the series TOC is available here . this post will focus on Importing mef parts directly from the Xaml . the code sample for this post is available here .   assuming that we have the following exports : Code Snippet class DemoStrings {     [ Export ( "MyTag" )]      public string Text1 { get { return "Hello world" ; } }     ...
Recommendation   this is a post recommendation about using Rx framework with WPF events , I'm recommending this post from bobby's blog , the post is demonstrating the use of creating observable stream from WPF event. it is a short post with nice little code sample . bobby did a real good job by wrapping the observable event ( Observable.FromEvent ) into more human readable format (using T4 template).
Posted by bnaya | with no comments
Rx - for beginners (part 10): Concat expression this post is the 10th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here . in this post we will focus on the Concat expression.   the code for this post can be download from here .   What does it do? the Concat expression is used to concatenate one Observable stream into the end of another Observable stream. once the first Observable stream is completed the the concat stream will be immediate subscribed...
New release of Rx is available for download. the Rx team has new release for .NET 3.5, .NET 4.0 RC, and Silverlight 3. you can download the library from here .   the release includes some API changes, some APIs has moved into different assemblies, performance and bug fixes.   Highlights Moved IObservable & IObserver to seperate assembly: System.Observable.dll . Moved Schedulers to System.CoreEx.dll . Moved schedulers to System.Concurrency . Added schedulers to subjects . Removed deadlocks...
Rx - for beginners (part 9): Hot Vs. Cold observable this post is the 9th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here . in this post we will focus on the Hot Vs. Cold observable stream.   the code for this post can be download from here .   If a tree falls in a forest and no one is around to hear it, does it make a sound? if it do make a sound when nobody observed it, we should mark it as hot , otherwise it should be marked as cold .  ...
Rx - for beginners (part 8): Combine Latest expression this post is the 8th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here .   in this post we will focus on the Combine Latest expression. the code for this post can be download from here .   What does it do? like the zip expression the Combine Latest expression is used to synchronize 2 IObservable streams into single IObservable stream. unlike the zip expression the Combine Latest doesn't...
Rx - for beginners (part 7): Zip expression this post is the 7th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here .   in this post we will focus on the Zip expression. the code for this post can be download from here .   What does it do? the zip expression is used to synchronize 2 IObservable streams into single IObservable stream.   How does it do it? it is taking the first observed value on either of the stream and wait for value from the...
Recommending on a blogger I just discover a blogger that you may want to pay attention to: his blog has some short tips on new little features that were added to VS 2010 . among his tips are: String.IsNullOrWhiteSpace SortedSet<T> Addition to Environment.SpecialFolder enum want to read more? register to his blog at http://blogs.msdn.com/wriju/default.aspx
Posted by bnaya | 1 comment(s)
תגים:, ,
Rx - for beginners (part 6): Merge expression this post is the 6th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here . in this post we will focus on the Merge expression.   What does it do? the merge expression is used to merge multiple IObservable streams into single IObservable streams. the marble diagrams of merge expression will look as follow: each value on the source streams is project into the result stream until all the source streams complete...
Rx - for beginners (part 5): marble diagrams, select and where this post is the 5th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here .   this post will focus on marble diagrams which is used for visualizing IObservable stream . on this post we will visualize the select and where clause, while in the upcoming posts we will discuss other operations that can be used to upon IObservable streams .   the code sample for this post is available here ....
Rx - for beginners (part 4): anonymous observer handler this post is the 4th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here .   this post will focus on anonymous observer handler. the code sample for this post can be download from here .   Anonymous Observer as we mention on the previous posts, IObserver is used as a callback interface which can be subscribe to the IObservable , but this is a bit of overkill, when what we subscribe is relatively...
MEF Preview 9 was released   MEF   preview 9 changes will be reflected the in the release of .NET 4.0 and Silverlight 4.0 .   except from bug fixing, there was some changes to the API , most of the changes is related to  System.ComponentModel.Composition.Initilization.dll , which is not yet available only for none Silverlight application :-(   here is a short list of API changes: PackageCatalog were brought back, and changed it name to DeploymentCatalog . PartCreator was...
Rx - for beginners (part 3): IObservable Vs. IEnumerable this post is the 3rd in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here . this post will focus on how exactly the IObservable / IObserver mirror IEnumerable / IEnumerator .     IEnumerator operations IEnumerable expose the following operations: Code Snippet public interface IEnumerator <T> : IDisposable , IEnumerator {     T Current { get ; } } public interface {     ...
Rx – Code cartoon   the following cartoon emphasis the Rx – IObservable push nature against the pull nature of IEnumerable .     Summary Reactive approach can reduce your phone bill :-)     תגים של Technorati:‏ IObservable , IObserver , Rx  
Posted by bnaya | with no comments
Rx - Reactive Extension (part 2) this post is the second in a series of posts about the new Reactive Framework ( Rx ). the previous post discuss the concept of Rx (Reactive Framework Extension) , this post will focus on some basic practice.   In this post we will create small WPF application that got images from different image feeds providers (the source code can be found here ).   Application layout The application layout is described in the following diagram.   the image data will...
More Posts Next page »