AOP from Microsoft

About a week ago, news from the Enterprise Library team that there will be a new application block know as Policy Injection Application Block. Basically this AB behaves as a AOP framework. I won’t call this a AOP framework as yet (althought there are similarity) until the AB is release later. Edward Jezierski posted an architecture overview of PIAB here.

Currently I am testing out Puzzle’s NAspect for my projects. I had look at Spring.NET, Castle and Aspect.NET (Aspect.NET has got help from Microsoft Research and they use the Pheonix framework) and one advantage of Puzzle is its “light weightness” without loading the whole framework. With the source code provided I can trim down the assembly and embed it into my projects.

One thing I favors in PIAB is the use of attribute in the rules condition, ie. apply the handlers to all method with a tag [Tag(“Audit”)] instead of checking for class & method name signature. Althought PIAB will have function for both methods, which gives users more flexibility.

Yet to see is how to put a AOP/ PIAB handler on web application especially presenter classes created using Web Client Software Factory and Web Services Software Factory. As pointed out by Patrik Löwendahl in his blog there might be some obstacles using this because most AOP framework make use of remoting proxy class (such as Puzzle’s NAspect and PIAB). This is one area I will do some research when PIAB comes out to test out how WebSF work with PIAB.

WF Act and App Samples

The WF team in Redmond has released a zip file of sample workflow applications and activities. Some of them incl:

  1. OutlookWorkflow App
  2. Speech Workflow App
  3. Active Directory Roles
  4. User Track Points
  5. Email sending Activity
  6. File Monitor Activity

You can get it here.

Office 2007 Installation Experience, Part 1

1. Installing Office 2007

Office installation in progress

2. Office Install Complete

Office installation completed smoothly.

3. Opening Word 2007

 New yellowish splash screen for Office 2007

4. Office 2007 Activation

Activation screen.

5. Office Activation Success

Activation succeeded

6. The Office Button

Ribbon base interface for Word, Excel, Access and Power Point. No changes since Beta 2  TR. Do note the new Office spots the Office button like Windows’ Start button

7. Office Button Menu

The Office Button opens up a menu meant mostly for file operations

Continue…