Skip to main content

Home/ Coders/ Group items tagged AOP

Rss Feed Group items tagged

Joel Bennett

PostSharp brings AOP to .NET - 0 views

  •  
    PostSharp Laos is a post-compiler, MSIL injecting, high level aspect oriented programming weaver.  It looks amazing, and has been integrated with the .Net Enterprise Library 3.0 via the Enterprise Library Contribution project.
  •  
    With PostSharp, you can encapsulate aspects as custom attributes.
Joel Bennett

CThru and SilverUnit - CodePlex - 0 views

  •  
    One word of caution: the "Typemock Isolator for Open Source" edition is only free to use for developers of open source projects. For Commercial users of any open source project that uses Typemock , it is not free...
Joel Bennett

Managed Extensibility Framework - Home - 0 views

  •  
    The Managed Extensibility Framework (MEF) provides developers with a tool to easily add extensibility to their applications and with minimal impact on existing code.
Joel Bennett

Unity Application Block - 0 views

  • To raise awareness of the need to maximize testability when designing applications
  • implement attribute-driven injection for constructors, property setters, and methods
  • allows developers to specify dependencies at run time or in configuration and simplify management of crosscutting concerns
  •  
    The second goal they cite is: To raise awareness of the need to maximize testability when designing applications.
  •  
    Unity (or mor formally, the Unity Application Block) is a lightweight, extensible dependency injection container from Microsoft with simple support for the basics of Inversion of Control and Dependency Injection, including implementing attribute-driven injection on constructors, property setters, and methods...
Joel Bennett

Detours - intercepting Win32 functions - 0 views

  • Transactional model for attaching and detaching detours.
    • Joel Bennett
       
      Transactional ... aspects. This is crazy impressive.
  • Detours is a library for instrumenting arbitrary Win32 functions on x86, x64, and IA64 machines. Detours intercepts Win32 functions by re-writing the in-memory code for target functions. The Detours package also contains utilities to attach arbitrary DLLs and data segments (called payloads) to any Win32 binary.
  •  
    Detours is a Microsoft Research project which exposes a transactional model for intercepting arbitrary Win32 functions by rewriting the in-memory code and attach an arbitrary payload to any binary.
Joel Bennett

PostSharp for Enterprise Library - Enterprise Library Contrib - 0 views

  •  
    This addon to the enterprise library allows you to combine PostSharp's compile-time weaving with the Policy Injection application block (PIAB) to remove some of the limitations of the PIAB with regard to performance and remoting proxies...
Joel Bennett

Policy Injection Application Block Validation and Logging Examples - 0 views

  •  
    David Hayden writes a couple of tutorials and gives some explanation of how the Policy Injection Application Block in Enterprise Library 3.0 really is Aspect Oriented Programming ... and there's a good screenshot there of the various "matching rules" ...

    It's kind of a shame that Microsoft couldn't bring themselves to use AOP terminology to describe this: weaving instead of "injection" ... etc.  It would really have made it easier to follow for the new users and would have lent some validation to AOP research and development

Joel Bennett

Policy Injection App Block - Behind the Scenes - 0 views

  • We use an interception mechanism to get in the way of calls going to that member, collect a list of policies that apply using a matching rules mechanism, run the chain of handlers specified by those policies in a chain of responsibility and at the other end dispatch the call to the target. Once the target is done - successfully or with exceptions - the stack unwinds, returning through each handler and finally back to the caller.
    • Joel Bennett
       
      So we can only advise "before"
  •  
    Very good read (particularly their evaluation of weaving methods).

    Although as a result their "Policy Injection" application block isn't as powerful as most of the straight-up AOP toolkits out there, it does have a *huge* upside: not only is the code produced by this supportable by Microsoft Product Support, it's now officially part of the Patterns and Practices recommendations!



    The down side is that the only injectable objects are ones created through a "Factory" method (you can't just use the *new* constructor) this brings some performance hits ... but then, you get the ability to separate concerns and apply policies and even business rules after the fact!

Joel Bennett

Announcing the Policy Injection Application Block - 0 views

  •  
    AOSD tools from Microsoft? 

    QUOTE: "the Policy Injection Application Block will simplify the separation of
    business logic from cross cutting concerns, by letting you define
    policies and the objects/methods they apply to in a declarative way."  -- if that's not Aspect Oriented, then I must have wasted my time in school ;-)
Joel Bennett

Home :: Castle Project - 0 views

  •  
    Castle is an open source project for .net which includes a MVS framework, a data-mapping framework for NHibernate, and an Aspect Oriented Programming framework (Aspect#)
  •  
    Visit News www.killdo.de.gg. How to make the 1000 visitor from PR9 backlinks. Buy cheap service www.fiverr.com/radjaseotea/making-best-super-backlink-143445
1 - 11 of 11
Showing 20 items per page