Rx – for beginners (part 11): ObserveOn

Monday, March 29, 2010

Rx - for beginners (part 11): ObserveOn this post is the 11th 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 ObserveOn…   the code sample for this post can be found here.   sometime it is important that the observation will occurs on specific thread. for example GUI application like (WinForm, WPF and Silverlight) throw exception whenever UI component accessed on thread different than its creation thread.   ObserveOn...

recommending VS 2010 XAML IntelliSense Extension

Friday, March 26, 2010

recommending VS 2010 XAML IntelliSense Extension a pal named Karl had published a very useful plug-in to VS 2010. this plug-in is making Xaml writing so much better experience with enhanced IntelliSense.   if you doing some Xaml work using VS 2010 you should consider to download this plug-in. the download is available from the following link: http://karlshifflett.wordpress.com/2010/03/21/visual-studio-2010-xaml-editor-intellisense-presenter-extension/#comment-2228   Features Pascal case lookup Optional narrowing list filter Filtering based on item type xmlns IntelliSense options...
no comments

MEF for Beginner (Import from Xaml) – part 11

Saturday, March 20, 2010

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 {          public string Text1 { get { return "Hello world"; } }          public string Text2 { get { return "export using custom attribute"; } }...
no comments

Recommendation

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).
no comments

Rx – Reactive Extension – for beginners (part 2)

Monday, February 22, 2010

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 be pushed...
no comments

MEF for Beginner (repeatable metadata) – part 9

Friday, January 29, 2010

MEF for Beginner (repeatable metadata) - part 9 this is the 9th post of the MEF for Beginner series, the series TOC is available here. this post will focus on having repeatable metadata definition (cases like definition of multiple categories). if you not familiar with the MEF metadata concept you may want to read part 8.  Bad practice for repeatable metadata In order to explain repeatable metadata, we will start by decorating export with untyped metadata declaration (which consider as bad practice, use typed metadata whenever you...

MEF for Beginner (Metadata) – part 8

Wednesday, January 20, 2010

MEF for Beginner (Metadata) - part 8   this is the 8th post of the MEF for Beginner series, the series TOC is available here.   this post will focus on the basics of MEF metadata capabilities, the next post discuss the ability of multiple metadata decorations.   What is Metadata? metadata is piece of compile-time information that can be attached to exported part. metadata is adding peripheral information to the part, (metadata information may define which operation system supported by...
one comment

MEF for Beginner: TOC

Saturday, January 9, 2010

MEF for beginner is a blog series for developers that want to learn How To use the MEF (Manage Extensibility Framework) technology.   the following post is currently available for this series: Concept How To build your first MEF application Hello Silverlight A-sync Silverlight loading Import  Part Creation policy Recomposition policy  Metadata (part 1)  Metadata (part 2 – repeatable) Catalogs  Import from Xaml  Deployment Catalog   ...

MEF for Beginner – Part 3 (Hello Silverlight)

Saturday, December 19, 2009

MEF for Beginner – Part 3 (Hello Silverlight) in this post we will cover the basic steps that is needed for building your first Silverlight MEF application. you can find more about the MEF on part 1, part 2 of this series, the series TOC is available here. the following instructions will lead you through very simple steps of building simple Silverlight shell application that can consume plug-ins. this post is written on Visual Studio 2010 and Silverlight 4.0 (using Visual studio 2008 and Silverlight 3 will need some minor modification...
one comment

MEF Recomposition

Thursday, November 5, 2009

thinking about MEF as another IoC container led us into misconception. MEF design goal was being a generic extensibility infrastructure, its just happens that it overlap with the IoC world (and yes it has most of the IoC feature). this post address the challenge of building extensions over none CLR types (like image files) from the technical perspective it will discuss the following techniques: Building Export Providers Design recomposable extensions Creating DataSourceProvider (which will used for WPF...
tags: ,
one comment