Microsoft   |   patterns & practices   |   Developer Network   |   Enterprise Library   |   Acceptance Testing Guide   |   Personal Site

Interception in Silverlight demo - Grigori Melnik: Thoughts on Agile Software Engineering and Beyond - Site Home - MSDN Blogs

Interception in Silverlight demo

Interception in Silverlight demo

  • Comments 1

UnityInterception Interception has been released as a Unity container extension since v1.2 (October 2008). However, it was not available on Silverlight. Until now.

In this Channel9 screencast, we discuss interception as a code modularization technique for dealing with cross-cutting concerns.  We contrast 2 types of interception - instance and type interception.

Using the newly implemented interception support provided by the Silverlight Integration Pack, we show a virtual method interceptor in action (which can intercept any methods declared virtual on your type).  We also show the nuts and bolts of implementing custom interception behaviors and connecting them into a chain-of-responsibility.

Though the demo targets Silverlight, it can also be helpful for those learning how to take advantage of Unity Interception in their desktop CLR apps.

See also: sample code used in the screencast, other Silverlight Integration Pack demos.

Comments
  • Just.....Awesome, let me try

    thanks so much  for helpful demo....

Page 1 of 1 (1 items)
Leave a Comment
  • Please add 6 and 8 and type the answer here:
  • Post