HOME SCALA & F# JAVA .NET WEB GROOVY & GRAILS ANDROID & IOS NOSQL ARCHITECTURE AGILE & SCRUM AGILE DEVELOPER  
Open Source .NET eXchange: David Ross on Aspect Oriented Programming with PostSharp
Aspect Oriented Programming with PostSharp
In this talk David will introduce Aspect Orientated Programming using the PostSharp.

The talk will:
  • Define AOP terminology
  • Demonstrate adding tracing to a component with PostSharp
  • Demonstrate adding validation to a component with PostSharp
  • Demonstrate how to break the build using PostSharp

    Review:
    In this talk, David Ross gives an introduction to PostSharp - an Aspect Oriented Programming (AOP) toolkit for .NET. AOP allows developers to reduce the level of duplication of code and allows code injection of duplicated code (such as for login functionality and logging). David introduces the concept of weaving which allows the injection of new code; PostSharp modifies the binaries and occurs either at compile-time or at run-time. David gives a demonstration of using PostSharp and how it can be used in a typical aspect. Also, one of the most useful functions of PostSharp is the ability to inject code based on a filter instead having to do everything manually. The next method introduced is how it can be used to inject validation code in order to keep the C# code clean and not complicated by long validation rules. In the final part of the talk, David explains how users can go about starting to use PostSharp. It certainly looks like a tool that might be worth looking into if you wish to clean up your code.

    Download the slides here!


ABOUT DAVID ROSS
David is a specialist in the design and implementation of n-tiered enterprise applications. He has designed a number of systems using both the...
More about David Ross
PODCAST ASPECT ORIENTED PROGRAMMING WITH POSTSHARP

This session took part at the Open Source .NET eXchange. You can view the other 7 podcasts here.
SPONSORS
Methods & Tools
Manning Publications Co.
Neuri Ltd
OpenSource.NET eXchange
PROGRESSIVE .NET PODCASTS
Gael Fraiteur:Multithreading beyond the lock keyword, Multithreading
Gael Fraiteur : 24th May 2012
View Podcast: Multithreading beyond the lock keyword,
Various Speakers:Community Retrospective on a Decade of .NET, Decade of .NET
Various Speakers : 17th May 2012
View Podcast: Community Retrospective on a Decade of .NET,
Oren Eini aka Ayende Rahien:Sharding And Scaling with RavenDB, Scaling with RavenDB
Oren Eini aka Ayende Rahien : 15th May 2012
View Podcast: Sharding And Scaling with RavenDB,
Phil Trelford:F# for Commodities Trading, F# Commodities Trading
Phil Trelford : 14th May 2012
View Podcast: F# for Commodities Trading,
Tomas Petricek:F# Domain Specific Languages for Finance , F# DSL
Tomas Petricek : 14th May 2012
View Podcast: F# Domain Specific Languages for Finance ,
John Zablocki:Developing with Couchbase, Developing with Couchbase
John Zablocki : 9th May 2012
View Podcast: Developing with Couchbase,
Chris Harris:MongoDB and Document Databases, Document Databases
Chris Harris : 9th May 2012
View Podcast: MongoDB and Document Databases,
David Mytton:MongoDB performance at scale, MongoDB performance
David Mytton : 9th May 2012
View Podcast: MongoDB performance at scale,
Chris Harris:Hands-on MongoDB, Hands-on MongoDB
Chris Harris : 9th May 2012
View Podcast: Hands-on MongoDB,
Oren Eini aka Ayende Rahien:RavenDB: A 2nd generation document database, RavenDB
Oren Eini aka Ayende Rahien : 9th May 2012
View Podcast: RavenDB: A 2nd generation document database,
Phil Jones:The challenges and rewards of using RavenDB, RavenDB: challenges & rewards
Phil Jones : 9th May 2012
View Podcast: The challenges and rewards of using RavenDB,
Oren Eini aka Ayende Rahien:RavenDB Crash Course, RavenDB Crash Course
Oren Eini aka Ayende Rahien : 9th May 2012
View Podcast: RavenDB Crash Course,
Ian Cooper:Huddle, Huddle
Ian Cooper : 23rd Apr 2012
View Podcast: Huddle,
Adrian Withy:Milliman, Milliman
Adrian Withy : 23rd Apr 2012
View Podcast: Milliman,
Michael Delaney:Elevate, Elevate
Michael Delaney : 23rd Apr 2012
View Podcast: Elevate,
OTHER PROGRESSIVE .NET EVENTS
Uncle Bob (Robert C. Martin):Uncle Bob's Advanced Test Driven Development in NYC,  Uncle Bob's Advanced Test Driven Development in NY
3 DAY COURSE. Featuring Uncle Bob (Robert C. Martin)
New York, Tuesday, May 29th
Progressive .NET Tutorials 2012, Progressive .NET Tutorials 2012
CONFERENCE (3 DAYS)
London, Tuesday, May 29th BOOK NOW!
2012 Progressive F# Tutorials NYC, 2012 Progressive F# Tutorials NYC
CONFERENCE (2 DAYS)
New York City, Tuesday, June 5th BOOK NOW!
Mark Rendle Zen and the Art of Software,  Zen and the Art of Software
FREE EVENT: In The Brain of Mark Rendle
London, Monday, June 11th
Jon Jagger:Jon Jagger & Kevlin Henney's Agile Development for Developers,  Jon & Kevlin's Agile Development Course
3 DAY COURSE. Featuring Jon Jagger
London, Monday, June 18th
Simon Brown:Simon Brown's Enterprise Software Developer,  Simon Brown's Enterprise Software Developer
3 DAY COURSE. Featuring Simon Brown
London, Monday, June 18th
QCon New York 2012, QCon New York 2012
CONFERENCE (3 DAYS)
New York, Monday, June 18th BOOK NOW!
David Laribee:David Laribee's Leading Lean/Agile Teams,  David Laribee's Leading Lean/Agile Teams
2 DAY COURSE. Featuring David Laribee
New York, Thursday, June 21st
© Copyright 2003-2011, Skills Matter Ltd
  Web development by You In Control
About Us  Jobs  Find Us  Meeting & Training Rooms  Newsletter  Jobs: Sales Executive  Jobs: Student SkillsCaster  jobs - junior event coordinator  Speed Coding 2011  Open Source Journal  Ticket Raffle  Agile Expert Series  Jobs: Sponsorship Development  jobs: Marketing & Sales Graduate Internship