|
|
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.
|
|
|
PROGRESSIVE .NET PODCASTS
|
OTHER PROGRESSIVE .NET EVENTS
|
ThoughtWorks Quarterly Briefings
FREE EVENT:
Is programming language choice
Manchester, Monday, February 13th
|
|
ThoughtWorks Quarterly Briefings
FREE EVENT:
Is programming language choice
London, Thursday, February 16th
|
|
Udi Dahan's NServiceBus Workshop
4 DAY COURSE. Featuring Andreas Ohlund London, Monday, February 20th
|
|
Putting your events on a diet
FREE EVENT:
In The Brain of Andreas Ohlund
London, Monday, February 20th
|
|
Neo4J User Group
FREE EVENT:
Neo4j in .NET
London, Wednesday, February 22nd
|
|
Ayende Rahien's RavenDB Workshop
2 DAY COURSE. Featuring Itamar Syn-Hershko London, Tuesday, February 28th
|
|
RavenDB indexes explained
FREE EVENT:
In The Brain of Itamar Syn-Hershko
London, Tuesday, February 28th
|
|
Jon & Kevlin's Agile Development Course
3 DAY COURSE. Featuring Jon Jagger London, Monday, March 5th
|
|
|
|