Apr 13, 2012

PostSharp

http://www.sharpcrafters.com/

Aspect-oriented framework for .NET.

Name: OnExceptionAspect
Level: method
Note: exception handling in a marked method

Name: OnMethodBoundaryAspect
Level: method, class, assembly
Notes: intercepts certain points in a method’s execution: OnEntry, OnExit, OnSuccess, OnException

Name: MethodInterceptionAspect
Level: method
Notes: replaces method's contents that can be invoked
Example use: wait/retry, automatic thread delegation, lazy loading and validation

Name: LocationInterceptionAspect
Level: field, property
Notes: OnGetValue and OnSetValue
Example use: lazy loading, IoC Resolution

 

Subtle Patterns

http://subtlepatterns.com/

Cassette

http://getcassette.net

Bundle and minify scripts and stylesheets.

Reference files in javascript files to be automatically included (with intellisense in VS):
 /// <reference path="jquery.js"/>