Monday, July 9, 2007

Links for 2007-07-09

MSDN Articles
  • System.AddIn namespace in Visual Studio Orcas
    • CLR Inside Out: .NET Application Extensibility
    • CLR Inside Out: .NET Application Extensibility, Part 2
      • I think the key to understand the mechanism is to understand the interaction between the components, as described in the following paragraph,
        ..., it first creates the AppDomain that the add-in is going to run in and then loads the add-in, add-in view, add-in side adapter, and contract assembly into the newly created domain. ... Next, the system instantiates the add-in with its default constructor and the add-in adapter and passes the add-in, typed as the add-in base, to the adapter's constructor. Then it passes the add-in adapter across the AppDomain boundary typed as its contract, loads the host-side-adapter assembly, and instantiates an instance of the host adapter, passing the add-in adapter, typed as the contract, to its constructor. Finally, it returns the host-side-adapter to the host, typed as the host add-in view.
Sample Chapter
  • Beautiful Code
    • Chapter 4 - Finding Things : The author demonstrated text searching technique using regular expression in Ruby and binary search algorithm in Java.

No comments: